在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:eranyanay/1m-go-websockets开源软件地址:https://github.com/eranyanay/1m-go-websockets开源编程语言:Go 91.6%开源软件介绍:Going Infinite, handling 1M websockets connections in GoThis repository holds the complete implementation of the examples seen in Gophercon Israel talk, 2019.
It doesnt intend or claim to serve as a better, more optimal implementation than other libraries that implements the websocket protocol, it simply shows a set of tools, all combined together to demonstrate a server written in pure Go that is able to serve more than a million websockets connections with less than 1GB of ram. UsageThis repository demonstrates how a very high number of websockets connections can be maintained efficiently in Linux Everything is written in pure Go Each folder shows an example of a server implementation that overcomes various issues raised by the OS, by the hardware or the Go runtime itself, as shown during the talk.
A single client instance can be executed by running RemarksThis repo consists of a set of examples that were demonstrated during a live talk in Gophercon. What you see is what you get - while the implementation is fully functional, it doesn't intend to serve as a production-ready code, and no new features that were asked will be added. The only purpose of this repository is to serve as a reference and a case study. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论