Closed mrsipan closed 1 year ago
TIL nogil
Normally, ZODB isn't a compute bottleneck. Do you have reason to believe otherwise?
ZODB is already thread safe, in that different threads can each have a connection to the same database, local or otherwise.
Whether ZODB applications can (or need to) use multiple multiple threads is up to the application.
In any case, I don't think any changes to ZODB would be necessary, as it is already thread safe.
FEATURE REQUEST (Maybe)
Perhaps the biggest performance bottleneck when deploying ZODB is that it can only make use of one CPU. With the advent of nogil, is there any chance ZODB can be run with nogil Python and thereby take advantage of multiprocessor machines?