Skip to content
Discussion options

You must be logged in to vote

Python is not thread safety language, also the problem is in underlying libraries. Unfortunately, we can't guarantee thread safety running and I can't help you with such decision, sorry

I strongly recommend you to use processes. It shouldn't be much expensive than processes and this decision already works. Btw, one instance scaling with multiprocessing/threading is a bad decision at all. The preferred way in current infrastructure - container-based horizontal scaling.

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@alm0ra
Comment options

@Lancetnik
Comment options

Answer selected by alm0ra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants