Hey,
My elasticsearch cluster has 1 node with 3 processors, 32gb ram memory, 24 index with 1 shard each.
Thread pool queue size = 1000
how many concurrent search requests my cluster can handle?
How can I increase the concurrent requests and thread pool size?
The default threadpool sizes are generally good, so increasing them may not alleviate performance issues. If you do not have enough system resources in terms of CPU cores or storage IOPS, splitting CPU resources across more threads may actually decrease performance.
What is the total size of the 24 indices? Are queries searching only a small subset of these indices? Do the indices hold different types of data?
yes indices contains different types of data.
Total index size will be approx - 2-3 GB data.
Is the size of the 24 indices 2-3 GB in total size or around 2-3 GB each?
Are there mapping conflicts across the indices or would it be possble to merge some of them?
How many indices does each query on average search?
If you want to serve a alarge number of concurrent queries it is important to try and minimise disk I/O. Ideally your full data set should fit in the operating system page cache, and to get to this point you may want to reduce the heap size from the default 50%, but make sure you have enough spare room for your queries so you do not suffer from long or frequent GC.
If your queries are searching many indices you may also want to look into comnining indices to reduce this as this will reduce the number of slots in the queue each query takes up.
2-3 GB in total.
yes all my indices contains the same mapping. so i can merge it to 1 index with 1 shard allotment.
If your queries target more than one index I would merge them into a single shard. The sizeyou specified is small enough so it fits in the page cache without changing the heap size.
If you do this I would expect you to be limited by CPU. Increasing the number of threads will in that case likely not improve performance, so if you are not able to handle the number of concurrent queries you need to support you may need to allocate more CPU.
ok got it.
Thank alotss for helping out.