# Concurrent connections

**URL:** <https://community.wowza.com/t/concurrent-connections/39282>\
**Category:** Wowza Streaming Engine\
**Created:** [September 16, 2012, 11:49pm UTC](https://community.wowza.com/t/concurrent-connections/39282 "2012-09-16T23:49:57Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cuong\_Pham](https://avatars.discourse-cdn.com/v4/letter/c/96bed5/32.png) [@Cuong\_Pham](https://community.wowza.com/u/Cuong_Pham)\
**Post date:** [September 16, 2012, 11:49pm UTC](https://community.wowza.com/t/concurrent-connections/39282/1 "2012-09-16T23:49:57Z")

</div>

Hi everyone!

Im going to setup a VOD system using wowza to stream video with a bit rate of 1,5 Mbits/sec, 2gb bandwidth.

I have 2 servers x3650 M2.

CPU: Quad-Core Intel® Xeon® Processor E5504 - 2 GHz

and E5520 2.26GHz

Ram: 2Gb

Network: 1Gb Ethernet.

OS: windows server 2008 R2

Please tell me the maximum concurrent connections for each server!

thanks!

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [September 17, 2012, 10:35am UTC](https://community.wowza.com/t/concurrent-connections/39282/2 "2012-09-17T10:35:40Z")

</div>

Hi

You should really have 4Gb RAM as this is the minimum spec suggested by Wowza.

Bandwidth is always a limiting factor, you’ll only get about 1.6Gb bandwidth as there is a 20% overhead giving you about 1066 connections at your max.

1600Mb / 1.5Mb = 1066 connections

1066 / 2 = 533 connections per server.

Jason

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [September 23, 2012, 10:29pm UTC](https://community.wowza.com/t/concurrent-connections/39282/3 "2012-09-23T22:29:09Z")

</div>

Hello praveen,

The information I have available is in the benchmarks listed in the [FAQ](https://www.wowza.com/faq#cat-performance-scalability) under “Have you conducted and performance tests?”.

Usually the limiting factor will be Network Bandwidth. Java also has a data throughput limit of 5Gbps.

You can test real-world performance using the [Wowza Load Testing tool](https://www.wowza.com/docs/how-to-get-flash-rtmp-load-test-tool).

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [September 17, 2012, 4:31pm UTC](https://community.wowza.com/t/concurrent-connections/39282/4 "2012-09-17T16:31:31Z")

</div>

Hi

That’s correct, having a quad-core CPU should be enough for what you’ve mentioned so far.

Jason

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [September 9, 2013, 4:40pm UTC](https://community.wowza.com/t/concurrent-connections/39282/5 "2013-09-09T16:40:49Z")

</div>

Hi,

Looking at the link you provided it says:

Assume that Wowza can only serve only 5 Gbps,

Some of our customers have been able to get up to 10Gbps of streaming performance for both live and on-demand on multi-threaded, multi-CPU machines that were finely tuned at the kernel level. On standard servers with dual quad-core processors and multiple NICs, up to 5Gbps of streaming performance can be achieved if the server is properly tuned. Tuning guidance is available in our Performance Tuning Guide.

Going off the stream bitrate (600 Kbps) and the concurrent connections at peak time (50,000 users), you will need around 8 servers at this specification.

600 Kbps x 50,000 users = 30 Gbps which is impossible with one server limited a maximum of 5 Gbps.

Realistically you’re looking at 6,650 connections per server assuming a 5 Gbps connection is available, giving a 20% overhead.

600 Kbps x 6,650 = 3.99 Gbps

50,000 /6,650 = 7.51

50,000 = Total users, 6,650 = Connections per server and 7.51 = Servers needed.

Jason

---

<div class="post-metadata">

**Author:** ![Praveen\_Valaboju](https://avatars.discourse-cdn.com/v4/letter/p/e95f7d/32.png) [@Praveen\_Valaboju](https://community.wowza.com/u/Praveen_Valaboju)\
**Post date:** [September 23, 2012, 8:50am UTC](https://community.wowza.com/t/concurrent-connections/39282/6 "2012-09-23T08:50:15Z")

</div>

Hi

we have setup wowza server for live streaming, below are the server and streaming details. i want know how many concurrent session will support my server

Server hardware details

**OS : suse linux**

**Dell PowerEdge R710**

**Dual CPU with 16 cores**

**12GB RAM**

and we have configured

70kbps - 110 channels

180kbps - 110 channels

and 500kbps - 50 channels

Below is setenv.sh script

#!/bin/sh

\_EXECJAVA=java

JAVA\_OPTS="-Xmx6000M"

# Uncomment to run server environment (faster), Note: will only work if server VM install, comes with JDL

JAVA\_OPTS="$JAVA\_OPTS -server"

# Can be a better GC setting to avoid long pauses

JAVA\_OPTS="$JAVA\_OPTS -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+UseParNewGC"

# Uncomment to fix multicast crosstalk problem when streams share multicast port

JAVA\_OPTS="$JAVA\_OPTS -Djava.net.preferIPv4Stack=true"

WMSAPP\_HOME=/usr/local/WowzaMediaServer

WMSCONFIG\_HOME=/usr/local/WowzaMediaServer

WMSCONFIG\_URL=

export WMSAPP\_HOME WMSCONFIG\_HOME JAVA\_OPTS \_EXECJAVA

Thanks

---

<div class="post-metadata">

**Author:** ![Cuong\_Pham](https://avatars.discourse-cdn.com/v4/letter/c/96bed5/32.png) [@Cuong\_Pham](https://community.wowza.com/u/Cuong_Pham)\
**Post date:** [September 17, 2012, 6:43am UTC](https://community.wowza.com/t/concurrent-connections/39282/7 "2012-09-17T06:43:34Z")

</div>

> Hi
> 
> You should really have 4Gb RAM as this is the minimum spec suggested by Wowza.
> 
> Bandwidth is always a limiting factor, you’ll only get about 1.6Gb bandwidth as there is a 20% overhead giving you about 1066 connections at your max.
> 
> 1600Mb / 1.5Mb = 1066 connections
> 
> 1066 / 2 = 533 connections per server.
> 
> Jason

Thank Jason 🙂

As you said, the maximum connection of a server is not depend on CPU? With 2 different server’s CPU above, i have the same CCU for each server?

---

<div class="post-metadata">

**Author:** ![Cuong\_Pham](https://avatars.discourse-cdn.com/v4/letter/c/96bed5/32.png) [@Cuong\_Pham](https://community.wowza.com/u/Cuong_Pham)\
**Post date:** [September 17, 2012, 11:03am UTC](https://community.wowza.com/t/concurrent-connections/39282/8 "2012-09-17T11:03:34Z")

</div>

> Hi
> 
> That’s correct, having a quad-core CPU should be enough for what you’ve mentioned so far.
> 
> Jason

Thank Jason 🙂

---

<div class="post-metadata">

**Author:** ![Ramil\_Amerzyanov](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@Ramil\_Amerzyanov](https://community.wowza.com/u/Ramil_Amerzyanov)\
**Post date:** [September 30, 2012, 4:40am UTC](https://community.wowza.com/t/concurrent-connections/39282/9 "2012-09-30T04:40:16Z")

</div>

What about my server?

Server B:

Intel® Xeon® E3-1245 Quadcore

incl. Hyper-Threading Technology

RAM 32 GB DDR3 RAM ECCHard disks2 x 3 TB SATA 6 Gb/s HDD

7200 rpm (Software-RAID 1)

Enterprise class

Best regards, Ramil

---

<div class="post-metadata">

**Author:** ![Rifki\_Fauzi](https://avatars.discourse-cdn.com/v4/letter/r/e274bd/32.png) [@Rifki\_Fauzi](https://community.wowza.com/u/Rifki_Fauzi)\
**Post date:** [September 9, 2013, 11:22am UTC](https://community.wowza.com/t/concurrent-connections/39282/10 "2013-09-09T11:22:59Z")

</div>

> Hi
> 
> You should really have 4Gb RAM as this is the minimum spec suggested by Wowza.
> 
> Bandwidth is always a limiting factor, you’ll only get about 1.6Gb bandwidth as there is a 20% overhead giving you about 1066 connections at your max.
> 
> 1600Mb / 1.5Mb = 1066 connections
> 
> 1066 / 2 = 533 connections per server.
> 
> Jason

Hi Jason,

eg: if I have unlimited bandwith in my server

is bandwith still a main issue?

we build an app… that targeted have 50,000 concurent connection with video & audio bit rate of 600kbps

the spesification of our server is:

- processor: Intel® Xeon® Processor E7-8830 (24M Cache, 2.13 GHz, 6.40 GT/s Intel® QPI)

- RAM: 64 GB

- network ethernet: 10 Gb

- OS: Ubuntu

[assume that wowza can only serve only 5Gb](https://www.wowza.com/faq#cat-performance-scalability)

how much server do we need to handle that 50k concurent connection?
