about summary refs log tree commit diff
path: root/tvix/store/src/bin/tvix-store.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-03-18T12·33+0200
committerflokli <flokli@flokli.de>2024-03-18T16·10+0000
commit82f8ce8b7da9d28d09a11b1b8b31bad5ce8fabe2 (patch)
tree818b8edba2e9d26c2e2fd868e2b0886f8f12b517 /tvix/store/src/bin/tvix-store.rs
parent50c81d78383376585e942578c2410d06803cb16e (diff)
feat(tvix/castore/blobsvc/grpc): read data in chunks r/7722
Whenever this encounters an open_read(), it'll first check for more
granular chunking. If there's more granular chunking data available, a
ChunkedReader is constructed (which supports seeking backwards).

This currently is still a bit stupid, and doesn't compose, as
`ChunkedReader` uses `self` as the `BlobService` to ask for the
individual chunks.

In store composition future, we might want to compose this differently,
essentially constructing `ChunkedReader` with another `BlobService`
representing the entire hierarchy, so there's a chance to locally cache
things, and do less requests.

Change-Id: I22e0df4d6245f666d083b4f0b7114d3ac41d1dce
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11185
Tested-by: BuildkiteCI
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Diffstat (limited to 'tvix/store/src/bin/tvix-store.rs')
0 files changed, 0 insertions, 0 deletions