[racket] remote tasks
Thanks very much for
Neil's detailed outline for a solution;
and
Kevin's example code
I will digest them and ask questions again if I stumble into
issues.
--hp
> 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