Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【开源自荐】GWS: 简单易用的高性能Go WebSocket服务器和客户端库 #3623

Open
lxzan opened this issue Nov 13, 2023 · 0 comments
Labels

Comments

@lxzan
Copy link

lxzan commented Nov 13, 2023

https://github.com/lxzan/gws

简介

高性能Go WebSocket Server & Client 实现, 并支持在 TCP / KCP / Unix Domain Socket等不同的传输层上运行WebSocket协议.

亮点

  • 事件风格API
  • 内置广播支持
  • 支持并发写入
  • 读写过程零动态内存分配
  • 通过代理拨号(客户端)
  • 通过所有Autobahn测试用例

基准测试

image

GOMAXPROCS=4, Connection=1000, CompressEnabled=false
Gorilla 和 Nhooyr 未使用Stream API

@ruanyf ruanyf added the weekly label Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants
-