Use TTL cache for NetworkInfo #146

Closed
opened 2024-06-14 08:19:40 +00:00 by fyrchik · 0 comments

For locally prepared objects, we fetch network info to get max object size and the current epoch.
Max object size likely won't change during a single test.
Current epoch can change, but not too often.

I suggest caching the current epoch in client and refreshing it once per minute. Currently, we perform NetworkInfo with every request, this may skew benchmark results.

For locally prepared objects, we fetch network info to get max object size and the current epoch. Max object size likely won't change during a single test. Current epoch can change, but not too often. I suggest caching the current epoch in client and refreshing it once per minute. Currently, we perform `NetworkInfo` with every request, this may skew benchmark results.
dstepanov-yadro self-assigned this 2024-06-17 05:49:11 +00:00
Sign in to join this conversation.
There is no content yet.