This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
There are a lot of good tutorials which talk about Go's sql.DB type and how to use it to execute SQL database queries and statements. But most of them gloss over the SetMaxOpenConns() , SetMaxIdleConns() and SetConnMaxLifetime() methods — which you can use to configure the behavior of sql.DB and alter its performance. In this post I'd like to explain exactly what these settings do and…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.