Hacker News new | ask | show | jobs
by procaryote 354 days ago
Do it at scale and your database will be sad about the number of connections

At least that was the case when I did the "python is single threaded, let's run many of them" + "python is slow, let's run many of them" dance

At scale you end up using shared connection pools outside of python (like pgbouncer) and a lot of tuning to make it serve the load while not killing the database

Of course, then we reimplemented in a multithreaded somewhat performant language and it became dead simple again