---
title: "征集并发文献译者之Disruptor"
author: "fantasy"
date: "2013-01-20T21:10:29Z"
tags: []
categories: ["编程语言"]
slug: "disruptor"
draft: false
lastmod: "2013-01-20T21:10:29Z"
id: 1772811
url: "https://kiral.iteye.com/blog/1772811"
---

为了促进并发编程在中国的推广和研究，让更多的同学能阅读到国外的并发文献。所以打算将国外的并发编程文献翻译成中文，但是我一个人的精力有限，所以希望征集译者帮忙一起翻译。本期主要翻译Disruptor。

 

以下文章来自Disruptor官方网站：[https://code.google.com/p/disruptor/wiki/BlogsAndArticles](https://code.google.com/p/disruptor/wiki/BlogsAndArticles)

 

# 正在翻译的

1. 锁的缺点。译文地址：[http://ifeve.com/locks-are-bad/](http://ifeve.com/locks-are-bad/)

# 如何使用Disruptor

1. [What’s so special about a ring buffer?](http://mechanitis.blogspot.com/2011/06/dissecting-disruptor-whats-so-special.html) - A summary by Trisha of the data structure at the heart of the Disruptor patter, how it’s implemented and what’s so great about it.
2. [How do I read from a ring buffer?](http://mechanitis.blogspot.com/2011/06/dissecting-disruptor-how-do-i-read-from.html) - Trisha gives an overview of the `Consumer` and `ConsumerBarrier`, which allows you to read stuff off the ring buffer.
3. [Writing to the ring buffer](http://mechanitis.blogspot.com/2011/07/dissecting-disruptor-writing-to-ring.html) - The third piece from Trisha explaining how to write to the ring buffer, and how it avoids wrapping.
4. [Lock-free publishing](http://blog.codeaholics.org/2011/the-disruptor-lock-free-publishing/) - Danny outlines the concepts behind putting items into the ring buffer.
5. [DSL for wiring up the Disruptor](http://www.symphonious.net/2011/07/11/lmax-disruptor-high-performance-low-latency-and-simple-too/) - Adrian came up with a cunning way to configure your Disruptor
6. [Disruptor wizard now part of the Disruptor](http://www.symphonious.net/2011/08/13/the-disruptor-wizard-is-dead-long-live-the-disruptor-wizard/) - Adrian’s wizard now makes it easy to configure your very own Disruptor straight out of the box
7. [Disruptor version 2.0](http://mechanitis.blogspot.com/2011/08/disruptor-20-all-change-please.html) - Trisha outlines the cosmetic changes to the Disruptor in version 2.0.
8. [Sharing Data Among Threads Without Contention](http://www.oraclejavamagazine-digital.com/javamagazine/20120304/?pg=56&pm=1&u1=friend) - An updated and summarised version of Trisha’s blogs in Oracle’s Java Magazine.

# Disruptor为什么这么快

1. [Locks Are Bad](http://ifeve.com/disruptor-locks-are-bad/ "Dissecting the Disruptor: Why it’s so fast (part one) – Locks Are Bad") - Trisha gives some basic concurrency background and explains why locks are evil. (译者：nick)
2. [Magic cache line padding](http://ifeve.com/disruptor-padding/ "Dissecting the Disruptor: Why it’s so fast (part two) – Magic cache line padding") - An explanation around why the odd cache line padding variables are required, by Trisha.
3. [Demystifying Memory Barriers](http://ifeve.com/disruptor-memory-barriers/ "Dissecting the Disruptor: Demystifying Memory Barriers") - Trisha attempts to explain why memory barriers are important in the Disruptor.

# 其他人写的Disruptor文章

1. [LMAX 架构](http://martinfowler.com/articles/lmax.html)  by Martin Fowler (已翻译)
2. Processing [1m TPS](http://blog.jteam.nl/2011/07/20/processing-1m-tps-with-axon-framework-and-the-disruptor/) with the Axon Framework using the Disruptor.

**如何翻译**

 

1. 你可从以上几篇文章中挑选某一篇进行翻译，翻译时间最好是一个星期以内，翻译前请发邮件到main\_shorttime（AT）163.com告诉我你要翻译的文章和预计完成时间。
2. 译者署名的顺序由翻译的字数确定。
3. 与其他译者交叉校对，互相讨论翻译与技术问题。

# 注意事项

1. 本文档的传播是基于学习研究而非商业，因此翻译纯属兴趣和分享精神，没有稿酬。
2. 对译者的要求，因为我们是出于学习和研究目的，所以对译者没有很高的要求，只要你只要你对并发编程感兴趣，并且愿意用心来翻译文章，翻译完的文章首先自己能读明白就行，放心我们会进行校对。