[REBOL] Rugby integration!
From: koopmans:itr:ing:nl at: 20-Feb-2002 14:14
Did two minor bugfixes on rebxr and rugby in hipe.
I realized that you can do this already:
recho: func [s [string!]][ chain/deliver http:/localhost:8002 reduce ['echo
which assumes that there is an echo Rugby on 8002 on localhost.
What happens is that you have access to threading (through hipe) and can use
chain (which is a client-side Rugby thread) if you have loaded Rugby.
Only problem now is delivery of the result back. But this can be solved
architecturally quite simple by splitting a request/reply into two xml-rpc's
and when the chain returns:
where main server makes an explicit call to deliver the result.
Here. Today. Man I'm happy ;-)
If I were you I'd use xml-rpc anyway, and forget about the balancing
initially. That can be done in so many ways that there are perhaps more
transparent solutions than the one with the callback outlined above.