Not getting a high performance compared to gunicorn
#241
-
So I started a Django project and compared Using gunicorn : first
second time:
using granian: first time:
second time:
The command in and the command in The page loaded is the default page for Django applications a simple HTML page. So is there anything I have done wrong or this is a normal thing?? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
So, in general the final performance is really dependant on your application code, as Granian can only affect the network part of that: there's no dark magic to apply here, Granian is still subject to GIL and blocking code whenever it interacts with your application. Given that, I have a few considerations:
|
Beta Was this translation helpful? Give feedback.
So, in general the final performance is really dependant on your application code, as Granian can only affect the network part of that: there's no dark magic to apply here, Granian is still subject to GIL and blocking code whenever it interacts with your application.
Given that, I have a few considerations: