Exploring TCP programming in Go with goroutine, kqueue, epoll, and their performance difference.
A basic skeleton of TCP chat client/server that based on goroutine
Added the support of serving HTTP request
Added pprof code to test the performance
Optimize the server with kqueue
Optimize the server with epoll
NOTE: iteration 4 and 5 has some glitches so far, still working on it
- Going Infinite, handling 1 millions websockets connections in Go / Eran Yanay
- Section 4: Golang TCP chat: establish client server connection
- Building a Web Server in C++ [VS 2017] Part 2
- Minimalist TCP server/client in Go using only syscalls - Select() to handle file descriptors
- https://github.com/cppis/elio