Skip to content

zhaoyaogit/axon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libaxon

an async io library

Functionalities

High Performance:

  • ~250000 QPS (1 server thread)
  • ~500000 QPS (4 server thread)

Async IO part:

  • async socket event operations: connect, accept, send, send_until, recv, recv_until
  • async timer operations
  • automatic event muliplexing and callback dispatching
  • implicit locks using strand objects, avoiding mutex blockings

RPC part:

  • base service class that automaticly accepts and handles incoming connections
  • client auto reconnection

Dependency

  • g++-4.7 and later
  • c++11
  • scons
  • libboost_context
  • gtest(optinal)
  • libtcmalloc(optional)

Build

  • run 'scons' to build
  • add option '--no-tcmalloc' or '--no-test' to disable tcmalloc or unit tests

Sample

Please refer to /sample directory

About

an async io library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.8%
  • Python 1.1%
  • C 0.1%