It’s easy to reason about it as a circular array without the end.Īs you can imagine, a ring buffer is mostly used as a queue. It is basically a linear data structure in which the end points to the beginning of the structure. You might have heard of a circular buffer, circular queue, or cyclic buffer. Disruptor is based on ring buffer, which is definitely not a new concept. Even though a single thread was an important concept in their solution, Disruptor (which is not part of the business logic) works in a multithreaded environment. In 2010, they surprised everyone with how fast their system can be by doing all the business logic on a single thread. They created this piece of software to handle an enormous traffic (more than 6 million TPS) in their retail financial trading platform. Disruptor is a high-performance library for passing messages between threads, developed and open sourced some years ago by LMAX Exchange company.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |