Skip to content

Instantly share code, notes, and snippets.

@lukebakken
Last active January 2, 2016 10:08
Show Gist options
  • Save lukebakken/8287365 to your computer and use it in GitHub Desktop.
Save lukebakken/8287365 to your computer and use it in GitHub Desktop.
Erlang Study Group - Riak Code Samples

erlang-study

Notes / examples from Programming Erlang with emphasis on Riak

Page Code Method Source
4 spawn() pmap() https://github.com/basho/riak_core/blob/develop/src/riak_core_util.erl#L302
5 Pid ! Msg pmap() https://github.com/basho/riak_core/blob/develop/src/riak_core_util.erl#L302
6 receive / end loop() https://github.com/basho/riak_core/blob/develop/src/riak_core_gen_server.erl#L423
6 receive / end do_multi_call() https://github.com/basho/riak_core/blob/develop/src/riak_core_gen_server.erl#L521
15 receive / end pmap() https://github.com/basho/riak_core/blob/develop/src/riak_core_util.erl#L302
28 -16#80000000 encode_internal() https://github.com/basho/erlang_protobuffs/blob/develop/src/protobuffs.erl#L94
35 tagged tuple handle_call() https://github.com/basho/riak_core/blob/develop/src/riak_core_ring_manager.erl#L384
36 extract tuple value do_write_ringfile() https://github.com/basho/riak_core/blob/develop/src/riak_core_ring_manager.erl#L226
37 list literal back_test() https://github.com/basho/riak_core/blob/develop/src/riak_core_ring_manager.erl#L638
38 list head/tail prune_list() https://github.com/basho/riak_core/blob/develop/src/riak_core_ring_manager.erl#L638
39 list element extract gen_range() https://github.com/basho/riak_core/blob/develop/src/riak_core_repair.erl#L76
53 fun standard_remove https://github.com/basho/riak_core/blob/develop/src/riak_core.erl#L194
60 list comprehension process_response https://github.com/basho/riak-erlang-client/blob/master/src/riakc_pb_socket.erl#L1739
64 guard join https://github.com/basho/riak_core/blob/develop/src/riak_core.erl#L67
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment