brecky / DadaServer

demo of TCP server that using epoll & thread pool & database connection pool & HTTP support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DadaServer

Dada(哒哒) is a demo of TCP server that using epoll (libevent) & thread pool (based on BOOST) & mysql connection pool (based on mysql-connector-c++) & HTTP basic GET/POST request handling.

  • Thread pool: done
  • epoll: done, will be rewrite using libevent
  • MySQL connection pool: on going
  • HTTP GET/POST support: on going

Request:

  1. boost http://boost.org
  2. mysql community server http://dev.mysql.com/downloads/mysql
  3. mysql-connector-c++ http://dev.mysql.com/downloads/connector/cpp

About

demo of TCP server that using epoll & thread pool & database connection pool & HTTP support

License:GNU Lesser General Public License v3.0


Languages

Language:C++ 89.1%Language:C 6.8%Language:Makefile 4.2%