Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the common patterns in Disrupto

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces "what are the common patterns in Disrupto". In daily operation, I believe many people have doubts about the common patterns in Disrupto. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful for you to answer the doubts about "what are the common patterns in Disrupto?" Next, please follow the editor to study!

The throughput test data (number per second) is as follows.

Environment:-CPU:Intel Core i7 860 @ 2.8GHz without HT-JVM:Java 1.6.02564-bit-OS:Windows 7

ABQDisruptorUnicast: 1P-1C5Girl 339Magne25625998336Diamond: 1P-3C2Magic12881816806157Sequencer: 3P-1C5Power539113403268Multicast: 1P-3C1Precit0777pence3849377871Diamond: 1P-3C2Light113play94116143613

Environment:-CPU:Intel Core i7-2720QM-JVM:Java 1.6.02.25 64-bit-OS:Ubuntu 11.04

ABQDisruptorUnicast: 1P-1C4Power057Magne45322381378Diamond: 1P-3C2Power006Magic90315857913Sequencer: 3P-1C2Magne056Magica11814540519Multicast: 1P-3C260Magne73310860121Diamond: 1P-3C2author082d72515295197

Depending on the intensity of concurrency competition, the throughput of Disruptor is 4-7 times faster than that of ArrayBlockingQueue.

Test latency according to the connection mode of Pipeline: 1P-3C, and producers write according to 1ms interval.

Operating environment:-CPU:2.2GHz Core i7-2720QM

-Java: 1.6.025 64-bit-OS:Ubuntu 11.04.

| | Array Blocking Queue (ns) | Disruptor (ns)-|-99% observations less than | 2097152 | 128 99.99% observations less than | 4194304 | 8192 Max Latency | 5069086 | 175567 Mean Latency | 32, 757 | 52 Min Latency | 145 | 29 |

It can be seen that the average delay difference is 3 orders of magnitude.

At this point, the study of "what are the common patterns in Disrupto" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report