首页 > 其他 > 详细

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

时间:2016-12-19 00:08:40      阅读:175      评论:0      收藏:0      [点我收藏+]
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)

原文:http://www.cnblogs.com/nightcatcher/p/6195773.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!