文件名称:kimgbo-master
- 所属分类:
- Linux/Unix编程
- 资源属性:
- [C/C++]
- 上传时间:
- 2017-11-20
- 文件大小:
- 6.45mb
- 下载次数:
- 0次
- 提 供 者:
- 执笔***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
kimgbo由muduo网络库改写而来。去除了muduo对于Boost库的依赖,转而采用C++11替代,
优化了muduo网络I/O库一处将来有可能会出现race condition隐患的代码,几乎具备了muduo
网络库全部的功能。
kimgbo/base目录下存放了整个网络库的基础代码,kimgbo/net目录下存放了网络库的核
心代码,kimgbo/example目录下存放了一些网络库基础的使用示列程序。
? ?除去除了对boost库的依赖外,还对其线程池和Buffer进行了优化。
1)用无锁队列(moodeycamel::ConcurrentQueue)替换了原有的任务队列,性能提升168%,
同时还提供了一种多队列运行模式。
2)实现了一种新的环形缓冲区替换了muduo的线性缓冲区,新的环形缓冲区避免了muduo缓
冲区数据的内部腾挪,兼容除内部腾挪外的所有特性,同时在部分场景下性能提升106%。(Kimgbo is rewritten by the Muduo network library. Instead of relying on the Boost library for Muduo, instead of using C++11 instead,
Optimized Muduo network I/O library, a potential race condition hidden code in the future, almost with Muduo
All the functions of the network library)
优化了muduo网络I/O库一处将来有可能会出现race condition隐患的代码,几乎具备了muduo
网络库全部的功能。
kimgbo/base目录下存放了整个网络库的基础代码,kimgbo/net目录下存放了网络库的核
心代码,kimgbo/example目录下存放了一些网络库基础的使用示列程序。
? ?除去除了对boost库的依赖外,还对其线程池和Buffer进行了优化。
1)用无锁队列(moodeycamel::ConcurrentQueue)替换了原有的任务队列,性能提升168%,
同时还提供了一种多队列运行模式。
2)实现了一种新的环形缓冲区替换了muduo的线性缓冲区,新的环形缓冲区避免了muduo缓
冲区数据的内部腾挪,兼容除内部腾挪外的所有特性,同时在部分场景下性能提升106%。(Kimgbo is rewritten by the Muduo network library. Instead of relying on the Boost library for Muduo, instead of using C++11 instead,
Optimized Muduo network I/O library, a potential race condition hidden code in the future, almost with Muduo
All the functions of the network library)
相关搜索: muduo
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
kimgbo-master | ||
kimgbo-master\ReadMe.txt | 943 | 2017-05-11 |
kimgbo-master\base | ||
kimgbo-master\base\Atomic.h | 986 | 2017-05-11 |
kimgbo-master\base\BlockingQueue.h | 736 | 2017-05-11 |
kimgbo-master\base\BoundedBlockingQueue.h | 1330 | 2017-05-11 |
kimgbo-master\base\Condition.cpp | 298 | 2017-05-11 |
kimgbo-master\base\Condition.h | 553 | 2017-05-11 |
kimgbo-master\base\CountDownLatch.cpp | 460 | 2017-05-11 |
kimgbo-master\base\CountDownLatch.h | 298 | 2017-05-11 |
kimgbo-master\base\CurrentThread.h | 533 | 2017-05-11 |
kimgbo-master\base\Date.cpp | 1794 | 2017-05-11 |
kimgbo-master\base\Date.h | 2054 | 2017-05-11 |
kimgbo-master\base\FileUtil.cpp | 2985 | 2017-05-11 |
kimgbo-master\base\FileUtil.h | 1159 | 2017-05-11 |
kimgbo-master\base\LogFile.cpp | 3537 | 2017-05-11 |
kimgbo-master\base\LogFile.h | 927 | 2017-05-11 |
kimgbo-master\base\LogStream.cpp | 4438 | 2017-05-11 |
kimgbo-master\base\LogStream.h | 3550 | 2017-05-11 |
kimgbo-master\base\Logging.cpp | 3607 | 2017-05-11 |
kimgbo-master\base\Logging.h | 3226 | 2017-05-11 |
kimgbo-master\base\Mutex.h | 1219 | 2017-05-11 |
kimgbo-master\base\MutexThreadPool.cpp | 1558 | 2017-05-11 |
kimgbo-master\base\MutexThreadPool.h | 687 | 2017-05-11 |
kimgbo-master\base\ProcessInfo.cpp | 2576 | 2017-05-11 |
kimgbo-master\base\ProcessInfo.h | 507 | 2017-05-11 |
kimgbo-master\base\Singleton.h | 763 | 2017-05-11 |
kimgbo-master\base\StringPiece.h | 4484 | 2017-05-11 |
kimgbo-master\base\ThreadLocal.h | 750 | 2017-05-11 |
kimgbo-master\base\ThreadLocalSingleton.h | 1187 | 2017-05-11 |
kimgbo-master\base\TimeZone.cpp | 7783 | 2017-05-11 |
kimgbo-master\base\TimeZone.h | 840 | 2017-05-11 |
kimgbo-master\base\Timestamp.cpp | 1491 | 2017-05-11 |
kimgbo-master\base\Timestamp.h | 1854 | 2017-05-11 |
kimgbo-master\base\Type.h | 534 | 2017-05-11 |
kimgbo-master\base\Types.h | 741 | 2017-05-11 |
kimgbo-master\base\lockfree | ||
kimgbo-master\base\lockfree\atomicops.h | 19080 | 2017-05-11 |
kimgbo-master\base\lockfree\concurrentqueue.h | 146223 | 2017-05-11 |
kimgbo-master\base\lockfree\internal | ||
kimgbo-master\base\lockfree\internal\concurrentqueue_internal_debug.h | 1712 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master | ||
kimgbo-master\base\lockfree\readerwriterqueue-master\.gitignore | 757 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\LICENSE.md | 1614 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\README.md | 5114 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\atomicops.h | 19080 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks | ||
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\bench.cpp | 13086 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\ext | ||
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\ext\1024cores | ||
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\ext\1024cores\spscqueue.h | 3356 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\ext\folly | ||
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\ext\folly\ProducerConsumerQueue.h | 4871 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\makefile | 600 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\msvc10 | ||
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\msvc10\winbench-intel.vcxproj | 8036 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\msvc10\winbench-intel.vcxproj.filters | 1619 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\msvc10\winbench.sln | 1826 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\msvc10\winbench.vcxproj | 7766 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\msvc10\winbench.vcxproj.filters | 1619 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\msvc12 | ||
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\msvc12\winbench-intel.vcxproj | 8036 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\msvc12\winbench-intel.vcxproj.filters | 1619 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\msvc12\winbench.sln | 1903 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\msvc12\winbench.vcxproj | 7943 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\msvc12\winbench.vcxproj.filters | 1811 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\systemtime.cpp | 2483 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\benchmarks\systemtime.h | 730 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\readerwriterqueue.h | 26771 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\tests | ||
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\common | ||
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\common\simplethread.cpp | 1670 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\common\simplethread.h | 4913 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\stabtest | ||
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\stabtest\makefile | 634 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\stabtest\msvc10 | ||
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\stabtest\msvc10\stabtest.sln | 1210 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\stabtest\msvc10\stabtest.vcxproj | 7543 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\stabtest\msvc10\stabtest.vcxproj.filters | 1392 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\stabtest\msvc12 | ||
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\stabtest\msvc12\stabtest.sln | 1287 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\stabtest\msvc12\stabtest.vcxproj | 7720 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\stabtest\msvc12\stabtest.vcxproj.filters | 1392 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\stabtest\stabtest.cpp | 2165 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\unittests | ||
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\unittests\makefile | 656 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\unittests\minitest.h | 2886 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\unittests\msvc10 | ||
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\unittests\msvc10\unittests.sln | 1212 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\unittests\msvc10\unittests.vcxproj | 7595 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\unittests\msvc10\unittests.vcxproj.filters | 1486 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\unittests\msvc12 | ||
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\unittests\msvc12\unittests.sln | 1289 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\unittests\msvc12\unittests.vcxproj | 7772 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\unittests\msvc12\unittests.vcxproj.filters | 1486 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue-master\tests\unittests\unittests.cpp | 12805 | 2017-05-11 |
kimgbo-master\base\lockfree\readerwriterqueue.h | 26771 | 2017-05-11 |
kimgbo-master\base\lockfree\relacy | ||
kimgbo-master\base\lockfree\relacy\freelist.cpp | 6797 | 2017-05-11 |
kimgbo-master\base\lockfree\relacy\integrated.cpp | 13361 | 2017-05-11 |