uWebSockets: Scalable WebSocket server library for Node.js and C++11
1–10 of 87 posts
Re: uWebSockets: Scalable WebSocket server library for Node.js and C++11
#2Currently using pypy+tornado-sockjs. Works OK.
Re: uWebSockets: Scalable WebSocket server library for Node.js and C++11
#3Anything similar in Python? Currently using pypy+tornado-sockjs. Works OK.
Re: uWebSockets: Scalable WebSocket server library for Node.js and C++11
#4Re: uWebSockets: Scalable WebSocket server library for Node.js and C++11
#5Re: uWebSockets: Scalable WebSocket server library for Node.js and C++11
#6Anything similar in Python? Currently using pypy+tornado-sockjs. Works OK.
"Uvloop: Fast Python networking" https://news.ycombinator.com/item?id=11625585
Maybe paired with Growler: "Growler: Asyncio Micro-Framework in Python" https://news.ycombinator.com/item?id=11632181
"Simple websocket server with uvloop.": https://gist.github.com/kracekumar/daf10b3be3191a78b037c0c79...
Re: uWebSockets: Scalable WebSocket server library for Node.js and C++11
#7I'm currently using the `ws` library for a custom live-streaming solution (broadcasting binary data) and the memory/CPU usage is indeed not small for a handful of clients. What does `uws` bring new (technically) to the table?
Swap require('ws') with require('uws') and see how it works for your code, report any issues if you need them fixed.
Well, of course there is a 20-30x perf boost, 10-40x memory improvement compared to ws (as the benchmark table shows).
Re: uWebSockets: Scalable WebSocket server library for Node.js and C++11
#8I'm currently using the `ws` library for a custom live-streaming solution (broadcasting binary data) and the memory/CPU usage is indeed not small for a handful of clients. What does `uws` bring new (technically) to the table?
There is nothing new brought to the table, feature wise. Same old ws interface, you keep your current code unchanged. Swap require('ws') with require('uws') and see how it works for your code, report any issues if you need them fixed. Well, of course there is a 20-30x perf boost, 10-40x memory improvement compared to ws (as the benchmark table shows).
Re: uWebSockets: Scalable WebSocket server library for Node.js and C++11
#9Anything similar in Python? Currently using pypy+tornado-sockjs. Works OK.
Re: uWebSockets: Scalable WebSocket server library for Node.js and C++11
#10I'm currently using the `ws` library for a custom live-streaming solution (broadcasting binary data) and the memory/CPU usage is indeed not small for a handful of clients. What does `uws` bring new (technically) to the table?