Storage

What is a file cache?

A file cache keeps a local copy of media bytes so repeated transforms do not download the same object again.

Updated · Part of What is a media store?

How it works

  • The first read fetches the object.
  • Later reads of that object reuse the local bytes.
  • Computed values are a different cache, on the row.

What it is not

It is not the cache of computed-column results, and it is not a CDN edge cache.

file cache: this, and the thing it is confused with

file cache: this, and the thing it is confused with
ThisNot this
CachesBytes of a fileModel outputs
LocationNear the engineAt a CDN edge
InvalidationWhen the object changesWhen a column expression changes

Where Pixeltable fits

Pixeltable’s file cache sits beside the catalog so frame extraction and similar work do not re-download the same clip.

Questions

How does file cache work?
The first read fetches the object. Later reads of that object reuse the local bytes. Computed values are a different cache, on the row.
What is file cache often confused with?
It is not the cache of computed-column results, and it is not a CDN edge cache.