Using Shared Cache

Shared Cache is an on-prem server that enables teams to securely share files that have been accessed by other team members within the same LAN.

As an example:

  1. Team Member 1 access large_video.mp4 while connected to the shared cache

  2. ShadeFS begins serving that file to Team Member 1 from the cloud

  3. In the background, the shared cache also begins caching large_video.mp4

  4. The shared cache fully finishes caching large_video.mp4

  5. Team Member 2 now accesses large_video.mp4 in ShadeFS

  6. The shared cache runs permission checks to validate Team Member 2 has access to large_video.mp4

  7. large_video.mp4 is immediately served at the maximum speed of the LAN from the shared cache

In this setup, the second access is both served at the maximum speed making playback largely instant and avoids using bandwidth against the cloud. Large shared cache instances can almost entirely avoid cloud round trips except for the first access.

Download & Setup

Shared Cache is a terminal executable with no UI. You can get a version to download by asking us. The defaults are generally correct for most setups meaning for most people it's typically just a double click to launch.

S3 Support

Shared Cache supports using both a local (disk) backend and an on prem S3 target for caching data. This can be enabled by passing --storage-backend=s3 with the endpoint, bucket, region, access, and secret.

Configuration Options

Joining the Shared Cache

Because the permissions are handled by the Shared Cache, joining is incredibly easy and requires no password. The shared cache advertises using bonjour. In most cases clients on the same network detect it and a modal will pop up asking if they would like to join.

If no modal appears, the cache can be joined directly by going to Settings → Shared Cache → Connect Manually and typing in the address. An example input might look like http://192.168.1.45:8003

Last updated