-
Notifications
You must be signed in to change notification settings - Fork 1
Home
sean_codes edited this page Dec 30, 2016
·
6 revisions
The fastest Pure NodeJS Websockets For Sending Text/JSON (strings)
Still a work in progress! Comments = ~functions just not moved yet!
Text only based networking for simple JSON networking
Local Machine ~3,000 per second 256 byte string Up/Down
100k 127byte strings Up/Down in 1 minute. ~5-20 seconds faster than WS
Remote ~500+ 256 byte string Up/Down (Coffee Shop Wireless Connection)
#Usage An echo server
const csServer = require('./csServer');
csServer.on('open', function(client){
client.on('message', function(message){
this.sendMessage(this, message);
});
});