V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
JasonLaw
V2EX  ›  编程

如何设置数据库连接池的大小? HikariCP 文档中的 effective_spindle_count 是什么?

  •  
  •   JasonLaw · 2021-03-25 11:19:35 +08:00 · 1171 次点击
    这是一个创建于 1100 天前的主题,其中的信息可能已经有所发展或是发生改变。

    About Pool Sizing · brettwooldridge/HikariCP Wiki中讲了应该怎样设置数据库连接池的大小。它使用了((core_count * 2) + effective_spindle_count)这个公式。我不太明白effective_spindle_count是什么,有人帮忙解答一下吗?

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2442 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 15:51 · PVG 23:51 · LAX 08:51 · JFK 11:51
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.