[Red5devs] Question Regarding Load Testing RTMP
mabrek
mabrek at gmail.com
Mon Sep 1 01:33:28 PDT 2008
RTMPClient from trunk is usefull for load testing. Make a search through
users maillist for Red5Bench and FLVRecorder
http://www.nabble.com/RedBench-to16173475.html , it can be used as a base
for your load testing application.
Beware, RTMPClient consumes more resources per user than server. Don't
forget to increase ulimit -n (number of open files) if you are on linux and
decrease -Xss (jvm stack size) to run many threads.
>From my results I can conclude that one server instance can handle about 3k
concurrent users watching live stream and delay between streams sent and
received can be up to 20 seconds (more users - longer delay). Profiling
showed that PlayEngine.pullAndPush synchronized method causes it, lock is
aquired too often an too many threads waits on it.
On Sun, Aug 31, 2008 at 2:49 AM, Scotty G. <scottyg at gmail.com> wrote:
> Greetings,
>
> Hello world to the Red5 devs.
>
> We're building an AIR application and would like to utilize RTMP for both
> rpc and push communication. We're also looking to push a large amount of
> traffic between our AIR clients and back-end system (i.e. 20k concurrent
> end-users). Does anyone have a recommendation for a load-testing strategy
> for RTMP? I've downloaded the Red5 source and have been playing with the
> RTMPClient. Is this the basis for Red5's load testing harness? Any
> suggestions and/or information is greatly appreciated.
>
> Thanks,
> Scott
>
> _______________________________________________
> Red5devs mailing list
> Red5devs at osflash.org
> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5devs_osflash.org/attachments/20080901/256fbd51/attachment.html
More information about the Red5devs
mailing list