Skip to content

nickzxcv/config-flusher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

config-flusher

Sends purge/invalidation/flush requests for a file/files hosted on 3 CDNs.

At work we have some config files hosted on CDNs for different customers using our software. We use Amazon Cloudfront, Level3, and Edgecast (now known as Verizon Digital Media Services).

This program uses Linux inotify to watch a directory for a certain file being updated. This is the source file for all the customer configs, so when it gets updated the program starts checking for the new version appearing for a default customer on our CDN origin. When that appears, the CDN will be able to get the new version so it sends the flush requests out to get rid of the old ones.

It also provides a status API over HTTP, so a monitoring system can tell if the program is stuck or is not getting updates.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages