how many client crtmp server can supoort in product env

451 views
Skip to first unread message

ZhangDaqian

unread,
Mar 9, 2011, 6:19:00 AM3/9/11
to c-rtmp...@googlegroups.com
hi,
Today  I test 100 clinent .(lan local network).
here is what i do.
1.publish a stream test,
2.use xuggle ffmpeg -i rtmp://ip/flvplayback/test -f flv rtmp://ip/flavplayback/test$i(test1 - test 100)
3.i run setp 2 100 times. in a script.

4.it seems work well. I just want to know what is the max client? at lan env.

Madhawa Jayanath

unread,
Mar 9, 2011, 6:26:56 AM3/9/11
to c-rtmp...@googlegroups.com, ZhangDaqian
Hello ZhangDaqian,
MAX connection =< NIC Port Speed/Stream Bit-rate



You received this message because you are subscribed to "C++ RTMP Server" mailing list.
To post to this group, send email to c-rtmp...@googlegroups.com
To unsubscribe from this group, send email to
c-rtmp-serve...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/c-rtmp-server?hl=en



--
Best regards,
Madhawa Jayanath

Senior Software Engineer
101 Global Co.,Ltd.
999/9 # 2409 Rama 1, Pathumwan
Bangkok, 10330. Thailand
INUM +883-510-07-403-6540
Tel. +66.840839412
FAX. +66.26480995


Sent from my NoteBook® by Hand

C++ RTMP Server

unread,
Mar 9, 2011, 7:31:31 AM3/9/11
to c-rtmp...@googlegroups.com
Hi,

You might want to use a bigger gun for that :)

And guess what, crtmpserver's performance can be used against itself and other servers. Look inside the config file and search for stresstest application.

Key points is to replace mp4:lg.mp4 with your live/vod stream, put active on true and set the number of connections (limited to 1000 now). After that, start the server normally and start another instance on a separate computer using the modified config file.

Have fun.

Cheers,
Andrei

> You received this message because you are subscribed to "C++ RTMP Server" mailing list.
> To post to this group, send email to c-rtmp...@googlegroups.com
> To unsubscribe from this group, send email to
> c-rtmp-serve...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/c-rtmp-server?hl=en

------
Eugen-Andrei Gavriloaie
Web: http://www.rtmpd.com

C++ RTMP Server

unread,
Mar 9, 2011, 7:37:46 AM3/9/11
to c-rtmp...@googlegroups.com
Also, forgot to mention...

PLEASE give FreeBSD a chance! You will get pleasant surprises compared to any linux in existence. This is due to clear superiority of kqueue over epoll and way better memory management.

Cheers,
Andrei

On Mar 9, 2011, at 1:19 PM, ZhangDaqian wrote:

ZhangDaqian

unread,
Mar 9, 2011, 7:50:29 AM3/9/11
to c-rtmp...@googlegroups.com
Thanks ,I will try.
I don't quite know about freeBSD,but i will tyr it.it looks well.
Anyway,I don't know if this is a right place. these days i want a share memory queue for IPC,but i don't find any open source on that topic.so i am going to write it by myself and  i want use boost.interprocess.
But anybody know something on this topic.i need this queue can be mutil-write and mutil-read.

Andriy

unread,
Mar 9, 2011, 8:54:59 AM3/9/11
to C++ RTMP Server
Hi,
<troll-mode>
nowai :) as soon as you give a chance to FreeBSD+crtmpserver you get a
lot of problems in all other things except crtmpserver :)
So acceptable is only if FreeBSD-node is one-service-node :) But that
seldom happens.
</troll-mode>

And yes, kqueue have better performance than epoll :)
>  smime.p7s
> 5KПросмотретьЗагрузить

C++ RTMP Server

unread,
Mar 9, 2011, 9:53:09 AM3/9/11
to c-rtmp...@googlegroups.com

On Mar 9, 2011, at 3:54 PM, Andriy wrote:

> Hi,
> <troll-mode>
> nowai :) as soon as you give a chance to FreeBSD+crtmpserver you get a
> lot of problems in all other things except crtmpserver :)

No comment....

> So acceptable is only if FreeBSD-node is one-service-node :) But that
> seldom happens.

Again, no comment...

> </troll-mode>
>
> And yes, kqueue have better performance than epoll :)

Not only that, but linux lacks important POSIX features inside socket system which are ***critical*** for performance
And is understandable... :) sockets were initially invented by Berkeley University (where BSD originates).
http://en.wikipedia.org/wiki/Berkeley_sockets

I guess that the fine people in linux world thought that spitting out huge quantities of software will actually compensate for performance and reliability. They spend huge amounts of time and effort on polishing "linux distributions" with features like "How easy is to install software on debian". when in fact they should spend that time into process schedulers, networking subsystems and implementing the standards by the book.

Is sad..

Andriy

unread,
Mar 9, 2011, 11:10:39 AM3/9/11
to C++ RTMP Server
Hi,
I think FreeBSD-community must stop researching and cleaning up
schedulers and networking subsystems, and finally fix inability to run
the operating system if /etc/rc.conf has trivial syntax errors(like
forgotten/lost quote at end of line).. THIS is totally sad :)
Especially if server is remote :)

Anyway this is simle holy-war :)

On 9 мар, 16:53, C++ RTMP Server <crtmpser...@gmail.com> wrote:
> On Mar 9, 2011, at 3:54 PM, Andriy wrote:
>
> > Hi,
> > <troll-mode>
> > nowai :) as soon as you give a chance to FreeBSD+crtmpserver you get a
> > lot of problems in all other things except crtmpserver :)
>
> No comment....
>
> > So acceptable is only if FreeBSD-node is one-service-node :) But that
> > seldom happens.
>
> Again, no comment...
>
> > </troll-mode>
>
> > And yes, kqueue have better performance than epoll :)
>
> Not only that, but linux lacks important POSIX features inside socket system which are ***critical*** for performance
> And is understandable... :) sockets were initially invented by Berkeley University (where BSD originates).http://en.wikipedia.org/wiki/Berkeley_sockets
>  smime.p7s
> 5KПросмотретьЗагрузить

Eugen-Andrei Gavriloaie

unread,
Mar 9, 2011, 12:52:24 PM3/9/11
to c-rtmp...@googlegroups.com

Mindset typical for linux lover: "is the os fault if it doesn't accept my garbage. Never mind. I'll find another linux that does that".

Eugen-Andrei Gavriloaie

unread,
Mar 9, 2011, 12:53:42 PM3/9/11
to c-rtmp...@googlegroups.com

I can fix that syntax error. Can you fix the performance in linux?

On Mar 9, 2011 6:10 PM, "Andriy" <loland...@gmail.com> wrote:

anice...@gmail.com

unread,
May 10, 2016, 3:05:51 AM5/10/16
to C++ RTMP Server
why limited to 1000?when i set 1500, i found just 1011 sucessfully, what‘s the reason?

在 2011年3月9日星期三 UTC+8下午8:31:31,Eugen-Andrei Gavriloaie写道:
Reply all
Reply to author
Forward
0 new messages