readcaching

package
v0.0.0-...-932836e Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReadCachingBlobAccess

func NewReadCachingBlobAccess(slow blobstore.BlobAccess, 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