View Issue Details

IDProjectCategoryView StatusLast Update
0006874Talerobsolete componentpublic2022-11-04 19:53
ReporterFlorian Dold Assigned ToMS Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
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.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

MS

2021-06-05 08:36

reporter   ~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 21:16

manager   ~0018078

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

Christian Grothoff

2022-08-23 18:24

manager   ~0019030

Pybank is dead.

Issue History

Date ModifiedUsernameFieldChange
2021-05-17 11:37Florian DoldNew Issue
2021-05-17 11:37Florian DoldStatusnew => assigned
2021-05-17 11:37Florian DoldAssigned To => MS
2021-06-05 08:36MSNote Added: 0017943
2021-08-05 21:16Florian DoldNote Added: 0018078
2022-08-23 18:24Christian GrothoffStatusassigned => informing
2022-08-23 18:24Christian GrothoffResolutionopen => won't fix
2022-08-23 18:24Christian GrothoffFixed in Version => 0.9
2022-08-23 18:24Christian GrothoffNote Added: 0019030
2022-08-23 18:24Christian GrothoffProduct Version => git (master)
2022-08-23 18:24Christian GrothoffTarget Version => 0.9
2022-08-23 18:26Christian GrothoffCategorybank (demonstrator) => py bank (demonstrator, obsolete)
2022-11-04 19:53Christian GrothoffStatusinforming => closed
2023-12-03 00:23Christian GrothoffCategorypy bank (demonstrator, obsolete) => obsolete componet
2023-12-11 19:08Florian DoldCategoryobsolete componet => obsolete component