drb

DRb method access

狂风中的少年 提交于 2020-01-05 07:34:28
问题 I am writing a simple distributed system in DRb. I have all the peers, and one server to do the bootstrapping. In that server, I have a few methods like "suggest_peer", and "start_service" and "stop_service". When a peer connects to the server, he is able to call all three methods. I want him to be able to call only the first one. Also, I have a file that initializes the server, and has a little cmd line so I can start the service, debug, log and all that. I want that cmd line to be able to

DRb method access

∥☆過路亽.° 提交于 2020-01-05 07:34:19
问题 I am writing a simple distributed system in DRb. I have all the peers, and one server to do the bootstrapping. In that server, I have a few methods like "suggest_peer", and "start_service" and "stop_service". When a peer connects to the server, he is able to call all three methods. I want him to be able to call only the first one. Also, I have a file that initializes the server, and has a little cmd line so I can start the service, debug, log and all that. I want that cmd line to be able to

Should I be using Rails or Ruby for this website application? How?

陌路散爱 提交于 2019-12-01 02:10:43
问题 I'm very new to web programming (or actually, very old to it, since the last time I messed with the web was HTML 1.1), but now need to deploy a web application quickly. It seems like every time I turn around, there's new acronyms and technologies to learn (JSON, XMLRPC, GWT, Javascript, Rails, etc). Here's what my app must do: Given a username and password, authenticate (easy enough, everything does that, apparently). Allow the user to upload a large glob of data for processing. Process that