Comments (2)
engine.io has its format in binary. It's not raw websocket protocol.
What kind of bench mark are you need? I'm working on new version now (check
1.4 branch), and I'm happy to hear some new requirement from real world.
ruandao [email protected]于2016年8月22日 周一上午10:00写道:
I had try websocket-bench but it seem something error, is there other way
to bench test engine.io?appledeMacBook-Pro-2:websocket ruandao$ websocket-bench -g generator.js -t engine.io -a 100 -c 40 http://localhost:5000/engine.io/
Launch bench with 100 total connection, 40 concurent connection
0 message(s) send by client
1 worker(s)
WS server : engine.io
/usr/local/lib/node_modules/websocket-bench/lib/worker.js:36
var worker = new BenchmarkWorker(server, generator, verbose);
^TypeError: BenchmarkWorker is not a function
at Object. (/usr/local/lib/node_modules/websocket-bench/lib/worker.js:36:14)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
at startup (node.js:142:18)
at node.js:939:3
events.js:154
throw er; // Unhandled 'error' event
^Error: channel closed
at ChildProcess.target.send (internal/child_process.js:523:16)
at Benchmark._nextStep (/usr/local/lib/node_modules/websocket-bench/lib/benchmark.js:87:21)
at Timeout._onTimeout (/usr/local/lib/node_modules/websocket-bench/lib/benchmark.js:100:13)
at tryOnTimeout (timers.js:224:11)
at Timer.listOnTimeout (timers.js:198:5)—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#42, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAeTjmUdrBbfjPOax_8jwxRV50yTaU1lks5qiQKwgaJpZM4JpdHI
.
from go-engine.io.
thank you for the reply.
I had found io-bench which is support engine.io test.
as I am a beginner of the engine.io, i just want to test and run it alone, knowing what code I write may become the bottleneck
from go-engine.io.
Related Issues (20)
- Stall in upgrade (race condition) HOT 7
- panic: close of closed channel HOT 6
- http: response.WriteHeader on hijacked connection HOT 1
- Polling p.sendChan may cause a great delay (20+ secs) HOT 1
- Panic on send to pingChan in OnPacket HOT 2
- Parser does not work with Batches of messages on a Packet HOT 1
- Server.ServeHTTP: when newServerConn failed should decrease connection count HOT 1
- Goroutine leak HOT 1
- send on closed channel && close of closed channel HOT 4
- v1.4 现在是否已完工,能否线上使用,谢谢 HOT 2
- panic: concurrent write to websocket connection HOT 1
- panic: close of closed channel HOT 8
- Which socket io specification this go-engine.io implements? HOT 1
- Fix check origin gorilla web socket HOT 6
- PingChan can be closed outside of the pingLocker HOT 2
- read & write different goroutines concurrent HOT 4
- panic: concurrent write to websocket connection HOT 1
- Client read TCP timeout when pingTimeout is less than pingInterval
- PROJECT MOVED! To go-socket.io. Don't open new issues here!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-engine.io.