| [reply] |
how about still use sockets (or pipes), but instead of establishing a communication between different programs on different boxes uning local displays, communicate between different programs on a single local box using remote displays? I mean, if your current version is somewhat like
box1:select(@handles_from_boxes) and do_logic()
box2:tk-interface.pl: connect to box1, create windows and buttons,
then I propose to do this instead:
box1: for ( @boxes) {
$ENV{DISPLAY} = $_;
system "tk-interface.pl";
}
select(@handles_from_boxes) and do_logic()
| [reply] |
At first I read this and thought "Great, the worst of both solutions!". But thinking it through, this actually sounds pretty good. Everything runs on one box, so the architecture problems disappear. No more rsh. Performance will be improved over my proposed monolithic solution (these are mostly SMP boxes).
Best of all, I get to keep using the socket code I wrote that I'm so proud of. :)
Don, thanks for your comments too. Yes, I am somewhat nervous about how complex the system is becoming! I can't say too much about the application, but this isn't something that I would know how to solve with a web-browser.
Cheers, Matt
| [reply] |