5.8. Summary
In this chapter, we've seen how to implement a range of useful communication techniques using distributed data structures and simple protocols that operate over them. We started off by emulating basic message passing, and we saw that space-based programming results in a type of message passing that goes beyond what conventional message passing libraries can provide. Namely, the JavaSpaces technology naturally supports loosely coupled communication, which lends flexibility to all the communication patterns you'll ever build with spaces.
After basic message passing, we turned our attention to a versatile distributed data structure—a channel—as a means of supporting more sophisticated communication patterns. We explored many variants ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access