/mongols

C++ high performance networking with TCP/UDP/RESP/HTTP/WebSocket protocols

Primary LanguageCMozilla Public License 2.0MPL-2.0

mongols

A high performance network library for c++:

  • Libevent, libev and libuv are outdated.

  • Both apache and nginx are very slow.

nginx_4_worker mongols_4_worker nginx_vs_mongols

dependency

  • linux
  • gcc (-std=c11)
  • g++ (-std=c++11)
  • openssl

feature

mongols document

install

make clean && make -j2 && sudo make install && sudo ldconfig

usage

pkg-config --libs --cflags mongols openssl

binding

pymongols

example

example