dodng / Fast_ring_queue
A fast no_lock RingQueue between 2 threads (25M WrtieRead per second)
Stars: ✭ 76
Programming Languages
c
50402 projects - #5 most used programming language
Labels
Projects that are alternatives of or similar to Fast ring queue
Mrthumb
【拇指先生】 a simple easy video thumbnail provider,顺滑的获取视频缩略图,支持本地和网络视频,有问题大胆提Issues
Stars: ✭ 60 (-21.05%)
Mutual labels: fast
Fast Mrmr
An improved implementation of the classical feature selection method: minimum Redundancy and Maximum Relevance (mRMR).
Stars: ✭ 67 (-11.84%)
Mutual labels: fast
Real Time Public Chat
This program show how to create a public chat using javascript
Stars: ✭ 45 (-40.79%)
Mutual labels: fast
Derrick
🙌 Derrick is a clean minimal and fast theme for a personal blog.
Stars: ✭ 51 (-32.89%)
Mutual labels: fast
Csstree
A tool set for CSS including fast detailed parser, walker, generator and lexer based on W3C specs and browser implementations
Stars: ✭ 1,121 (+1375%)
Mutual labels: fast
Cstate
🔥 Open source static (serverless) status page. Uses hyperfast Go & Hugo, minimal HTML/CSS/JS, customizable, outstanding browser support (IE8+), preloaded CMS, read-only API, badges & more.
Stars: ✭ 1,186 (+1460.53%)
Mutual labels: fast
Retc
An application used to convert razer effects to multiple output sdks.
Stars: ✭ 54 (-28.95%)
Mutual labels: fast
Fastcache
Fast thread-safe inmemory cache for big number of entries in Go. Minimizes GC overhead
Stars: ✭ 1,051 (+1282.89%)
Mutual labels: fast
Reenv
dotenv-cli implementation in native ReasonML providing near-instant startup times
Stars: ✭ 65 (-14.47%)
Mutual labels: fast
Fast Xml Parser
Validate XML, Parse XML to JS/JSON and vise versa, or parse XML to Nimn rapidly without C/C++ based libraries and no callback
Stars: ✭ 1,021 (+1243.42%)
Mutual labels: fast
Fastjson
Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection
Stars: ✭ 1,164 (+1431.58%)
Mutual labels: fast
1. What is a ring queue
- the data is "first in first out".
- prev data of queue head is the queue tail.
- the data of ring can reuse.
2. The advantages of ring queue
-
Guaranteed elements are first-in, first-out
-
Element space can be reused
-
Provides an efficient mechanism for multithread data transfer.
3. Ring queue of work example
- Linux between kernel and system to transfor network data( PACKET_RX_RING and PACKET_TX_RING )
4. Actual test results
- In CentOS 5.5 (cpu per core frequency 1200MHz) .
- ring queue length is 10000, one element data size is 4 bytes
- [ring_test] the element writted and then to read is about 25 million per second.
- [notify_ring_test] the element writted and then to read is about 20 million per second.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].