Project

General

Profile

Actions

Bug #13998

open

[keepstore] Cached block fetch for federation

Added by Peter Amstutz over 5 years ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Story points:
-
Release:
Release relationship:
Auto
Actions #1

Updated by Peter Amstutz over 5 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Peter Amstutz over 5 years ago

One approach

Fetching block, with caching:

  1. client wishes to read a file
  2. client has provides block locator with "remote" signature (see #13993)
  3. client sends request to keepstore server in regular rendezvous hashing order
  4. keepstore service looks up (cluster, block) in table mapping (cluster, block, signature)
    1. if found, check if the remote signature is cached
    2. if remote signature isn't cached, send HEAD request to ccccc to validate signature
    3. if the signature is valid, try to fetch the block from local volume
    4. if the signature is not valid, fail (because HEAD request must have failed)
  5. block is not found, keepstore contacts keepproxy on remote cluster and requests block
  6. block is spooled into local volume storage and mapping is added for (cluster, block, signature)
  7. keepproxy on remote cluster returns block content to keepstore
  8. keepstore returns block content to client, also return valid local signature in header
Actions #3

Updated by Peter Amstutz over 5 years ago

  • Status changed from In Progress to New
Actions #5

Updated by Peter Amstutz almost 3 years ago

  • Target version deleted (To Be Groomed)
Actions #6

Updated by Peter Amstutz about 1 year ago

  • Release set to 60
Actions #7

Updated by Peter Amstutz about 2 months ago

  • Target version set to Future
Actions

Also available in: Atom PDF