#1 2023-06-12 04:21:40

zuoluoq
Member
Registered: 2017-08-15
Posts: 9

consider uWebsockets/uSockets as the fallback option?

Hi Ab,

https://github.com/uNetworking/uWebSockets

Currently the open source project uWebsockets(relay on uSockets) is widely used,which is written in C/C++ with greate performance,official author provides nodejs lib,
can you consider to integerate it(C/C++ lib interfaces) as the fallback option?
I know you've written the raw socket api as the fallback api crossing OS for http.sys is invalid not in MS OS.

Offline

#2 2023-06-12 06:54:17

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,655
Website

Re: consider uWebsockets/uSockets as the fallback option?

The less external dependencies, the better.

I don't see what is worth using uWebSockets instead of our async websocket server, which is already cross-platform, and has very good performance.
It is more than a TCP server, e.g. it has its own routing API, or its WebSockets API.
I don't think any benefit of using it - especially about performance, where our async server is among the fastests for low-level "ping" responses according to TFB.

Offline

Board footer

Powered by FluxBB