Closed erikjohnston closed 1 year ago
Currently we can only run one receipts worker, we should be able to shard this.
Annoyingly, it looks like most of the CPU cost for receipts is just "overhead", i.e. receiving HTTP requests, DB pool, and replication overhead.
A representative flame.svg:
replication overhead
Currently we can only run one receipts worker, we should be able to shard this.
Annoyingly, it looks like most of the CPU cost for receipts is just "overhead", i.e. receiving HTTP requests, DB pool, and replication overhead.
A representative flame.svg: