CDN software with Wowza

Has anyone setup his own Content Delivery Network in use with Wowza?

I’m currently looking for options to build a CDN for our company, which is going to serve VOD to customers in Holland and a few (big ones) in Germany and Spain. So choosing a worldwide CDN is overkill and too pricy for our needs.

Basically we’re looking to place some servers in Holland, and a few in the other countries near our customers to guarantee good performance. We would install Wowza on those servers. But…

I think I need software for this, with loadbalancing and geo-redirecting capabilities etc right?

I came across Edgecast software and VideoX (Streamzilla) but I doubt those are affordable for us.

Any experiences with this?

Are you looking for a CDN management software or just a simple way to set up load balancing and GeoIP filtering?

If the latter, Wowza software provides a built in load balancing capability - take a look at the Load Balancing chapter in the User’s Guide. For GeoIP filtering see this post:

https://www.wowza.com/forums/showthread.php?t=707

For a reference to CDNs/service providers that use Wowza software see:

https://www.wowza.com/partners.html

Hi,

I just want to tell you one absolute truth.

“You has just arrived to the land where wishes and needs comes true: WOWZA LAND”

-Someone with the required expertise will be guiding you in no time…

Enjoy the Stay.

Load balancing will not affect dynamic switching one way or another. Dynamic switching capability must be implemented on the edge server that the load balancer redirects a client to.

Richard

For live streaming with Wirecast, configure following this guide:

https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtmp-based-encoder

Live stream repeater guide is here:

https://www.wowza.com/docs/how-to-configure-a-live-stream-repeater

Here is the Wowza load balancer:

https://www.wowza.com/docs/how-to-get-dynamic-load-balancing-addon

But the geolocation piece would be 3rd party, we don’t have that. The load balancer just distributes client connections to least loaded edge.

Richard

The Load Balancer keeps track of redirects and edge connections. You can see that info with the HTTPProvider you setup following the LB guide

http://[load-balancer-ip-address]:1935/loadbalancer?serverInfoXML

Review the “To setup a load balancer sender on an edge server” section of the package Readme.html

Richard

Well I’m not sure if we need the complete management capabilities of CDN software.

It’s just we want to place servers near the foreign customers on top of the network we got in Holland to make sure they got quality streams. But only loadbalancing might make a Spanish customer connect to a Dutch server if that server is less loaded right?

So indeed I also need some geographic redirecting to make sure Spanish customers connect to the Spanish server, if that server can handle the load and otherwise redirect to another server.

I’m not sure how that thread is related to my question tbh…

Also, will the loadbalancing work with Dynamic Bitrate Switching using Wowza and JW player?

i am thinking to do somethink like this, so if i will be wrong please edit me

wirecast >wowza>fowplayer

server1 will use ase origin server in datacenter1

server2 will use as edge server in datacenter2

if work with geolocation everything is clear it would be redirect by ip to server whch would be in cityor country.

i have 3 type streams 350kpbs,500 and 1k stream.

so. just what i need its to use loadbalancing???

Thanks Richard,

I cannot “catch”

streams work from edge… and this is log from edge, how should i check full load balancing ?

2012-07-21 20:23:59 GET connect session INFO 200 0:0:0:0:0:0:0:1 - defaultVHost liverepeater definst 0.004 [any] 1935 rtmp://localhost/liverepeater 0:0:0:0:0:0:0:1 rtmp unknown WIN 11,3,300,265 1979019094 3347 3073 - - - - - - - - - - - - - rtmp://localhost/liverepeater -

2012-07-21 20:23:59 GET create stream INFO 200 - - defaultVHost liverepeater definst 0.0 [any] 1935 rtmp://localhost/liverepeater 0:0:0:0:0:0:0:1 rtmp unknown WIN 11,3,300,265 1979019094 3397 3413 1 - 0 0 - - - - - - rtmp://localhost/liverepeater rtmp://localhost/liverepeater - rtmp://localhost/liverepeater -

2012-07-21 20:24:00 GET comment server INFO 200 - MediaStreamMediaCasterPlay: startPlay - - - 587.915 - - - - - - - - - - - - - - - - - - - - - - - - -

2012-07-21 20:24:00 GET create stream INFO 200 - - defaultVHost liverepeater definst 0.0 [any] 1935 rtmp://localhost/liverepeater 0:0:0:0:0:0:0:1 rtmp unknown WIN 11,3,300,265 1979019094 3457 3455 2 0 0 0 - - - - - - - - - rtmp://localhost/liverepeater -

2012-07-21 20:24:00 GET comment server INFO 200 - LiveMediaStreamHandler.connect: rtmp://192.168.0.10:1935/liverepeater/definst/onews_200:rtmp://192.168.0.10:1935/liverepeater/definst[onews_200] defaultVHost liverepeater definst 587.919 - - - - - - - - - - - - - - - - - - - - - - - - -

2012-07-21 20:24:00 GET comment server INFO 200 - LivePlayer.play[liverepeater/definst/rtmp://192.168.0.10:1935/liverepeater/definst/onews_200]: Dynamic Stream Markers are on. defaultVHost liverepeater definst 587.921 - - - - - - - - - - - - - - - - - - - - - - - - -

2012-07-21 20:24:00 GET comment server INFO 200 - LivePlayer.play[liverepeater/definst/rtmp://192.168.0.10:1935/liverepeater/definst/onews_200]: Dynamic Stream Markers are on. - - - 588.199 - - - - - - - - - - - - - - - - - - - - - - - - -

2012-07-21 20:24:03 GET play stream INFO 200 rtmp://192.168.0.10:1935/liverepeater/definst/onews_200 - defaultVHost liverepeater definst 3.418 [any] 1935 rtmp://localhost/liverepeater 0:0:0:0:0:0:0:1 rtmp unknown WIN 11,3,300,265 1979019094 3468 3655 1 0 0 0 rtmp://192.168.0.10:1935/liverepeater/definst/onews_200 - - - - - rtmp://localhost/liverepeater/rtmp://192.168.0.10:1935/liverepeater/definst/onews_200 rtmp://localhost/liverepeater/rtmp://192.168.0.10:1935/liverepeater/definst/onews_200 - rtmp://localhost/liverepeater -

2012-07-21 20:24:09 GET comment server INFO 200 - MediaStreamMediaCasterPlay: close - - - 597.506 - - - - - - - - - - - - - - - - - - - - - - - - -

2012-07-21 20:24:09 GET stop stream INFO 200 rtmp://192.168.0.10:1935/liverepeater/definst/onews_200 - defaultVHost liverepeater definst 9.675 [any] 1935 rtmp://localhost/liverepeater 0:0:0:0:0:0:0:1 rtmp unknown WIN 11,3,300,265 1979019094 3511 132897 1 9041 0 125636 rtmp://192.168.0.10:1935/liverepeater/definst/onews_200 - - - - - rtmp://localhost/liverepeater/rtmp://192.168.0.10:1935/liverepeater/definst/onews_200 rtmp://localhost/liverepeater/rtmp://192.168.0.10:1935/liverepeater/definst/onews_200 - rtmp://localhost/liverepeater -

2012-07-21 20:24:09 GET destroy stream INFO 200 rtmp://192.168.0.10:1935/liverepeater/definst/onews_200 - defaultVHost liverepeater definst 9.677 [any] 1935 rtmp://localhost/liverepeater 0:0:0:0:0:0:0:1 rtmp unknown WIN 11,3,300,265 1979019094 3511 132897 1 - 0 125636 rtmp://192.168.0.10:1935/liverepeater/definst/onews_200 - - - - - rtmp://localhost/liverepeater/rtmp://192.168.0.10:1935/liverepeater/definst/onews_200 rtmp://localhost/liverepeater/rtmp://192.168.0.10:1935/liverepeater/definst/onews_200 - rtmp://localhost/liverepeater -

2012-07-21 20:24:09 GET disconnect session INFO 200 1979019094 - defaultVHost liverepeater definst 9.823 [any] 1935 rtmp://localhost/liverepeater 0:0:0:0:0:0:0:1 rtmp unknown WIN 11,3,300,265 1979019094 3511 133181 - - - - - - - - - - - - - rtmp://localhost/liverepeater -

2012-07-21 20:24:55 GET comment server INFO 200 - LiveMediaStreamHandler.shutdown: [Lcom.wowza.wms.mediacaster.wowza.LiveMediaStreamURL;@1aaab5d - - - 643.57 - - - - - - - - - - - - - - - - - - - - - - - - -

2012-07-21 20:24:55 GET comment server INFO 200 - LiveMediaStreamHandler.disconnect: (SOCKET, R: /192.168.0.10:1935, L: /0:0:0:0:0:0:0:0:52290, S: /192.168.0.10:1935) - - - 643.571 - - - - - - - - - - - - - - - - - - - - - - - - -

2012-07-21 20:24:55 GET destroy stream INFO 200 rtmp://192.168.0.10:1935/liverepeater/definst/onews_1200 - - - - 273.021 - - - - - - - - - - 1 0 0 0 rtmp://192.168.0.10:1935/liverepeater/definst/onews_1200 - - - - - /rtmp://192.168.0.10:1935/liverepeater/definst/onews_1200 /rtmp://192.168.0.10:1935/liverepeater/definst/onews_1200 - - -

2012-07-21 20:24:55 GET comment server INFO 200 - LiveMediaStreamHandler.sessionClosed: - - - 643.572 - - - - - - - - - - - - - - - - - - - - - - - - -

2012-07-21 20:24:55 GET comment server INFO 200 - LiveMediaStreamHandler.sessionClosed: reconnect: isCurrentSession:false tryConnect:false - - - 643.575 - - - - - - - - - - - - - - - - - - - - - - - - -

2012-07-21 20:25:09 GET comment server INFO 200 - LiveMediaStreamHandler.shutdown: [Lcom.wowza.wms.mediacaster.wowza.LiveMediaStreamURL;@bbc732 - - - 657.576 - - - - - - - - - - - - - - - - - - - - - - - - -

2012-07-21 20:25:09 GET comment server INFO 200 - LiveMediaStreamHandler.disconnect: (SOCKET, R: /192.168.0.10:1935, L: /0:0:0:0:0:0:0:0:52342, S: /192.168.0.10:1935) - - - 657.58 - - - - - - - - - - - - - - - - - - - - - - - - -

2012-07-21 20:25:09 GET comment server INFO 200 - LiveMediaStreamHandler.sessionClosed: - - - 657.582 - - - - - - - - - - - - - - - - - - - - - - - - -

2012-07-21 20:25:09 GET destroy stream INFO 200 rtmp://192.168.0.10:1935/liverepeater/definst/onews_200 - - - - 69.666 - - - - - - - - - - 2 0 0 0 rtmp://192.168.0.10:1935/liverepeater/definst/onews_200 - - - - - /rtmp://192.168.0.10:1935/liverepeater/definst/onews_200 /rtmp://192.168.0.10:1935/liverepeater/definst/onews_200 - - -

2012-07-21 20:25:09 GET comment server INFO 200 - LiveMediaStreamHandler.sessionClosed: reconnect: isCurrentSession:false tryConnect:false - - - 657.588 - - - - - - - - - - - - - - - - - - - - - - - - -

2012-07-21 20:25:10 GET app-stop application INFO 200 definst liverepeater/definst -