Replace ws with uws?
See original GitHub issuehttps://github.com/alexhultman/uWebSockets
uws
(µWS
/µWebSockets
) claims to be much more performant than ws
:
- 23x better short message throughput
- 21x better connection performance
- 52x less memory
Would be great to see this adopted in engine.io
.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:7
- Comments:19 (11 by maintainers)
Top Results From Across the Web
Replacing ws websocket module with µws module in Node.js
Basically, it is very easy to do the switch. On µws 's Github page, it says it tries to mimic the usage of...
Read more >mastofe
... 7 May 2017 00:05:38 +0900 Replace ws with uws (#2807) * Replace ws with uws * fix indent * Adjust indentation *...
Read more >uws-copy - npm
uws is a replacement module for ws which allows, but doesn't guarantee (certainly not when paired with Socket.IO), significant performance ...
Read more >Replace ws with uws (#2807) · 67b7d3d3b6 - mastodon - Mania ...
Replace ws with uws * fix indent * Adjust indentation * remove trailing space maniasys/3.2.0. Eshin Kunishima pirms 5 gadiem. committed by Eugen...
Read more >uuws: Documentation | Openbase
Node.js binding exposed as the well-known ws interface. ... Server; /* you replace 'ws' with 'uws' */ var wss = new WebSocketServer({ port:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@rauchg How would this happen in practice? I’m not very far from passing all tests and the only “porting” work required is to change
require('ws').Server
torequire('uws').Server
. Opt-in option for a test period?Update: the project is moving quite fast, and pass almost all engine.io tests, see https://github.com/alexhultman/uWebSockets/issues/65. The port to uws looks trivial.