Re:Tango: Distributed Data Structures Over a Shared Log (2013)
by morsch on Sunday November 13, 2016 @02:28PM
(#12945118)
We're using eventuate[0], which is an event-sourcing framework with deep support for cooperation via shared logs. It's based on the actor framework akka; akka itself has akka-persistence[1], which is similar but different[2]. All of these techs are usable right now.
Though it doesn't feature either implementation (he does something similar on top of Samza), I like this article[3] on the topic: turning the database inside out really is what we're doing.
Re:Tango: Distributed Data Structures Over a Shared Log (2013)
by noahdesu on Sunday November 13, 2016 @02:11PM
(#12945006)
We have built an implementation of CORFU [1] (the protocol Tango is based on) that runs on Ceph/RADOS, called ZLog [0]. We have a very simple prototype of Tango running ZLog. ZLog could run on other storage systems like Kafka but we have only focused on Ceph/RADOS as the underlying storage.
Re:Tango: Distributed Data Structures Over a Shared Log (2013)
by jasonwatkinspdx on Sunday November 13, 2016 @09:13PM
(#12947057)
One of the more eye opening aspects of the paper is just how little code it took them to duplicate the Zookeeper API atop Tango. Granted there are some caveats about a research project vs an industry ready codebase, but I still interpret it as strong evidence that their approach is a good foundational abstraction.
Re:Tango: Distributed Data Structures Over a Shared Log (2013)
by EGreg on Sunday November 13, 2016 @01:50PM
(#12944879)
Why need a shared log? Remember the CAP theorem. No need for these bottlenecks. If you want to store that A happened after B, just have A store a (hash of) B.
Re:Tango: Distributed Data Structures Over a Shared Log (2013)
by jamesblonde on Sunday November 13, 2016 @03:45PM
(#12945560)
That's a type of logical clock you're describing (without a partial order over all events, just 2 events). Obviously, if you do that with all events, you will have a logical clock. The hash of the previous event is not a good logical clock, as you cannot define higher level operations over the values, such as - is this event 'newer' than this other event.
Though it doesn't feature either implementation (he does something similar on top of Samza), I like this article[3] on the topic: turning the database inside out really is what we're doing.
[0] http://rbmhtechnology.github.io/eventuate/
[1] http://doc.akka.io/docs/akka/snapshot/scala/persistence.html
[2] http://krasserm.github.io/2015/05/25/akka-persistence-eventu...
[3] https://www.confluent.io/blog/turning-the-database-inside-ou...
[0]: https://github.com/noahdesu/zlog
[1]: https://www.usenix.org/conference/nsdi12/technical-sessions/...
If I read just this piece of text anywhere, the word popping up in my mind would be zookeeper