Marvin Blum
1 min readNov 12, 2019

--

Another way to run into deadlocks using Go’s sql.DB connection pool are transactions. If you start a transaction and run a query outside of it while the transaction is still open, you can hit the connection limit and bring the application to halt.

--

--

Marvin Blum
Marvin Blum

Written by Marvin Blum

Software Engineer, Open Source Enthusiast, Co-Founder of Pirsch and Emvi.

No responses yet