V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
JasonLaw
V2EX  ›  编程

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

  •  
  •   JasonLaw · Mar 25, 2021 · 1733 views
    This topic created in 1869 days ago, the information mentioned may be changed or developed.

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

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3049 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 15:10 · PVG 23:10 · LAX 08:10 · JFK 11:10
    ♥ Do have faith in what you're doing.