Closed AskAlexSharov closed 1 month ago
we stoped use it here https://github.com/ledgerwatch/erigon/pull/10746 , because of bug (I think reason is: 1. StateCache works on incarnation and 2. Need delete all storage when delete account) https://github.com/ledgerwatch/erigon/issues/10444 But we don't know perf impact of cache. Need carefully re-introduce it and bench speed.
StateCache
incarnation
Of-course such cache will be useful for "remote rpcdaemon deploy", but it's rare.
Maybe cache need a bit change to use Domain concept. (not sure)
Domain
not so important after adding: ii_lru but ii_lru works on low-level and not helpful over grpc (remote rpcdaemon)
done
we stoped use it here https://github.com/ledgerwatch/erigon/pull/10746 , because of bug (I think reason is: 1.
StateCache
works onincarnation
and 2. Need delete all storage when delete account) https://github.com/ledgerwatch/erigon/issues/10444 But we don't know perf impact of cache. Need carefully re-introduce it and bench speed.Of-course such cache will be useful for "remote rpcdaemon deploy", but it's rare.
Maybe cache need a bit change to use
Domain
concept. (not sure)