yxaaa123
V2EX  ›  Java

求 Disruptor 的正确使用姿势

  •  
  •   yxaaa123 · Feb 17, 2017 · 2231 views
    This topic created in 3410 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   ·   2676 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 03:50 · PVG 11:50 · LAX 20:50 · JFK 23:50
    ♥ Do have faith in what you're doing.