Configuring sql.DB for Better Performance という記事を知りました。 コネクションプールの大きさを制御する3つの設定を丁寧に解説されたとても良い記事です。 しかし、この記事で推奨されている設定については同意することができません。私が推奨する設定とその理由を解説していきたいと思います。 Limit ConnMaxLifetime instead of MaxIdleConns Allowing just 1 idle connection to be retained and reused makes a massive difference to this particular benchmark — it cuts the average runtime by about 8 times and reduces memory usage by ab
![Re: Configuring sql.DB for Better Performance : DSAS開発者の部屋](https://cdn-ak-scissors.b.st-hatena.com/image/square/6db3da95db178997600d7cfee9c5e93b15eeb24b/height=288;version=1;width=512/https%3A%2F%2Flivedoor.blogimg.jp%2Fklab_gijutsu2%2Fimgs%2F5%2Ff%2F5f9617ed.png)