pymgclient
pymgclient copied to clipboard
Release the GIL when dealing with not Python related things
Without releasing the GIL while doing not Python related things (especially IO) using multiple threads can be inefficient. A possible workaround is using multiple processes, but then sharing data requires pickling/unpickling.
This issue is the result of a discussion on Memgraph's Discord server.
That's a good description, thanks!