Skip to content

A high efficient Tcp server based on Epoll, Using reactor and producer consumer threadpool pattern. And use memory pool to improve the efficiency. prefer to use binary protocol to support some financial trading.

License

Notifications You must be signed in to change notification settings

EthanHao/EpollServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCP Server

A high efficient Tcp server based on Epoll, Using reactor and producer consumer threadpool pattern. And use memory pool to improve the efficiency. prefer to use binary protocol to support some financial trading.

Instruction

1. Simply introduce the Reactor pattern.

Usually the reactor pattern use one process and one thread. The main goal of Reactor pattern is to seperate the application sepecific code.

reactor

2. Reactor pattern with threadpool

Open Device

3.The detail of worker

Open

About

A high efficient Tcp server based on Epoll, Using reactor and producer consumer threadpool pattern. And use memory pool to improve the efficiency. prefer to use binary protocol to support some financial trading.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published