readcaching

package
v0.0.0-...-07366c6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReadCachingBlobAccess

func NewReadCachingBlobAccess(slow, fast blobstore.BlobAccess, replicator replication.BlobReplicator) blobstore.BlobAccess

NewReadCachingBlobAccess turns a fast data store into a read cache for a slow data store. All writes are performed against the slow data store directly. The slow data store is only accessed for reading in case the fast data store does not contain the blob. The blob is then streamed into the fast data store using a replicator.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL