Skip to content

celeron633/MyReactor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyReactor

项目介绍

  • 个人C++服务器编程练习项目,模仿muduo实现的基于epoll的网络编程库,用于学习epoll和reactor模式服务器编程,epoll使用LT模式

开发环境

  • linux kernel version 4.15.0 (ubuntu 20.04 desktop)
  • gcc version 7.5.0 (cxx11 support required)
  • cmake version 3.10.2

编译指导

  • 先需要安装jsoncpp
sudo apt install libjsoncpp-dev
  • 开始编译
git clone ${project_url}
cd MyReactor
mkdir -p build
cd build
cmake ..
make

TODO

  • 基本功能测试(连接建立,读写,断开)

  • 实现TimerQueue

  • 实现TcpClient类

  • 优化Log打印功能

  • 实现一个异步日志类 ASyncLog

  • 实现基于Poll的多路复用器 PollPoller

  • 实现多EventLoop

  • 实现一个简易的http服务器

  • 实现一个socks5代理服务器

性能测试

About

personal muduo library implement

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published