Changes between Version 3 and Version 4 of Ticket #31515, comment 7


Ignore:
Timestamp:
Apr 25, 2020, 9:19:57 PM (4 years ago)
Author:
Braunson

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31515, comment 7

    v3 v4  
    2323Run a benchmark against the homepage and run `show processlist;` in your SQL server to see the IDs not change, ie the connection is being reused. You can run a benchmark with ab: `ab -c 20 -n 300` to see the connections reused. If I just refresh a couple times on my own I don't see the issue, it looks like everything gets closed off. But if you run the benchmark you see that Django starts to run behind on closing the connections?
    2424
     25I can also confirm this behaviour does not exist using WSGI with the same project (I used gunicorn with the benchmark, I commented out the async portion and just saved a random number to the db. Only 1 process existed in the SQL server)
     26
Back to Top