I want to do the Ruby daemon program. I need to call an action which I defined in the daemon program from my Ruby application. That daemon program may also be called from another application. I installed the Ruby daemon Gem and I did the test program. Can any one please give me the step by step sample. How can I achieve this?
There's a great reference on DRb: DRb API And I found a tutorial here, and another one by DRBrain.
I've been researching this for my own hobby project. Unfortunately, I think there's a language barrier which is preventing a more in depth question. I'm sorry your question got voted down. Maybe, if you posted it in english and your own language, in conjunction with BabelFish maybe we'd be better able to answer your question. I'm interested in SO user's take on this subject, as DRb is very important to my hobby app (alright alright, it's a game. :P)
Hope this helps.
[Edit: my own English is very sucky pre-coffee]
You might want to investigate the daemon-kit library, which provides a nice skeleton structure for various kinds of daemons. Your use case might actually be well-served by an AMQP daemon.