News for hackers. Stuff that matters.
Re:Asynchronous Python and Databases by acveilleux on Sunday February 15, 2015 @09:11PM (#9055005)
Ultimately, those queries you want to batch are either:

1. Not critical to the logic of your app and thus should be fairly obvious candidate for caching.

2. Critical to the logic of your app and quite possibly done within a specific DB connection / transaction for locking reason.

Trying to be too clever and parallel often flounders on mundane things like running out of DB connections.

There are no comments on this comment yet.