Hello everyone, we’ve hired FdcServers’s CDN service by OnApp CDN.
Once hired, they’ve asked us to create a resource on the CDN as “http-pull” and they’ve enabled it for HLS performance.
In wowza, we have a Live Application that publishes HLS Urls that they’re pulled from that resource on the OnApp CDN system.
We have added on the Wowza Application the cache expiry headers:
cupertinoCacheControlPlaylist = max-age=5
cupertinoCacheControlMediaChunk = max-age=300
And if we test the wowza URL directly using curl -I “http://ourWowza/myApp/myStrean/playlist.m3u8”, it shows the cache expiry correctly.
If we try that on the CDN URL it also shows the cache as “Hit” correctly with its x-age, x-cache and everything as configured on the cupertinoCacheControlPlaylist setting.
I don’t seem to find a way to try chunks (at least not with curl -I), so I don’t know how to test the cupertinoCacheControlMediaChunk setting.
My problem is that I think CDN is not handling the cache efficiently or I need to configure something else, since it seems to consume about the same bandwidth on the CDN and the Wowza Origin as well. I expected to have low bandwidth from Wowza Origin and lots from CDN.
Example of my problem:
Please suppose I have just 1 Live Application with 1 Stream.
If I had no CDN running but Only 1 wowza origin-repeater instead, I would see on my Wowza Dashboard 1,000 connections consuming 800 mbps directly from customers.
Using the CDN pulling from the Wowza Origin, I still see on My Wowza Dashboard about 900 connections and about 700 mbps (coming from CDN) on the Wowza Origin Server!!!
And on the OnApp CDN Dashboard I see around 800 mbps. (I can’t see how many connections)
I can’t figure out where lies my problem, but I would expect on this scenario: (Please correct me if Im wrong)
On wowza Streaming server: I would expect just 1 or 2 connections, and only around 2 mbps from CDN pulling the content. (not the customers).
And on CDN I would expect to see 800 mbps from Customers, most of the data served it would be the “cached” data pulled from the Origin.
Is there a tutorial or details on how to fix this? or I am totally wrong about how CDNs work.?
Please Advice
Sebastian