Option to use multiprocessing lib instead of threading #1923
coder2020official
started this conversation in
Ideas
Replies: 2 comments
-
Multiprocessing is good for scaling, but it does not allow (in general) to have shared data between processes, except some special data pipes. Thus multiprocessing version will have significant limitations for application. Additionally, AFAIK, it is adviced to use WSGI for multiprocessing instead of embedding it in the bot. But I have no competences in WSGI. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi.
I am working on it, what do you think if there would be such option?
Beta Was this translation helpful? Give feedback.
All reactions