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, ...
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