Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 1.03 KB

README.md

File metadata and controls

33 lines (19 loc) · 1.03 KB

go-tcp-chat

Exploring TCP programming in Go with goroutine, kqueue, epoll, and their performance difference.

Iteration 1

A basic skeleton of TCP chat client/server that based on goroutine

Iteration 2

Added the support of serving HTTP request

Iteration 3

Added pprof code to test the performance

Iteration 4

Optimize the server with kqueue

Iteration 5

Optimize the server with epoll

NOTE: iteration 4 and 5 has some glitches so far, still working on it

Resources