Avatar of ldvhai

asked on 

Tuning Wowza Server

Hi Experts,

We have a Wowza VPS for POC/ Staging environment with 8vCPU, 12GB RAM on CentOS 7.

As the title, we would like to ask how to tune up our streaming VPS, because it seems consuming RAM a lots.

Ex: The hardware, Java heap size, thread pool size, kernel settings, vice versa...

We will be very appreciated with any advise from you, experts.

Many thanks.
System UtilitiesHardware* CentOS

Avatar of undefined
Last Comment
David Favor
Avatar of David Favor
David Favor
Flag of United States of America image

Blurred text
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of David Favor
David Favor
Flag of United States of America image

One other consideration about audio/video streaming.

Java, to me, would be the absolute last language I'd choose for anything, especially streaming.

You'll end up with a mess of code which will be a nightmare to maintain + enhance.

You'll also always have time draining additional tasks like keeping TLS certs working for correct HTTPS.

The way I handle audio/video streaming consists of a few primary steps.

1) Transcode audio/video files as highly compress HD files.

2) For audio, if there's only one speaker, target mono mixing in output file.

3) For audio, spoken word only (like Podcasts or Courseware) compresses even more.

4) For video, Courseware targets lowest FPS possible, sometimes 1-5 FPS, depending on how rapidly video content actually changes.

5) For streaming use Apache + PHP + pseudo streaming.

The search - site:github.com php pseudo streaming 206 - provides a great starting point for streaming code.

6) Using #5-#6, you can have a fully functional streaming system working in a few minutes, which can handle 1,000,000s of simultaneous streams because this code uses Apache 206 (Ranged Responses).

If working with Wowza turns out to be unacceptably time consuming, you can always fall back to #5-#6 here, to be up + running in a few minutes.

Hardware includes cell phones and other digital living devices, tablets, computers, servers, peripherals and components, printers and scanners, gaming consoles, networking hardware such as routers, hubs, switches and modems, storage devices and security equipment such as firewalls and other appliances.

Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews


IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo