Code Monkey home page Code Monkey logo

orca's Introduction

orca

A actor framework base on c++11/14.
一个C++11/14风格的actor库。

接口上参考过Theron库,实现上避开了Theron相关不合理实现及一些可复现的bug,ping-pong测试性能优于Theron和CAF。

Dependent

网络部分基于libuv,项目中提供libuv1.22.0 gcc5.5.0及visual studio 2017编译的版本,如需其他版本则需要自己编译libuv。
C++封装了一层libuv:https://github.com/wlgq2/libuv_cpp11

Build

Linux:提供codebolcks工程与cmake编译环境;
Windows:通过Visual Studios2017编译工程。

Testing

本地消息测试:

local message Theron CAF orca
1K字节(次/秒) 3707 753.8 113 343.2 3036 779.6
4K字节(次/秒) 2108 082.8 116 756.4 3089 924.6
8K字节(次/秒) 1800 637.2 111 539 3108 350.2
注:Theron本地消息性能远高于CAF,orca本地消息实现zore-copy,所以只在1K字节以下性能略低于Theron。


远程消息测试:

remote message Theron CAF orca
1K字节(次/秒) 250 5508.8 19148.4
2K字节(次/秒) 250 5426.4 17813.8
4K字节(次/秒) 250 5028 16058.2
注:Theron的网络部分用非阻塞+轮询实现,所以性能很差。

How To Use

orca's People

Contributors

wlgq2 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.