On Mon, Feb 20, 2012 at 22:12, Jiansen He <[email protected]> wrote:
> Hello Riakers,
>
> I am new to Riak/Riak Core. I would like to learn some small-sized
> Riak Core examples to learn different aspects of Riak Core.
>
> I found three old examples in the bolg from the blog (Basho Banjo , 4
> examples in "try try try", and riak_id), but I would like to try more.
> Are there other recommendations?
>
> Lastly, when I wanted to try Basho Banjo <
> https://github.com/rustyio/BashoBanjo >, I cannot find the folder
> rel/basho_banjo. I noticed that the readme file is not updated after
> moving to the new repository. Does some one know what's happing here?
>
> With Thanks
> Jiansen
Hello!
I have used Riak-Core as a distributed application execution
environment, where:
* OS-processes (like RabbitMQ, Java, NodeJS, even Riak) could have
been created / stopped and queried;
* provided a distributed D-Bus-like communication framework
between these processes;
(Unfortunately I didn't finish the implementation (it works but
its in alpha state), and because of time-constraints we're moving
towards a more classical approach.)
But you could take a look at the Riak-Core related part of the code:
* process control and communication:
https://bitbucket.org/cipriancraciun/mosaic-node/src/bddda085dce8/applications/mosaic-node/sources/mosaic_cluster_processes_vnode.erl
https://bitbucket.org/cipriancraciun/mosaic-node/src/bddda085dce8/applications/mosaic-node/sources/mosaic_cluster_processes.erl
* simplified version of a memory backed key-value store:
https://bitbucket.org/cipriancraciun/mosaic-node/src/bddda085dce8/applications/mosaic-node/sources/mosaic_cluster_storage_vnode.erl
https://bitbucket.org/cipriancraciun/mosaic-node/src/bddda085dce8/applications/mosaic-node/sources/mosaic_cluster_storage.erl
* helper functions for common operations -- ring operations and
queries, etc.:
https://bitbucket.org/cipriancraciun/mosaic-node/src/bddda085dce8/applications/mosaic-node/sources/mosaic_cluster_tools.erl
Also from the examples I've seen so far on the Internet mine have
the handoff better exposed (i.e. more elaborated). (Although the code
looks ugly like hell because of the `case` nesting...)
If you have questions please ask.
Ciprian.
P.S.: It uses the Riak-Core from 0.14 version.
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com