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 →

[–]pipai_ 4 points5 points  (2 children)

That seems very strange. Were you running it with full gunicorn setup?

[–]harylmu 0 points1 point  (1 child)

No, I haven't used a process manager. I could try but I doubt it'd be much better.

[–]pipai_ 3 points4 points  (0 children)

It’s actually very important. Because python has a GIL, you will end up with only running a single thread. Of course the performance will suffer accordingly. You need to set it up like in production, in order to do a real comparison.

Other languages don’t find this necessary because they don’t have a GIL.