I searched for this information all over the site and the old/new
mailing list and I could not find anything specific, explaining the
multi threading model for the indexing/querying.
Could you guys provide more information on the multi-threading model
of Elastic Search:
(1) at query level : one thread/query/shard?
(2) at indexing level : one thread/shard?
Yes, the threading model is one thread per shard (for search and indexing).
Note, threading model is also important network systems, which is how do you
handle threads while doing remote calls. elasticsearch, in this regards, is
evented, which means there is no thread blocking waiting for responses from
another node (For example, when doing index replication, or distributed
search across several nodes).
I searched for this information all over the site and the old/new
mailing list and I could not find anything specific, explaining the
multi threading model for the indexing/querying.
Could you guys provide more information on the multi-threading model
of Elastic Search:
(1) at query level : one thread/query/shard?
(2) at indexing level : one thread/shard?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.