4 ms·
Great read, so a key takeway would be to make sure to prime the connection pool and also re-use it. Isn't re-using goroutines a bit of an anti-pattern though?
by curiousDog 7y ago
Great read, so a key takeway would be to make sure to prime the connection pool and also re-use it. Isn't re-using goroutines a bit of an anti-pattern though?
- aflag 7y agoI don't think that's the takeway. Reusing goroutines was only necessary in a very specific situation at a very large scale. The article is very good in providing ideas and tools you can try to use whenever you find yourself in a similar situation.