Chapter 2 Rinda
Chapter 1, “Distributed Ruby (DRb),” explored the DRb package that ships with Ruby. You used DRb to quickly build distributed applications. Although those applications were certainly functional and easy to code, they lacked a few key features and presented a few problems.
When reviewing all of our DRb applications, you will notice, for a start, that we hardcoded IP addresses and ports into both our servers and clients. This type of tight coupling of applications can be problematic in both production and development. It can make fault tolerance difficult to code for. And what do you do if you need to start the service on a different machine that has a different IP address? We could also create and attempt to maintain complex configurations, ...
Get Distributed Programming with Ruby now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.