View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009432 | Taler | libeufin-bank | public | 2024-12-30 18:44 | 2025-01-06 16:54 |
Reporter | Antoine A | Assigned To | Antoine A | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Target Version | 1.0 stretch goals | ||||
Summary | 0009432: Lazy stats | ||||
Description | libeufin-bank has an endpoint for statistics on talerable transactions and cash-in and cash-out amounts. As PostgreSQL is slow to sum the amount of many rows, we create buckets manually. The problem with the current method is that we do this synchronously, this make the transfer transaction write more rows and create contention on the statistics rows, which reduces overall throughput. By updating the statistics lazily using a worker that only reads the transaction tables and is the only one to write to the statistics table, we could reduce contention and improve the throughput of libeufin-bank transactions. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-12-30 18:44 | Antoine A | New Issue | |
2024-12-30 18:44 | Antoine A | Status | new => assigned |
2024-12-30 18:44 | Antoine A | Assigned To | => Antoine A |
2025-01-06 16:54 | Antoine A | Status | assigned => resolved |
2025-01-06 16:54 | Antoine A | Resolution | open => fixed |
2025-01-06 16:54 | Antoine A | Note Added: 0023940 |