Concurrency Library 2.0

Last year I wrote up a post on the Disruptor pattern and solicited some general opinions about it’s potential application in gaming.

Since then I’ve been working with Apache Storm and at its heart it uses the Disruptor. Storm uses the disruptor in a way that wasn’t originally defined by it’s creators. Storm can process an incredible volume of data distributed over multiple servers.

https://github.com/apache/storm/blob/master/storm-core/src/jvm/org/apache/storm/utils/DisruptorQueue.java

The queue itself is called by Clojure code so it’s not directly obvious in the java how it’s implemented. :frowning:

I’ve been thinking: “What if you could create a game server cluster that shared the workload of updating the world?”