taosdata/TDengine

execution time increases when using a thread pool for concurrent queries but remains normal when using a for loop

Open

#28.947 aberto em 27 de nov. de 2024

Ver no GitHub
 (2 comments) (0 reactions) (1 assignee)C (5.002 forks)batch import
help wantedquestion

Métricas do repositório

Stars
 (24.849 stars)
Métricas de merge de PR
 (Mesclagem média 1d 1h) (4 fundiu PRs em 30d)

Description

  • server版本:3.3.3.0 ,3节点

  • jdbc驱动版本:3.4.0,驱动类型:com.taosdata.jdbc.ws.WebSocketDriver

  • nginx 配置截图: image

  • 数据库连接池截图,最小100个连接: 1732699526(1)

  • 线程池配置截图,核心线程100个: image

  • 代码截图: image

  • 线程池执行耗时: image image image

  • for 循环执行耗时: image

单次大概有84个查询,多次对比查询均如此,线程池检索的耗时会逐渐增加

Guia do colaborador