Results 1 to 2 of 2

Thread: Performance expectations of MediaCache addon

  1. #1
    Join Date
    Aug 2013

    Default Performance expectations of MediaCache addon

    I have installed and tested the MediaCache addon connecting to my S3 bucket by creating a new application and configuring it and the mediacache setup files as per the installation instructions included with the addon. I found that even with a single video being played (2Mbps 720p h.264-encoded .f4v), the player (Flowplayer) took a few seconds longer to queue up. This is with an empty cache. Is this typical behavior? Or should I barely be able to notice a difference between a MediaCache loaded video from S3 and local disk resident video if MediaCache is configured properly?

    Also, how does MediaCache behave for adaptive streams? Does it only cache the chunks of video at the quality that the user is watching at any given time? So we wind up with a few files partially cached? Or will it fully cache all the files referenced by the SMIL?

  2. #2



    What you are probably noticing is a slow transfer rate between S3 and your Wowza instance.

    MediaCache transfers the file in blocks from S3 as it is requested so will only transfer the portion of the file that is actually watched. S3 tends to prefer less frequent and larger block transfers so you may see an improvement by setting the DefaultBlockSize to a larger value in your MediaCache.xml. Try 2M as a starting point. You should also increase the MaxTimeToLive setting to around 24 hours (assuming that you have enough local storage to handle 24 hours worth of video) so that once an item is cached, it remains cached.

    Even when using a smil file, only the actual content that is requested will be fetched from S3 so you may end up with partially cached files.


Similar Threads

  1. Problem with MediaCache AddOn
    By masmart in forum Video On Demand Streaming Discussion
    Replies: 3
    Last Post: 07-12-2013, 01:15 PM
  2. Mediacache addon via rtmp
    By arpan_synapse in forum AddOn: Other AddOns
    Replies: 2
    Last Post: 03-05-2013, 09:59 AM
  3. MediaCache addon readSourceRate
    By ertu22 in forum AddOn: Other AddOns
    Replies: 2
    Last Post: 04-09-2012, 12:34 PM
  4. MediaCache performance
    By bbeard in forum AddOn: Other AddOns
    Replies: 2
    Last Post: 01-17-2012, 01:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts