zhoulunhao / kimgbo Goto Github PK
View Code? Open in Web Editor NEWThis project forked from kimg-bo/kimgbo
kimgbo是muduo网络库的重构版本
This project forked from kimg-bo/kimgbo
kimgbo是muduo网络库的重构版本
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目录下存放了一些网络库基础的使用示列程序。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.