[racket] remote tasks

From: Kevin Tew (tewk at cs.utah.edu)
Date: Mon May 14 17:01:16 EDT 2012

I'm not familiar with the wiki, but I don't mind if it gets included.

Kevin

On 05/14/2012 02:16 PM, Matthias Felleisen wrote:
> Is this something for the Wiki on Tricks and Hacks with Racket?
>
>
> On May 14, 2012, at 1:18 PM, Kevin Tew wrote:
>
>> Attached is a distributed places program that will do what you want.
>>
>> It requires the latest checkout from git head.
>> You must have ssh public-key authentication setup on all the nodes.
>> For easy use, it also requires that racket and remote-eval.rkt be installed in the same place on all three machines.
>> It communicates with plain sockets, so it assumes a secure environment.
>>
>> Let me know what problems you have or if it works for you.
>> I would start by testing it out using just localhost.
>>
>> Kevin Tew
>>
>>
>> On 05/13/2012 01:53 PM, HP Wei wrote:
>>> Would you please suggest to me some links so that I can
>>> get some info or even better some sample racket codes for below task ?
>>>
>>> -------------------------------------------------------
>>>
>>> Suppose I am on a master machine A
>>> and there are two other machines B and C.
>>>
>>> On A,  in racket,  I would like to programatically initiate
>>> one server on B and another on C.
>>> The 'server' is presumably a 'repl' that can execute a block
>>> of code, sent from A.
>>> [ Let's say security is not an issue here. ]
>>>
>>> i.e. this is the intention:
>>>
>>>     invoke-server-on B  and C  (via rsh or ssh)
>>>     send-code B   (asynchronously)
>>>     send-code C   (asynchronously)
>>>     wait-for-result-from B and C
>>>     ...
>>>     kill-server-on B and C
>>>
>>> thanks
>>> HP
>>> ____________________
>>> Racket Users list:
>>> http://lists.racket-lang.org/users
>> <remote-eval.rkt>____________________
>>   Racket Users list:
>>   http://lists.racket-lang.org/users


Posted on the users mailing list.