1.线程池查看
GET /_cat/thread_pool/search?v&h=node_name,active,queue,rejected,completed,largest,type&s=node_name


2.修改线程池为固定的线程池 
vi elasticsearch.yml 

indices.memory.index_buffer_size: 30%
thread_pool.search.size: 50
thread_pool.search.queue_size: 1000
thread_pool.write.size: 50
thread_pool.write.queue_size: 1000
thread_pool.get.size: 50
thread_pool.get.queue_size: 1000
indices.fielddata.cache.size: 70%

配置后,并发数从250,达到500;双节点WEB端压测达到1000TPS;

Logo

火山引擎开发者社区是火山引擎打造的AI技术生态平台,聚焦Agent与大模型开发,提供豆包系列模型(图像/视频/视觉)、智能分析与会话工具,并配套评测集、动手实验室及行业案例库。社区通过技术沙龙、挑战赛等活动促进开发者成长,新用户可领50万Tokens权益,助力构建智能应用。

更多推荐