GOB
is the abbreviation ofGate Of Babylon
-- 《Fate》- Its goal is to precipitate some useful tools in all the projects
- this is the first member of
gob
and I had upload to git at an early time, and since I am Chinese so theREADME.md
was also write in Chinese at that time - In short, this module is an out-of-the-box boost-based log library
- last days I compared my lib with
glog
(google logger library) and found thatglog
is faster than this one insync-mode
and about the same with this one inasync-mode
, on the other handglog
is much lighter thanboost
so I decided to includeglog
in my project - if
USING_GLOG
marco is define then this lib will usingglog
as basic, more detail can be found inCMakeLists.txt
- rolling feature was also implemented
- this is a C++ implement of
Producer/Consumer Model
and it has following submodulesevent_thread
: a multi producer one consumer model in pure C++event_multi_thread
: a multi producer multi consumer model bases on boost::asio and this implement have some extenal options:using strand or not
,post with dispatch or not
multi_thread_loop
: a multi producer multi consumer model in pure C++
- all the submodules have the same apis, so you can easily switch without cost
- all the sunmodules can be runing like a service (never exit unless
exit
called), with is the reason I do not usingboost::asio::threadpool
or some otherthreadpool implement
like this - the recomend is
multi_thread_loop
which a little faster thanboost::asio
in theunit_test
case and it is written in pure C++ this means everything is in control
- Thirdparty Useful Tools
- Remotery: A realtime CPU/GPU profiler hosted in a single C file with a viewer that runs in a web browser.