# Maximizing Concurrent Incoming Streams

**URL:** https://community.wowza.com/t/maximizing-concurrent-incoming-streams/720
**Category:** Wowza Streaming Engine
**Created:** [December 6, 2012, 8:49pm UTC](https://community.wowza.com/t/maximizing-concurrent-incoming-streams/720 "2012-12-06T20:49:14Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)
#### Post date: [December 6, 2012, 8:49pm UTC](https://community.wowza.com/t/maximizing-concurrent-incoming-streams/720/1 "2012-12-06T20:49:14Z")

</div>

From reading through the forums it seems that one server seems to max out around 100 concurrent incoming streams. We are currently right around that number and slightly over at times and are trying to develop a plan to go to 200+ simultaneous incoming streams. Is it possible to have multiple origin servers where all broadcasters can connect to one rtmp URL? Maybe in a 2 origin and 1 edge configuration where all users connect their encoders to the same rtmp URL. Then, a load balance type system routes the incoming stream to one origin or the other?

We are trying to avoid the need for some users to connect to rtmp://origin1.domain.com and some users connect their encoders to rtmp://origin2.domain.com.

Is something like this possible?

Thanks!

Mark

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [December 7, 2012, 2:09am UTC](https://community.wowza.com/t/maximizing-concurrent-incoming-streams/720/2 "2012-12-07T02:09:15Z")

</div>

Mark,

You might be able to develop using this technique

[https://www.wowza.com/docs/how-to-do-server-side-redirect-of-rtmp-connections-from-one-application-to-another](https://www.wowza.com/docs/how-to-do-server-side-redirect-of-rtmp-connections-from-one-application-to-another)

[https://www.wowza.com/docs/how-to-redirect-an-http-or-rtsp-session-through-server-side-code](https://www.wowza.com/docs/how-to-redirect-an-http-or-rtsp-session-through-server-side-code)

It would be up to you to figure out how to track where things were happening and redirect as necessary.

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [December 7, 2012, 4:08am UTC](https://community.wowza.com/t/maximizing-concurrent-incoming-streams/720/3 "2012-12-07T04:08:51Z")

</div>

The Wowza load balancer is for distributing client connections to edge servers in a live repeater or MediaCache edge cluster. The live repeater system has a way to fail-over to a back up origin.

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

This is what we have built-in or ready to add to Wowza.

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [December 9, 2012, 2:17pm UTC](https://community.wowza.com/t/maximizing-concurrent-incoming-streams/720/4 "2012-12-09T14:17:08Z")

</div>

Mark,

It might help to reduce bit rate, but I don’t think the bit rate of the incoming stream is that much of a factor.

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [December 10, 2012, 1:33pm UTC](https://community.wowza.com/t/maximizing-concurrent-incoming-streams/720/5 "2012-12-10T13:33:16Z")

</div>

You won’t be writing to disk, so that is less overhead.

Richard

---

<div class="post-metadata">

### Author: ![Mark\_Winker](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@Mark\_Winker](https://community.wowza.com/u/Mark_Winker)
#### Post date: [December 6, 2012, 10:36pm UTC](https://community.wowza.com/t/maximizing-concurrent-incoming-streams/720/6 "2012-12-06T22:36:03Z")

</div>

Thanks for the quick reply and helpful info. As a follow up question, would a server load balancing type of system work where we basically mirror the existing server and use some sort of server load balance system?

Thanks again!

Mark

---

<div class="post-metadata">

### Author: ![Mark\_Winker](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@Mark\_Winker](https://community.wowza.com/u/Mark_Winker)
#### Post date: [December 7, 2012, 7:39am UTC](https://community.wowza.com/t/maximizing-concurrent-incoming-streams/720/7 "2012-12-07T07:39:50Z")

</div>

This is very helpful for our discussions here. One new question… If connecting to different origin addresses like rtmp://origin1.domain.com and rtmp://origin2.domain.com was not an issue, what are some of the most common methods that people use to grow past the 100 concurrent incoming stream maximum?

Thanks!

Mark

---

<div class="post-metadata">

### Author: ![Mark\_Winker](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@Mark\_Winker](https://community.wowza.com/u/Mark_Winker)
#### Post date: [December 8, 2012, 12:22pm UTC](https://community.wowza.com/t/maximizing-concurrent-incoming-streams/720/8 "2012-12-08T12:22:55Z")

</div>

One more quick question… If our server’s memory and CPU resources max out at 100 concurrent incoming “live-record” streams, would we be able to have more if they were simply “live” incoming streams (i.e. not recording to hard drive)? Basically the question is, does it take more RAM and/or CPU to do “live-record” vs. just “live”? And if so, would rough percentage increase in concurrent incoming connections would we be able possibly see (5% more, 50% more?)?

Thanks again,

Mark

---

<div class="post-metadata">

### Author: ![Mark\_Winker](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@Mark\_Winker](https://community.wowza.com/u/Mark_Winker)
#### Post date: [December 9, 2012, 8:32am UTC](https://community.wowza.com/t/maximizing-concurrent-incoming-streams/720/9 "2012-12-09T08:32:34Z")

</div>

Here is one more question to add to my post above… If RAM is our limiting factor for the maximum number of concurrent incoming streams, would we be able to get 50% more (or some percentage more) if all the incoming streams broadcast bit rate was lowered by 50%? Or, would is the incoming stream’s bit rate not a major factor in determining the maximum number of incoming streams a server can handle? I’m just trying to understand things a little as we make our plans to scale up.

Thanks,

Mark

---

<div class="post-metadata">

### Author: ![Mark\_Winker](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@Mark\_Winker](https://community.wowza.com/u/Mark_Winker)
#### Post date: [December 9, 2012, 11:59am UTC](https://community.wowza.com/t/maximizing-concurrent-incoming-streams/720/10 "2012-12-09T11:59:32Z")

</div>

Thanks for the info on the bit rate. Would switching to “live” vs. “live-record” help any?

Thanks again,

Mark

---

<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: [December 7, 2012, 1:11pm UTC](https://community.wowza.com/t/maximizing-concurrent-incoming-streams/720/11 "2012-12-07T13:11:12Z")

</div>

Hi

Wowza doesn’t have a connection limit, it but if you wanted to spread out the load you would have multiple origin servers for incoming streams.

Jason
