Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: Tk - is MainWindow robust?

by matt.tovey (Beadle)
on Dec 01, 2005 at 13:44 UTC ( #513269=note: print w/replies, xml ) Need Help??

in reply to Re: Tk - is MainWindow robust?
in thread Tk - is MainWindow robust?

My current version does indeed use sockets. Problems with it are:
- All nodes need to have the relevant modules and libs available (I'm using Imager). Node architectures are also not homogeneous.
- The nodes' displays need to be started from the master. I'm currently doing this with rexec and it's not as neat as I would like.
- The new version needs to support WindowsXP, which has Exceed running (X-Server), but no rexecd.

Hence my thought to just open MainWindows direct from the master.

Replies are listed 'Best First'.
Re^3: Tk - is MainWindow robust?
by dk (Chaplain) on Dec 02, 2005 at 11:15 UTC
    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() connect to box1, create windows and buttons,
    then I propose to do this instead:
    box1: for ( @boxes) {
         $ENV{DISPLAY} = $_;
         system "";
    select(@handles_from_boxes) and do_logic()
      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

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://513269]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2023-11-28 20:00 GMT
Find Nodes?
    Voting Booth?

    No recent polls found