Comments (6)
I do not want to support permessage-deflate before, because it's easy to be implemented by the application layer and not all ws clients support it and the server could decide to not compress.
But since you have proposed it, we make it on the road map.
from nbio.
have implemented decompress for the server in a new branch:
9e4b46f
I'll go on to implement compress after some rest
from nbio.
from nbio.
I ran auto_bahn against it. There are a few failures to work through but good start.
Done with all the compression, and the newest Autobahn WebSocket Testsuite report:
https://lesismal.github.io/nbio/websocket
It cost 2 hours on my laptop, such a long run, my laptop has a fever 😂 ......
Please try it yourself and enjoy it 😄 .
from nbio.
Thanks. I can't today but will check it out over the next few days. Next thing we need to do is a performance comparison between the most popular golang websocket apis. I can get this done over the next few days. We also need to track and increase code coverage.
from nbio.
Next thing we need to do is a performance comparison between the most popular golang websocket apis
we may focus on some points:
- the performance and memory reduction in high concurrency service
- not limited to a simple echo service, hard to explain, it's kind of about the cross-goroutine memory management in nbio, compared to std who use the same buffer reuse in the same goroutine for each connection, and the different frameworks' scheduling cost. for a low concurrency service, nbio runs no better than std, even worse than std.
from nbio.
Related Issues (20)
- 如何增加序列化和反序列化的函数? HOT 3
- how to use with so reuseport option for the http example? HOT 3
- one more question. thx for the prompt reply, how well does it scale as a client? HOT 7
- just tested the performance of nbio tcp https on multicore system. it's great! but... how to do h2? HOT 1
- am i asking for a lot? pushing for tcp performance and nbios hit the mark but... HOT 18
- curious about the "total success" HOT 28
- how to increase the eventloop from the tls server example? HOT 5
- only 2,000 req/s with redis client example but using tls server example modification, i can get 25,000 req/s. what's wrong? HOT 2
- 请教大佬,在很短的时间里,向同一个conn推送多次数据 HOT 7
- 使用udp发送数据,会存在丢包! HOT 13
- Retract v1.5.4 HOT 6
- how to set so reuseport option for server? HOT 1
- 1.5.6 仍可能存在潜在bug HOT 29
- What is the principle of realizing 10 million connections to a single server? HOT 1
- WS客户端发送超高压缩率内容,可导致服务器OOM HOT 14
- onClose 没有调用 HOT 2
- InsecureSkipVerify=false的时候,无法进行TLS连接 HOT 7
- 请教下关于二进制数据压缩的问题 HOT 3
- LetsEncrypt HOT 1
- 大佬有交流群吗 HOT 4
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 nbio.