Performance
Customer feedback in 2012: CentOS, 1 CPU, 4GB RAM runned on VM: CPU 10%, Memory 15% 6000 xhr-long polling sessions or 15000 websockets sessions 4000 messages per second
Customer feedback in 2014: "To stress test the solution we run 30 000 simultaneous websocket clients and managed to peak at total of about 140 000 messages per second with less than 1 second average delay." (c) Viktor Endersz - Kambi Sports Solutions
Reference : https://github.com/mrniko/netty-socketio
Performance Characteristics
Scalability
Supports thousands of concurrent connections
Efficient memory usage with connection pooling
Lock-free and thread-safe implementation
Throughput
High message throughput (140,000+ messages/second)
Low latency message delivery
Efficient binary and text message handling
Resource Efficiency
Low CPU usage under load
Efficient memory management
Minimal garbage collection pressure
Running Performance Tests
Optimisation Tips
Use WebSocket Transport: WebSocket is more efficient than polling
Configure Worker Threads: Adjust worker thread count based on your CPU cores
Use Distributed Stores: For multi-node deployments, use Redisson or Hazelcast
Tune Buffer Sizes: Configure write buffer watermarks appropriately
Monitor Resource Usage: Keep an eye on CPU and memory usage
Last updated
Was this helpful?