yxaaa123
V2EX  ›  Java

求 Disruptor 的正确使用姿势

  •  
  •   yxaaa123 · Feb 17, 2017 · 2298 views
    This topic created in 3455 days ago, the information mentioned may be changed or developed.

    最近研究 disruptor ,想替换掉现在系统里的 BlockingQueue ,但是总觉得现在的用法不对。。。

    对于 disruptor 的理解,觉得他应该就是一个消息队列, disruptor 提供的 api 可以流式处理事件,但是该如何配置成产者类型和如何使用 eventhandler 和 workerHandler 呢?

    大家用 disruptor 的时候都是用在什么场景下呢?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3162 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 13:21 · PVG 21:21 · LAX 06:21 · JFK 09:21
    ♥ Do have faith in what you're doing.