Skip to content
schweini edited this page Sep 6, 2015 · 8 revisions

How well does websocketd scale to large numbers of concurrent connections?

I'm not the developer, but AFAIK, you'd be limited by the Server's RAM. Every opened connection would fork a process. So, if you're writing your server in e.g. C, this could be quite small. If you're using something like Perl (as i am), or PHP, this oculd be around 5MB to 10MB.

How much latency does websocketd introduce?

Not the developer, but it should be absolutely minimal, once the connection is established. The initial connection might take some milliseconds, because websocketd will have to fork of a process and start your server process.

How can I send multiple-line messages?

Clone this wiki locally