Re:Anna: A Fast, Scalable, Flexibly Consistent Key-Value Store
by dnautics on Friday March 09, 2018 @03:13PM
(#16554605)
I wonder what the performance would be like if instead of running on ruby they ran it on a scalable virtual machine with near-first-class actors (not truly first class, but the engine is optimized to handle them, and the constructs are extremely important in the standard library) like BEAM.
[ Parent
| on HN ]
Re:Anna: A Fast, Scalable, Flexibly Consistent Key-Value Store
by dwenzek on Saturday March 10, 2018 @02:37AM
(#16557574)
While Bloom was indeed coded in ruby,
they use C++ for Anna:
> We get this rich consistency in Anna with a very clean codebase, by porting design patterns of monotone lattice composition from Bloom to C++.
In the paper:
> The Anna actor and client proxy are implemented entirely in C++. The codebase—including the lattice library, all the consistency levels, the server code, and client proxy code— amounts to about 2000 lines of C++ on top of commonly-used libraries including ZeroMQ and Google Protocol Buffers.
Re:Anna: A Fast, Scalable, Flexibly Consistent Key-Value Store
by dwenzek on Saturday March 10, 2018 @03:36AM
(#16557715)
Curious to see such effective code, I looked for the source code, but found nothing.
The more approaching code base I found is https://github.com/ucbrise/LatticeFlow.
Is the Anna source repository public ?