View Issue Details

IDProjectCategoryView StatusLast Update
0006874Talerbank (demonstrator)public2021-08-05 23:16
ReporterFlorian Dold Assigned ToMS  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Summary0006874: investigate performance issues of wire gateway API
DescriptionCurrently 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.
TagsNo tags attached.



2021-06-05 10:36

manager   ~0017943

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.

Florian Dold

2021-08-05 23:16

manager   ~0018078

=> pybank will eventually be rolled into LibEuFin, where we won't use the django auth system

Issue History

Date Modified Username Field Change
2021-05-17 13:37 Florian Dold New Issue
2021-05-17 13:37 Florian Dold Status new => assigned
2021-05-17 13:37 Florian Dold Assigned To => MS
2021-06-05 10:36 MS Note Added: 0017943
2021-08-05 23:16 Florian Dold Note Added: 0018078