jivco / cassandra-nginx-cdn

Some config files and POC code to use Apache Cassandra as distributed storage for HLS chunks accross multiple datacenters and scripts for converting/transcoding UDP MPEG-TS to HLS and vice versa. The idea is take from Globo.com’s Live Video Platform for FIFA World Cup ’14.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cassandra-nginx-cdn

Some config files and POC code to use Apache Cassandra as distributed storage for HLS chunks accross multiple datacenters and scripts for converting/transcoding UDP MPEG-TS to HLS and vice versa. The idea is take from Globo.com’s Live Video Platform for FIFA World Cup ’14.

  • cassandra -> configs for Apache Cassandra
  • dvr -> a Lua module to optimize Openresty config. This approach will be the most efficient as it will avoid re-creating the cluster variable on each request and will preserve the cached state of your load-balancing policy and prepared statements directly in the Lua land.
  • openresty -> nginx config
  • scripts -> converting/transcoding UDP MPEG-TS to HLS and vice versa and storing chunks in Apache Cassandra
  • system -> some tips for instalation of DataStax's PHP driver and system config.
  • test - some scripts to test if everything is working properly.

About

Some config files and POC code to use Apache Cassandra as distributed storage for HLS chunks accross multiple datacenters and scripts for converting/transcoding UDP MPEG-TS to HLS and vice versa. The idea is take from Globo.com’s Live Video Platform for FIFA World Cup ’14.

License:GNU General Public License v3.0


Languages

Language:PHP 61.6%Language:Shell 31.4%Language:Lua 6.9%