solana-labs / solana

Web-Scale Blockchain for fast, secure, scalable, decentralized apps and marketplaces.
https://solanalabs.com
Apache License 2.0
12.92k stars 4.13k forks source link

[Geyser] Redundant account updates #32621

Closed ADanilychevJr closed 1 month ago

ADanilychevJr commented 1 year ago

Problem

Geyser seems to send redundant account updates. These seem to contain the same data, just with a more recent slot. @lijunwangs has mentioned in the past that this is due to internal bookkeeping like "shrinking" of the AccountsDB.

Proposed Solution

Filter/skip account updates that come from internal bookkeeping (or at least mark them as such). Dropping these would improve resource utilization for indexers that rely on Geyser

ADanilychevJr commented 1 year ago

This may be a duplicate of https://github.com/solana-labs/solana/issues/32493