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

Investigate pebble-backed dhstore causing slow ingest rate #2206

Closed
masih opened this issue Aug 3, 2023 · 1 comment
Closed

Investigate pebble-backed dhstore causing slow ingest rate #2206

masih opened this issue Aug 3, 2023 · 1 comment
Assignees

Comments

@masih
Copy link
Member

masih commented Aug 3, 2023

We have had two incidents that resulted in growing ingest lag across providers which were fixed by switching to other dhstore backed incases. Both of these occured while writing to qiu. During this time, both compaction debt and read amplification in pebble DB seemed normal but ingest was clearly slow and remained slow despite indexer restarts until dhstore backend was swapped.

This suggest that the root cause is in dhstore and not indexers nor potential graphsync locking issues.

Review metrics, and investigate why this is happening.

@gammazero
Copy link
Collaborator

gammazero commented Sep 25, 2023

This was caused by the dhstore node being configured with too low of throughput. This caused a buildup of data waiting to be written. Compaction debt and read amplification seemed normal, because the data was not got getting far enough in the write cycle to affect those things. This was fixed by increasing the throughput setting for the dhstore node.

Added alert when the number of providers with a slow ingestion rate exceeds reasonable expectations.

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

2 participants