PROGRAMMING DISTRIBUTED COMPUTING SYSTEMS

A Foundational Approach

Carlos A. Varela, Programming Distributed Computing Systems -- A Foundational Approach, MIT Press, Cambridge, MA:May 2013 (Available from Amazon and MIT Press).

Examples used in Chapter 11 of the book are available here.