yxaaa123
V2EX  ›  Java

求 Disruptor 的正确使用姿势

  •  
  •   yxaaa123 · Feb 17, 2017 · 2274 views
    This topic created in 3440 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   ·   4041 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 05:11 · PVG 13:11 · LAX 22:11 · JFK 01:11
    ♥ Do have faith in what you're doing.