Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ingestion congestion from inserting backfill_items #171

Open
kespinola opened this issue Feb 6, 2024 · 0 comments
Open

Ingestion congestion from inserting backfill_items #171

kespinola opened this issue Feb 6, 2024 · 0 comments

Comments

@kespinola
Copy link
Collaborator

Issue

At Triton, we observed slow processing of transactions and excessive accesshare and exclusive locks on the backfill_items caused by the select scanning for already existing backfill_items.

https://github.com/metaplex-foundation/digital-asset-rpc-infrastructure/blob/main/nft_ingester/src/program_transformers/bubblegum/db.rs#L138

Screen Shot 2024-02-05 at 5 27 33 PM Rate of transaction processing goes from 10/s to 125/s after removing the code related to backfill_item insertion. This is running 1 ingester processes with 4 TXN workers. Screen Shot 2024-02-05 at 5 29 03 PM Locks on the postgres database before and after removing backfill_item insertion.

Fix

We have removed the code for inserting the backfill_items because the new tree backfiller we developed does not rely on backfill_items. It works with the new cl_audits_v2.

rpcpool#128

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant