#36439: Auth hashing blocks event loop if using asyncio
-------------------------------------+-------------------------------------
     Reporter:  Robert Aistleitner   |                    Owner:  (none)
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  contrib.auth         |                  Version:  5.2
     Severity:  Normal               |               Resolution:
     Keywords:  async, auth,         |             Triage Stage:  Accepted
  asyncio, performance               |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Jake Howard):

 A patch (PR), particularly with benchmarks, sounds great. The
 `sync_to_async` call is probably doing most of the work - it's possible
 there's no need for a dedicated threadpool just for this hashing. But
 again, a patch and some benchmark figures will help make that decision.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36439#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/010701975f2f99ae-a176f15f-a04a-4068-b8c0-ff55aac49879-000000%40eu-central-1.amazonses.com.

Reply via email to