A benchmark of Websocket Efficieny as compared to Uwebsockets?

Post here your suggestions for new possible features in SmartFoxServer 2X.

Moderators: Lapo, Bax

User avatar
Zenith
Posts: 55
Joined: 09 Oct 2017, 09:57

A benchmark of Websocket Efficieny as compared to Uwebsockets?

Postby Zenith » 22 Nov 2018, 08:12

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?
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

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

Postby Lapo » 22 Nov 2018, 08:24

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
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “2X Features Wish List”

Who is online

Users browsing this forum: No registered users and 16 guests