have some kind of cache for frequently accessed blocks #179

Open
opened 2021-12-25 11:46:36 +00:00 by trinity-1686a · 0 comments

Blocks are addressed by their hash, the content can't be changed so it should be rather easy to cache (no cache invalidation required).
Having gateways that can cache frequenty used blocks could reduce the load on nodes storing these blocks.

For the first block of an object, it can probably reduce first byte latency by not paying the transfer time of the whole block before sending that first byte (still paying the rtt because version_table is consulted in parallel to fetching first block)

Blocks are addressed by their hash, the content can't be changed so it should be rather easy to cache (no cache invalidation required). Having gateways that can cache frequenty used blocks could reduce the load on nodes storing these blocks. For the first block of an object, it can probably reduce first byte latency by not paying the transfer time of the whole block before sending that first byte (still paying the rtt because version_table is consulted in parallel to fetching first block)
trinity-1686a added the
Ideas
label 2021-12-25 11:46:36 +00:00
lx added the
Performance
label 2022-09-14 11:10:42 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
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: Deuxfleurs/garage#179
No description provided.