View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006874||Taler||bank (demonstrator)||public||2021-05-17 13:37||2021-06-05 10:36|
|Reporter||Florian Dold||Assigned To||MS|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Summary||0006874: investigate performance issues of wire gateway API|
|Description||Currently the requests from the exchange to the bank's wire gateway API cause high CPU load (seen as load on uwsgi).|
We should investigate where this is coming from.
|Tags||No tags attached.|
According to one first investigation, the problem lies in the Django's authentication system.
Possibly the password hashing slows things down. The problematic routine is "django.contrib.auth.authenticate()", called from "basic_auth()". Basically by commenting basic_auth() out, the high CPU usage disappears (*).
(*) there is only one high peak from uwsgi, just upon launching the bank.