{"action":"closed","issue":{"url":"https://api.github.com/repos/brettwooldridge/HikariCP/issues/1171","repository_url":"https://api.github.com/repos/brettwooldridge/HikariCP","labels_url":"https://api.github.com/repos/brettwooldridge/HikariCP/issues/1171/labels{/name}","comments_url":"https://api.github.com/repos/brettwooldridge/HikariCP/issues/1171/comments","events_url":"https://api.github.com/repos/brettwooldridge/HikariCP/issues/1171/events","html_url":"https://github.com/brettwooldridge/HikariCP/issues/1171","id":328832824,"node_id":"MDU6SXNzdWUzMjg4MzI4MjQ=","number":1171,"title":"Documentation About Pool Sizing (Threads or Connections?)","user":{"login":"evbo","id":6313004,"node_id":"MDQ6VXNlcjYzMTMwMDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6313004?v=4","gravatar_id":"","url":"https://api.github.com/users/evbo","html_url":"https://github.com/evbo","followers_url":"https://api.github.com/users/evbo/followers","following_url":"https://api.github.com/users/evbo/following{/other_user}","gists_url":"https://api.github.com/users/evbo/gists{/gist_id}","starred_url":"https://api.github.com/users/evbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evbo/subscriptions","organizations_url":"https://api.github.com/users/evbo/orgs","repos_url":"https://api.github.com/users/evbo/repos","events_url":"https://api.github.com/users/evbo/events{/privacy}","received_events_url":"https://api.github.com/users/evbo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-03T14:21:45Z","updated_at":"2018-06-03T15:28:38Z","closed_at":"2018-06-03T15:28:38Z","author_association":"NONE","body":"In your [formula here](https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing), you describe units of \"connections\". But in the first paragraph, you discuss tuning the number of threads. Which is this article advocating the use of this equation for? max connections or number of threads?\r\n```\r\nconnections = ((core_count * 2) + effective_spindle_count)\r\n```\r\nThe slick API seems to indicate this article is discussing tuning the number of threads:\r\n```\r\nnumThreads (Int, optional, default: 20): The number of concurrent threads in the thread pool for asynchronous execution of database actions. See the HikariCP wiki for more imformation about sizing the thread pool correctly. Note that for asynchronous execution in Slick you should tune the thread pool size (this parameter) accordingly instead of the maximum connection pool size.\r\n```"}}
{"actor":{"display_login":"brettwooldridge"}}