SkillAgentSearch skills...

EpollServer

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.

Install / Use

/learn @EthanHao/EpollServer
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

Related Skills

View on GitHub
GitHub Stars18
CategoryCustomer
Updated2mo ago
Forks10

Languages

C++

Security Score

90/100

Audited on Jan 30, 2026

No findings