/myReactorServer

A High Performance C++ Reactor Web Server

Primary LanguageC++

myReactorServer: A C++ Reactor Web Server

v1: myReactor

  • a step-by-step muduo-like web server implementation

v2: myReactorServer

  • a little step beyond muduo, add several modifications on v1

v3: myReactorServer with efficient buffer design and connection pool

  • performance increased 1.5-fold in terms of nonpersistent connection, 8.5-fold in terms of persistent connection, comparing with moduo, look here

  • one eventloop per thread + thread pool

  • Nignx-like connection pool

  • more efficient buffer design: sds(simple dynamic string, Redis-like) + scatter IO

  • more in process...look here