首页 > 代码库 > 《Distributed Programming With Ruby》读书笔记五 RingyDingy (Part2 chapter3)

《Distributed Programming With Ruby》读书笔记五 RingyDingy (Part2 chapter3)

Part II Third-Party Frameworks and Libraries
     The first part of this book takes a deep dive into two main libraries: DRb and Rinda
  • Chapter3: RingyDingy
    • Including 6 parts:
      • Installation
      • Getting Started with RingyDingy
      • "Hello World" the RingDingy Way
      • Building a Distributed Logger with RingyDingy
      • Letting RingyDingy Shine
      • Conclusion
    • Installation
      • command:     gem install RingyDingy
      • show:   Successfully installed RingyDingy-1.6
    • Getting Started with RingyDingy
      • a quick look at what options are available on ring_server
      • 技术分享技术分享
      • start our RingyDingy RingServer with command
      • ring_server --v
      • we get:
      • 技术分享技术分享
    • "Hello World" the RingyDingy Way
      • Our server code for the Rinda “Hello World” application remains largely unchanged to use with RingyDingy
      • server:
      • 技术分享技术分享
      • we will see output similar to the following for our RingyDingy RingServer:
      • 技术分享技术分享
      • client:
      • 技术分享技术分享
      • output:
      • 技术分享技术分享
    • Binding a Distributed Logger with RingyDingy
      • RingyDingy allows us to DRY up our server code a bit. We no longer have to remember a whole lot of messy Rinda API calls. Instead, we can wrap it up with a line or two of RingyDingy code. Let’s look at our “Distributed Logger” application to see how we can make it more DRY.
      • server
      • 技术分享技术分享
      • client
      • 技术分享技术分享
      • ring_server output
      • 技术分享技术分享
      • server output
      • 技术分享技术分享
      • client output
      • 技术分享技术分享
    • Letting RingyDingy Shine
      • One of the better features that the RingyDingy ring_server binary gives you for free is the ability to list available services.
      • We can also gain access to this same information programmatically.An example: page85
    • Conclusion

《Distributed Programming With Ruby》读书笔记五 RingyDingy (Part2 chapter3)