View Issue Details

IDProjectCategoryView StatusLast Update
0006874Talerpy bank (demonstrator, obsolete)public2022-11-04 20:53
ReporterFlorian Dold Assigned ToMS  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionwon't fix 
Product Versiongit (master) 
Target Version0.9Fixed in Version0.9 
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

Christian Grothoff

2022-08-23 20:24

manager   ~0019030

Pybank is dead.

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
2022-08-23 20:24 Christian Grothoff Status assigned => resolved
2022-08-23 20:24 Christian Grothoff Resolution open => won't fix
2022-08-23 20:24 Christian Grothoff Fixed in Version => 0.9
2022-08-23 20:24 Christian Grothoff Note Added: 0019030
2022-08-23 20:24 Christian Grothoff Product Version => git (master)
2022-08-23 20:24 Christian Grothoff Target Version => 0.9
2022-08-23 20:26 Christian Grothoff Category bank (demonstrator) => py bank (demonstrator, obsolete)
2022-11-04 20:53 Christian Grothoff Status resolved => closed