[Red5] Max connections

Mondain mondain at gmail.com
Mon Dec 22 13:27:22 PST 2008


Just to let everyone know from a core dev perspective, there is no
hard-coded limit to the number of connections. This is unless you consider
MAX_INTEGER a limit in your application (max size of most if not all of the
java collections). Your mileage will vary with red5 depending upon the
resource available to the server and JVM within which it will run.
Paul

On Mon, Dec 22, 2008 at 3:07 AM, Naicu Octavian <naicuoctavian at gmail.com>wrote:

>
> Myabe there is a OS limit on IO operations for each process that is
> limiting you..
>
>
> On Mon, Dec 22, 2008 at 3:45 AM, Joel Ettinger <ettinger.joel at gmail.com>wrote:
>
>> Hi,
>>
>> I'll try to give you more info tomorrow once i'll look at the machine
>> config but:
>>
>> I didn't precise the profile of the machine since I don't think it's
>> relevant.
>> We added some memory to the machine without change in the number of
>> connections (from 512 Mo to 1024 Mo).
>>  We had a go at running a second red5 instance on the same machine on
>> different ports. And we reached some 1700 connections, having still a
>> machine quite responsive if we can judge by the connection rate.
>>
>> So my understanding is of a inner limit of Red5 around 900 connections.
>>
>> Machine profile from memory:
>> VM onVMWare
>> OS:
>> Ubuntu server 8.0.4.1
>> Memory: 512 Mo and then 1024 Mo
>>
>>
>> Message: 2 Date: Sat, 20 Dec 2008 11:49:43 +0200 From: "Naicu Octavian"
>> <naicuoctavian at gmail.com> Subject: Re: [Red5] Max connections To:
>> red5 at osflash.org Message-ID:
>> <d41e479a0812200149s411b02d2i32fd55da957bded4 at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8" Can you share more info about
>> the server's hardware?! How about the CPU?! Was it stressed with 900
>> simultaneous users?! And how would Red5 not accept any other clients?!
>> Would it rreject them or throw hideous errors during connection?! Naicu
>> Octavian On Fri, Dec 19, 2008 at 5:57 PM, Joel Ettinger
>> <joel.ettinger at proboks.com>wrote:
>> > > Hello all,
>> > >
>> > > I read in the archive a discussion about max number of connections in
>> > > Red5 but it's not directed at the same issue we have.
>> > >
>> > > We wrote some applications to be hosted on Red5:
>> > >
>> > > 1 Notification application
>> > > 2 Chat application
>> > >
>> > > We made some simple load tests on our app and we had some issues:
>> > >
>> > > We couldn't connect more than about 900 clients to the server. Each
>> > > client register to a different stream, since the aim is to notify
>> users
>> > > of personnal events. There is still plenty of memory left on the
>> > > computer at that time, but the server doesn't accept any more
>> connection.
>> > >
>> > > I would like to know if there is a limit of connections, and if
>> there's
>> > > a way to make this number higher
>> > >
>> > > Thanks in advance.
>> > >
>> > > Joel
>> > >
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>


-- 
http://gregoire.org/
http://osflash.org/red5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20081222/0be237e3/attachment.html>


More information about the Red5 mailing list