Use TTL cache for NetworkInfo #146
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/xk6-frostfs#146
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.