Page 1 of 1

A benchmark of Websocket Efficieny as compared to Uwebsockets?

Posted: 22 Nov 2018, 08:12
by Zenith
Hi,

There has been huge noise about great performance being given by
uWebsockets library for websocket connections.

While I read smartfoxserver uses Jetty server for managing websocket connections.

So can we get a comparison about performance?
Are you guys planning to upgrade the current websocket protocol to newer things like uWebsockets?

Does it even have any performance benefits?

Re: A benchmark of Websocket Efficieny as compared to Uwebsockets?

Posted: 22 Nov 2018, 08:24
by Lapo
Hi,
Jetty websockets have good performance compared with SFS2X raw socket, which is among the fastest on the market (compared to Netty, Mina & similar engines).

Also, uWebsocket is C++ so, even if it were the next best thing since sliced bread we wouldn't be able to upgrade to it anyways :)
Not that we're looking to upgrade anyways. :) Jetty offers a ton of services besides websockets, while uWebsocket is bare bone websocket implementation.

Cheers