We help IT Professionals succeed at work.

Tuning Wowza Server

ldvhai
ldvhai asked
on
77 Views
Last Modified: 2020-04-28
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.
Comment
Watch Question

Fractional CTO
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
David FavorFractional CTO
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
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.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.