--
You received this message because you are subscribed to a topic in the Google Groups "Warp 10 users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/warp10-users/Du8YZ8zHJNM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to warp10-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/warp10-users/66fa13a6-8655-47b2-8c76-2bbf0a8a76d9%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to warp10-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/warp10-users/66fa13a6-8655-47b2-8c76-2bbf0a8a76d9%40googlegroups.com.
--Aurélien HÉBERT
To unsubscribe from this group and all its topics, send an email to warp10...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/warp10-users/66fa13a6-8655-47b2-8c76-2bbf0a8a76d9%40googlegroups.com.
--Aurélien HÉBERT
Search returned AAA results in BBB ms, inspected CCC metadatas in DDD classes (EEE matched) and performed FFF comparisons
Search returned 27 results in 183.488054 ms, inspected 182304 metadatas in 1 classes (1 matched) and performed 546912 comparisons
what is the load average on your Directory? What is the time a /find request actually takes (the path is slightly different so result may give some additional infos).
java -cp warp10/build/libs/warp10-x.y.z.jar:. DirectoryStreamClient "{ 'urls' [ 'http://HOST:PORT/directory-streaming' ] 'psk' 'HEX ENCODED PRESHARED KEY' 'class' [ 'CLASS_SELECTOR' ] 'labels' [ { /* LABEL SELECTOR */ } ] }"
It will output the list of fetched GTS (their Metadata) and the time taken for the request in ns.
This should help you determine if the Directory instance itself is the bottleneck of something else down the line.
I run this test and I have the following result:
- Retrieving 1 series takes 6269551620 ns (6 s)
- Retrieving all 14 series takes 197156864266 ns (3m 17s), I had to use a regular expression as I couldn't specified several classes (may be that's why it's a bit slower that previous find queries).
However I didn't get 1 or 14 series as result but 3 and 42.
This test leads me to think that the bottleneck is related to the directory component or at least our directories architecture. In production we have:
- 6 directories
- 3 replicas
- 2 shards per replica
- Between 210 and 230 millions of series per directory