michetti / socket.io-benchmark Goto Github PK
View Code? Open in Web Editor NEWSimple Socket.IO Benchmark
Simple Socket.IO Benchmark
Very often I'm getting the following error (see the stacktrace) when running the benchmark. It could happen even on a small number of users (30-50 users).
TypeError: Cannot call method 'packet' of null
at Socket.packet (/my/dir/node_modules/socket.io-client/lib/socket.js:290:22)
at SocketNamespace.packet (/my/dir/node_modules/socket.io-client/lib/namespace.js:64:17)
at SocketNamespace.emit (/my/dir/node_modules/socket.io-client/lib/namespace.js:113:17)
Hello i tried to use this benchmark tool and i cant seem to understand my results. When i try to benchmark my socketio remote server from my pc i cant reach more than 150-200 users, but when i do the same test from the remote server to himself (localhost) i can get 3000+ users easily.I believe this is an issue with traffic and bandwith from my pc am i correct? can i do anything to test this without using 100+ pc to simulate clients?
Hi - How can you stop the process in the code after it reaches total # of ? Any idea.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.