2 ms·
Don’t forget to measure first. You can metric out the number of connections periodically and see if you are capping out. See https://golang.org/pkg/database/sql
by sethammons 6y ago
Don’t forget to measure first. You can metric out the number of connections periodically and see if you are capping out. See https://golang.org/pkg/database/sql/#DBStats https://golang.org/pkg/database/sql/#DBStats
- stevehiehn 6y agoThanks! Thats a really good tip. I didn't know I had easy access to the db client stats!