rpcpool / solana-accountsdb-connector

5 stars 3 forks source link

Slot lagged #7

Open linuskendall opened 2 years ago

linuskendall commented 2 years ago

We often see that a consumer will be interrupted with slot lagged after some period of running. It seems like the more account writes that happens, the quicker this error emerges. We need to figure out a way around this issue - either with some new queue settings or some changes to the how the plugin works?

linuskendall commented 2 years ago

I can for example reproduce it like this:

time ./bin/grpcurl -plaintext -proto dev/grpc-geyser.proto <host> accountsdb.AccountsDb/Subscribe >/dev/null

Not sure if this issue is on the client / consumer side or on the server side?

fanatid commented 2 years ago

Probably https://github.com/rpcpool/solana-accountsdb-connector/pull/15 should improve situation with lagging