Git Product home page Git Product logo

allenshen / kimgbo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kimg-bo/kimgbo

1.0 3.0 0.0 664 KB

kimgbo是一个基于Reactor模式的多线程C++网络库,从muduo网络库改写而来,去除了muduo对于Boost库的依赖,转而用C++11和tr1标准替代。提供了基础的使用示列,示列代码在kimgbo/example目录下。后期准备继续对其进行完善,并有可能改进其Buffer的实现,敬请关注!!!

C++ 96.25% C 0.09% Makefile 3.66%

kimgbo's Introduction

    kimgbo是一个基于Reactor模式的网络I/O库,优先考虑易用性,由muduo网络库改
写而来。保留了muduo基于对象的编程风格,支持 oneloop per thread + threadpool 
模型。并去除了muduo对于Boost库的依赖,转而采用C++11和tr1标准替代,修改了
muduo网络I/O库一处将来有可能会出现race condition隐患的代码,几乎具备了muduo
网络库全部的功能。
    kimgbo网络I/O库保留了与muduo类似的文件夹归类方式,kimgbo/base目录下存放
了整个网络库的基础代码,kimgbo/net目录下存放了网络库的核心代码,kimgbo/example
目录下存放了一些网络库基础的使用示列程序。
    后期准备继续对其进行优化,主要的优化点有三处:1、将继续完善网络库的细节
实现,提升安全性。2、由于muduo的历史遗留问题,其线程安全性还有待提高。3、将有
可能改进网络库Buffer的实现,提升内存使用的效率。

kimgbo's People

Contributors

kimg-bo avatar

Stargazers

 avatar

Watchers

 avatar  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.