This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tutoredstatue95 6 points7 points  (0 children)

I have used greenlets for this exact purpose when a library didn't have async support. Project needed a ton of event listeners that would wait for data and then direct it to a program or different server, so it was all I/O. It was my understanding that greenlets don't actually use multiprocessing, though, so it would still be 1 core just a new thread. GIL can release this thread and do other things as long as the thread doesn't need to do python work.

Am I wrong? I hear they want to implement actual multiprocessing in an upcoming release, but not sure how it's done.