提问要多花一点心思哦

Elasticsearch 线程池问题

Elasticsearch | 作者 Tsukiand | 发布于2019年09月12日 | 阅读数:2112

ES版本: 6.7.2
 
最近在看ES 的thread_pool的配置,然后这里有两种thread_pool感觉有点不清楚:
Write:For single-document index/delete/update and bulk requests.
index:For index/delete operations.
我感觉这两个线程池是不是有重合的地方,还是我理解的不对。然后我在网上找了区别:


In 6.x the WRITE threadpool is used for shard-level bulk and resync replication operations. The INDEX threadpool is used for other update, delete, and indexing operations.


上面的解答和我的理解有点不一样,所以请教一下各位。
已邀请:

Ombres

赞同来自: Tsukiand heli

write 在6.3版本之前叫bulk,主要就是处理bulk 和 resync 请求,也就是批量处理
 
index 是处理 单文档的 增删改  
 
7.0的时候把index去掉了,因为这个版本以后单文档的请求也通过bulk执行

要回复问题请先登录注册