Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.

Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.

30.
CAP Theorem
Consistent Reads and writes reﬂect a
globally consistent system state

31.
CAP Theorem
Consistent Reads and writes reﬂect a
globally consistent system state

32.
CAP Theorem
Consistent Reads and writes reﬂect a
globally consistent system state
Available System is available for reads and
writes

33.
CAP Theorem
Consistent Reads and writes reﬂect a
globally consistent system state
Available System is available for reads and
writes

34.
CAP Theorem
Consistent Reads and writes reﬂect a
globally consistent system state
Available System is available for reads and
writes
Partition Tolerant System can handle
the failure of individual parts

108.
Map/Reduce
Overview
• Map phases execute in parallel w/data
locality
• Reduce phases execute in parallel on the
node where job was submitted
• Results are not cached or stored
• Phases can be written in Erlang or
Javascript

170.
Javascript Reduce
Built-Ins
Riak.reduceMin
• Returns the minimum value of the input set
Riak.reduceMax
• Returns the maximum value of the input set

171.
Javascript Reduce
Built-Ins
Riak.reduceMin
• Returns the minimum value of the input set
Riak.reduceMax
• Returns the maximum value of the input set
Riak.reduceSort

172.
Javascript Reduce
Built-Ins
Riak.reduceMin
• Returns the minimum value of the input set
Riak.reduceMax
• Returns the maximum value of the input set
Riak.reduceSort
• Returns a sorted list of the input set