你好,游客 登录 注册 搜索
背景:
阅读新闻

Disruptor 3.0 Beta2 发布,并行编程框架

[日期:2013-01-27] 来源:oschina.net  作者:Linux [字体:大 中 小]

Disruptor 3.0 在本月初发布了 Beta1 和 Beta2 版本,改进内容为:

3.0.0.beta2 Released (7-Jan-2013)

  • Remove millisecond wakeup from BlockingWaitStrategy
  • Add RingBuffer.claimAndGetPreallocated
  • Add RingBuffer.isPublished

3.0.0.beta1 Released (3-Jan-2013)

  • Remove claim strategies and replace with Publishers/Sequences, remove pluggability of claim strategies.
  • Introduce new multi-producer publisher algorithm (faster and more scalable).
  • Introduce more flexible EventPublisher interface that allow for static definition of translators that can handle local values.
  • Allow for dynamic addition of gating sequences to ring buffer. Default it to empty, will allow messages to be sent and the ring buffer to wrap if there are no gating sequences defined.
  • Remove batch writes to the ring buffer.
  • Remove timeout read methods.
  • Switch to gradle build and layout the source maven style.
  • API change, remove RingBuffer.get, add RingBuffer.getPreallocated for producers and RingBuffer.getPublished for consumers.
  • Change maven dependency group id to com.lmax.
  • Added PhasedBackoffStrategy.
  • Remove explicit claim/forcePublish and supply a resetTo method.
  • Added better handling of cases when the gating sequence is ahead of the cursor value.
linux
相关资讯       Disruptor 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款