V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
yxaaa123
V2EX  ›  Java

求 Disruptor 的正确使用姿势

  •  
  •   yxaaa123 · 2017-02-17 09:44:48 +08:00 · 1711 次点击
    这是一个创建于 2642 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

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

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

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3193 人在线   最高记录 6547   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 14:01 · PVG 22:01 · LAX 07:01 · JFK 10:01
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.