
Two Ways to Use Caching to Improve Performance With Vidispine by Patrik May 20, 2016 Tips & Tricks
To make sure your media system does not run into performance issues as your user base grows, you should set up caching. In a Vidispine based system it is straightforward to add caching for serving media files. This post shows how you can use nginx or Varnish to cache posters and thumbnails, and Amazon CloudFront to for video files.
If you are building any larger production system for handling and serving media, you need to think about performance from the start, because as your user base grows, the amount of assets, the size of the assets, or both, can create performance issues. While Vidispine easily can handle any amount of items, you will run into issues when you start to serve the media outside of Vidispine. This post shows a few general solutions on how to use caching to improve the performance of serving thumbnails, posters and media/video assets.
Without a cache all media have to be served through Vidispine, no matter where it is stored (see figure 1). This is not very efficient, as the same request will be asked, and the same media will be fetched from storage every time.
Figure 1 No cache set-up
So, say that you have requested your list of thumbnails using /API/item/VX-255?content=thumbnail&noauth-url=true , and got your list of URIs where you can fetch your thumbnails, e.g., http://vs.example.com:8080/APInoauth/thumbnail/VX-6/VX-255;version=0/2250@PAL?hash=6cd7a9eaa84c31dc4b42917b5771a9ae . This URI will never change for thumbnails and posters, and you can easily set up a reverse proxy, e.g., nginx or Varnish to cache those, and avoid the roundtrip into Vidispine (see figure 2). Here you will cache everything under /APInoauth/thumbnail/. You can cache posters in a similar way. The example would of course work for files on any storage, it doesn't have to be Amazon S3.
Figure 2 Cache thumbnails and posters
Using nginx as a cache, you could set it up like this:
proxy_cache_path /var/cache/nginx/proxy levels=1:2 keys_zone=THUMBS:10m inactive=24h max_size=1g; server { location / { proxy_pass http://vs.example.com:8080; } location /APInoauth/thumbnail/ { proxy_pass http://vs.example.com:8080/APInoauth/thumbnail/; proxy_cache THUMBS; proxy_cache_valid 200 1d; proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504; } }
1
2
3
4
5
6
7
8
9
10
11
12
proxy_cache_path /var/cache/nginx/proxy levels=1:2 keys_zone=THUMBS:10m inactive=24h max_size=1g;
server {
location / {
proxy_pass http://vs.example.com:8080;
}
location /APInoauth/thumbnail/ {
proxy_pass http://vs.example.com:8080/APInoauth/thumbnail/;
proxy_cache THUMBS;
proxy_cache_valid 200 1d;
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;
}
}
That was the caching of posters and thumbnails. The example I'll show for video files instead uses Amazon CloudFront to cache files on a Amazon S3 storage (see figure 3). In this case the request to Vidispine will return a S3 storage location, which is used to ask Amazon CloudFront to serve that file. If doesn't exist in Amazon CloudFront, it will be fetched from Amazon S3 on the first request, but in the following requests it will be served directly from Amazon CloudFront. The main difference is that noauth URLs to video files will only exist for 10 minutes, and then it will need to be refreshed again.
Figure 3 Caching video files using Amazon CloudFront
That was a small example of how Vidispine integrates well together with standard components from other companies. We strive to build Vidispine in such a way it is simple to do any kind of integration with whatever system you have, by following standards where they exist.
Most recent headlines
05/01/2027
Worlds first 802.15.4ab-UWB chip verified by Calterah and Rohde & Schwarz to be ...
01/06/2026
January 6 2026, 05:30 (PST) Dolby Sets the New Standard for Premium Entertainment at CES 2026
Throughout the week, Dolby brings to life the latest innovatio...
02/05/2026
Dalet, a leading technology and service provider for media-rich organizations, t...
01/05/2026
January 5 2026, 18:30 (PST) NBCUniversal's Peacock to Be First Streamer to ...
01/04/2026
January 4 2026, 18:00 (PST) DOLBY AND DOUYIN EMPOWER THE NEXT GENERATON OF CREATORS WITH DOLBY VISION
Douyin Users Can Now Create And Share Videos With Stun...
21/03/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
21/03/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
21/03/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
21/03/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
21/03/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
21/03/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
21/03/2026
Cine Gear Connect NY, presented by Universal Production Services, is filling in the slate for a full day of panels, peers, learning the latest, and mixing it up...
21/03/2026
Studio Technologies Debuts New StudioComm System at NAB 2026
Brie Clayton March 20, 2026
0 Comments
StudioComm Model 794 Central Controller and Model ...
21/03/2026
Restoration Christian Fellowship Captures Worship Music Videos with PYXIS 12K
Brie Clayton March 20, 2026
0 Comments
PYXIS' open gate provides cre...
20/03/2026
Net Insight will introduce a JPEG XS solution for full IP environments at NAB Sh...
20/03/2026
LTN has expanded its technology partnership with Harmonic ahead of the FCC's...
20/03/2026
Solid State Logic will preview SSL Live V6.2 at NAB Show, booth C6907. The softw...
20/03/2026
FUJIFILM North America Corporation's Optical Devices Division has announced ...
20/03/2026
FUJIFILM North America Corporation's Optical Devices Division has announced ...
20/03/2026
TrueVisions NOW, a streaming platform in Thailand and part of the TrueVisions Group, has selected Bitmovin's Observability product for real-time video analy...
20/03/2026
Marquee Sports Network has announced distribution agreements with Hulu + Live TV and Prime Video ahead of the 2026 MLB season.
Marquee Sports Network is now av...
20/03/2026
FOR-A will exhibit software-defined and AI-driven solutions at NAB Show 2026, bo...
20/03/2026
TNA Wrestling and Eurosport India have entered into a multi-year exclusive progr...
20/03/2026
When Athletes Unlimited brought its professional women's basketball season t...
20/03/2026
In this craft interview, Rick Bernier reflects on a career that has taken him to...
20/03/2026
Lawo will announce a new product ahead of NAB Show 2026 in Las Vegas, where it w...
20/03/2026
Ratings Roundup is a rundown of recent rating news and is derived from press rel...
20/03/2026
Major League Baseball (MLB) has named Polymarket as its Official Prediction Mark...
20/03/2026
With AI now the industry-wide priority, Big Tech companies are uniquely position...
20/03/2026
In-venue and creative video staffers at the professional and collegiate level ha...
20/03/2026
Abundant player mics and RF and other ground-level cameras will be used to captu...
20/03/2026
Regional site will also receive big boost in production resources, including on-...
20/03/2026
By Jessica Herndon
One of the most exciting things about the Sundance Film Fest...
20/03/2026
In 2021, we launched EQUAL, a program designed to address an industry reality that persists: Women artists, songwriters, and producers too often face fewer oppo...
20/03/2026
BTS' long-awaited fifth studio album, ARIRANG, is finally here. To celebrate...
20/03/2026
A new era for Kenia Os has arrived, and Spotify marked the moment by putting fan...
20/03/2026
Una nueva era para Kenia Os ha llegado, y Spotify marc el momento poniendo a lo...
20/03/2026
Combines sampling & physical modelling
Sound Magic have announced the launch of a comprehensive virtual drum instrument that's been designed to cater to...
20/03/2026
How much difference should mastering make?
In our latest Mix Rescue feature, SOS Editor in Chief Sam Inglis revisits a project from back in 2019, carrying o...
20/03/2026
Feast for cycling fans as SBS extends road cycling broadcasts to include all Gra...
20/03/2026
In this blog, Laura Rognoni reflects on key discussions from the Connected TV World Summit in London, where NAGRAVISION hosted a panel on content discovery and ...
20/03/2026
After a series of increases, February brought the first slowdown in time spent in front of TV sets in a long time. While traditional television was losing viewi...
20/03/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
20/03/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
20/03/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
20/03/2026
60 years of audio innovation, driven by the people who use it...
20/03/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
20/03/2026
Colombia's Icesi University and WSDG are proud to announce Ronald David Reyes as the recipient of the 2025 WSDG Excellence Scholarship, awarded to an outsta...
20/03/2026
Avid today celebrated the filmmakers, editors and sound teams that worked with Avid Media Composer and Pro Tools to create the vast majority of this year'...
20/03/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...