Git Product home page Git Product logo

kimgbo's Introduction

    kimgbo由muduo网络库改写而来。去除了muduo对于Boost库的依赖,转而采用C++11替代,
优化了muduo网络I/O库一处将来有可能会出现race condition隐患的代码,几乎具备了muduo
网络库全部的功能。除去除了对boost库的依赖外,还对其线程池和Buffer进行了优化。
    用无锁队列(moodeycamel::ConcurrentQueue)替换了原有的任务队列,性能提升168%,
同时还扩充了原有线程池的运行模式,新增了一种多队列运行模式以降低竞争的概率。
    实现了一种有别于传统环形缓冲区的新型环形缓冲区,用以替换muduo原有缓冲区,新的环
形缓冲区避免了muduo缓冲区数据的内部腾挪,具备原有缓冲区除内部腾挪外的所有特性,部分
场景下性能提升106%。
    kimgbo/base目录下存放了整个网络库的基础代码,kimgbo/net目录下存放了网络库的核
心代码,kimgbo/example目录下存放了一些网络库基础的使用示列程序。

kimgbo's People

Contributors

jerryzhou343 avatar kimg-bo 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.