Use TTL cache for NetworkInfo #146

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

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.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/xk6-frostfs#146
No description provided.