Skip to content

Exploring the TCP programming in Go with goroutine, kqueue and epoll

Notifications You must be signed in to change notification settings

Hailong/go-tcp-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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

About

Exploring the TCP programming in Go with goroutine, kqueue and epoll

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages