• How to get MediaCache AddOn (scale video on demand streaming)

    MediaCache AddOn is a read-through caching mechanism for video on demand streaming. Similar to live repeater technology that's aimed at increasing the scalability of live streaming, MediaCache technology is a means of scaling video on demand streaming. The system is very flexible and extendable. MediaCache technology can retrieve content from either a web server or http (must support HTTP/1.1 byte range requests) or network attached file system (network attached storage, network file system, or any similar device that's recognized as a disk by the operating system).

    Note: For use with Wowza Media Server® 2 or later.

    Note: A MediaCache-enabled system requires more advanced system administration skills to properly set up and tune.

    To get MediaCache AddOn


    MediaCache AddOn requires a Trial, subscription (Daily or Monthly), or multiple Perpetual licenses. To get the AddOn, fill out the AddOn Request form. In the form, be sure to select the Click to Request MediaCache check box. After your information has been verified, you'll receive an email within three (3) business days that includes download instructions.

    RSS Feed


     Wowza Media Server: AddOns RSS Feed


    Note: Changes and updates to this AddOn are listed in the version.txt file that is included in the AddOn package.




    Comments 30 Comments
    1. anurage8 -
      Hi Team, i quickly want to know if this media cache thing is good for transcoding youtube or kaltura (as amazon instance) streams on the fly. Also i am running wowza as amazon instance, so will it still work?
    1. rrlanham -
      Again, I don't think it will work with youtube, and I don't know if there is a way to re-stream youtube content, and if there is they will have it documented. But if the Kaltura content is on a web server, that will work with MediaCache.

      Richard
    1. del@ur.se -
      Hi, could you verify if this is a solution for us.
      We have a VOD library of 10000 programs that we have duplicated on direct attached storage on two Wowza streaming servers.
      We would like to have the VOD library on a centralized storage from where the streaming servers can pull the programming for streaming.
      Is this the solution for this?

      Daniel
    1. rrlanham -
      Daniel,

      Yes, this will work. Try having the /conf/[app-name]/Application.xml /Streams /StorageDir point directly to that location with UNC path. Or, you can use MediaCache:

      http://www.wowza.com/forums/content....nd-scalability

      Richard
    1. chrisjukes -
      If I'm streaming from a mounted S3 bucket is this what I need. I get too much latency when streaming from s3. I'm not using amazon image but my own installed Wowza 3
    1. rrlanham -
      You can use MediaCache to stream from S3, but not from mounted (s3fs?) bucket. That is not recommended.

      Richard
    1. bbalasateesh -
      Hi,

      I want to setup a multi node setup where there will be multiple wowza servers installed with load balancer managing the requests to these servers and the on-demand videos should reside only at one place. All the wowza servers should refer to that location to stream the videos. Will this AddOn meet my requirement.

      Please let me know the steps on how to setup this.

      I have seen that this is not flexible to scale quickly. Is there any other method where we can scale quickly and automatically (Manual work should not be involved).

      Thanks,
      Sateesh B.
    1. rrlanham -
      Yes, with the MediaCache addon along with the Wowza Dynamic Load Balancer you can set that up. Step-by-step guides are included with both packages. Once it is all working, adding new edges is very easy

      Richard
    1. ankurs -
      we have a ugc site with 100,000 files stored across 10 storage servers

      can we use this plugin ? so all those files on those storage servers can be accessed from any edge node using a load balancer

      example:
      s1 - s10 are storage servers
      e1 - e20 are edge nodes

      File A is stored on s1 & File B is on s2, can both these files A&B be accessed from any edge node (e1-e20) ?

      If its possible, can you give a example on how to do it.

      Does this plugin, cache data on local drives at edge nodes ?
    1. rrlanham -
      Yes, MediaCache will do what you describe, is what it is designed for. And yes, caching is done on each edges' local drive.

      The default configuration (/conf/MediaCache.xml) will work. If you have content here:

      http://[your-web-server]/sample.mp4

      You can play the above back with MediaCache default configuration using http/ prefix. Using the Wowza SimpleVideoStreaming example player:

      Server: rtmp://[wowza-address]:1935/MediaCache
      Stream: http/[your-web-server]/sample.mp4

      Refer to the guide included and the MediaCache.xml file for more info

      Richard
    1. andimf03 -
      I have very limited bandwidth in my existing collocation where my existing Wowza server and video storage are placed. Because of this the acces to our videos are very limited. Since we have some difficulties to move the storage to a new collocation, I am thinking to put Wowza MediaCache servers in other collocation with a lot bigger bandwidth. Do you think that this solution can work?
      Currently our existing collocation has 1Gbps connection and in the new collocation where we want to put the MediaCache server has over 10 Gbps.
    1. andimf03 -
      Does MediaCache also support adaptive bit rate configuration in Wowza server?
    1. rrlanham -
      You should move Wowza to the facility with 10gbs network access. You would still be limited by the 1gbs network access of the Wowza server if it is in the same place. Clients stream from the Wowza server not the content server. The content server is the source Wowza caches from.

      Yes, you can do adaptive bit rate with content stored on a MediaCache content server. Same requirement: each rendition has to be key frame aligned.

      Richard
    1. andimf03 -
      Richard,

      So according to you, I can setup a system to place a let say an Apache server as content storage with byte range support in 1 Gbps collocation and having a several WOWZA with media cache in collocation with 10 Gbps as a solution. Please correct me if I am wrong.

      Thanks

      Quote Originally Posted by rrlanham View Post
      You should move Wowza to the facility with 10gbs network access. You would still be limited by the 1gbs network access of the Wowza server if it is in the same place. Clients stream from the Wowza server not the content server. The content server is the source Wowza caches from.

      Yes, you can do adaptive bit rate with content stored on a MediaCache content server. Same requirement: each rendition has to be key frame aligned.

      Richard
    1. rrlanham -
      I am saying that clients stream from Wowza, not from the content location. The Wowza MediaCache edges stream from the content server. The configuration you describe sounds right, assuming the content server can keep up and its 1gbs nic is enough. You will have test

      Richard
    1. McFly76 -
      I'm designing a three layer infrastructure on Rackspace fo live streaming (origin -> edge/origin - > edge) with liverepeater configuration alongside dynamic load balancing. I'd like to use this architecture to serve vod content too. How should I setup the Mediacache Addon? I have to install it on each server and use the loadbalancer listener/sender to distribute the load between edge servers?
    1. rrlanham -
      Yes, that's right. Each MediaCache application is an edge, and the content server is the origin. The Load Balancer is used the same as in Live repeater configuraiton

      Richard
    1. McFly76 -
      Thank you Richard, and the content to serve via vod could be on a CDN? Ther origin should point to the CDN and restream/recache a vod content to the edges?

      Fabio
    1. rrlanham -
      Fabio,

      If you use a CDN that would take the place of MediaCache edges. The only way I know how to involve Wowza with a CDN for vod streaming is using Wowza as an HTTP origin
      http://www.wowza.com/forums/content....caching-origin

      Richard
    1. nimigeanu -
      Hello Wowza,
      I would like to know if there is a way for cache not to purge on startup, instead remain valid between runs while still following the time-to-live settings.
      Thank you.