22. Background
Concepts & Intuitions
Applications
RIAK (CORE) MECHANICS
→
Handoff
Migrate vnodes from node to node
1
2
3
% Old Node
% Called with last known State of worker
archive /1 % returns {ok , Archive }
4
5
6
7
% New Node
% Called with Archive and State from old node
handoff /2 % returns {ok , NewState }
21
24. Background
Concepts & Intuitions
Applications
EXISTING FITTINGS
→
riak_pipe_w_tee
Useful for intermediate results
→
riak_pipe_w_xform
Simple delegater: 3-arity function
→
riak_pipe_w_reduce
What you would expect: simple accumulating reduce
→
riak_kv_pipe_get
Take advantage of data locality with cohosted KV store
23