You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A way to significantly speed up certstore.GetPowerTable (in exchange for a small memory footprint) is to cache the latest known powertable in certStore. This would make calls to GetPowerTable for an instance made by consensus inputs in steady state very quick. This call makes up the vast majority of certstore workload.
Certificate store already keeps track of the latest power table, i.e.,
the power table of the next expected certificate. Use this pre-computed
table whenever the next power table is asked for instead of re-computing
it every time.
This results in a much faster response to `GetPowerTable` for the most
common case: getting the committee as part of monotonic progress of
GPBFT instances.
Fixes#881
…882)
Certificate store already keeps track of the latest power table, i.e.,
the power table of the next expected certificate. Use this pre-computed
table whenever the next power table is asked for instead of re-computing
it every time.
This results in a much faster response to `GetPowerTable` for the most
common case: getting the committee as part of monotonic progress of
GPBFT instances.
Fixes#881
A way to significantly speed up
certstore.GetPowerTable
(in exchange for a small memory footprint) is to cache the latest known powertable incertStore
. This would make calls toGetPowerTable
for an instance made by consensus inputs in steady state very quick. This call makes up the vast majority ofcertstore
workload.See: #874
The text was updated successfully, but these errors were encountered: