Performance of JWKS view
@jbpasquier recently completed a performance test and found that the call to the JWKS URI (/jwks/
) took 103 seconds to complete. Looking at the view code, it loops over all RSAKey
objects in the database, renders and returns the public key for each. The code itself is largely the same as the code forked from django-oidc-provider
Looking at community.startinblox
and paris.happy-dev
, both have around 55-60 keys in the database. Reading the docs I believe that these have been created using the python manage.py creatersakey
command. I imagine that we don't need all of these and they're being created during the auto-deployment process? @plup