Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Eran Yanay
committed
Feb 13, 2019
1 parent
5ece3c2
commit 729869b
Showing
1 changed file
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
# Going Infinite, handling 1M websockets connections in Go | ||
Nothing fancy, this repository holds the complete implementation of the examples seen in Gophercon Israel talk, 2019. | ||
This repository holds the complete implementation of the examples seen in Gophercon Israel talk, 2019. | ||
|
||
# Usage | ||
This repository demonstrates how a very high scale number of websockets connections can be maintained in Linux | ||
This 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. | ||
|
||
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. | ||
|
||
`setup.sh` is a wrapper to running multiple instances using Docker. See content of the script for more details of how to use it. | ||
|
||
`destroy.sh` is a wrapper to stop all running clients. Note that it removes any running container, so use with caution. | ||
|
||
A single client instance can be executed by running `go run client.go -conn=<# connections to establish>` | ||
|
||
Slides are available [here](https://speakerdeck.com/eranyanay/going-infinite-handling-1m-websockets-connections-in-go) |