* complex problem connecting two separate processes
@ 1995-12-12 5:00 Patrick Emery
1995-12-13 5:00 ` Ron Natalie
0 siblings, 1 reply; 2+ messages in thread
From: Patrick Emery @ 1995-12-12 5:00 UTC (permalink / raw)
I need some help with attaching interactive sessions with background jobs.
I currenly have a system with a captive account into which many people log in and run a single
shared image. This image is an interactive program that requires some time-consuming
initialization. Once initialized, the user works with the interactive terminal intermittently
throughout the day. If the terminal sits inactive for some specified period the image terminates
and the captive account logs out.
We would like to have a pool of processes, each running this image, execute in the background
up to the point where interactive i/o is necessary. At which time the process should go into HIB.
Whenever someone logs into the captive account, we would like some sort of
attach/connect/whatever between the interactive session and one of the HIB processes. At this
point the user could do whatever work necessary without having to sit waiting during the time-
consuming initialization. The interactive system could then be used throughout the day as usual.
When the user is done and logs out, the interactive session and the associated image should go
away. We always want some number of the background jobs HIBernating so that a user can
connect to it without having to wait.
Any suggestions for implementing this would be appreciated. There are two obstacles as we see
it. First, how to establish the connection between the interactive session and the background
process. Second, how to have the background process sitting in HIBernate recognize that it now
has an interactive terminal associated with it so it can display its prompts.
Any comments or suggestions can be forwarded to patemery@voicenet.com.
Thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: complex problem connecting two separate processes
1995-12-12 5:00 complex problem connecting two separate processes Patrick Emery
@ 1995-12-13 5:00 ` Ron Natalie
0 siblings, 0 replies; 2+ messages in thread
From: Ron Natalie @ 1995-12-13 5:00 UTC (permalink / raw)
Patrick Emery (patemery@omni.voicenet.com) wrote:
: I need some help with attaching interactive sessions with background jobs.
Can you say client/server?
Make your back end processes accept network connections as a server and
write a little client module (it might look a lot like telnet) that the
user gets as the log in shell.
-Ron
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1995-12-13 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-12-12 5:00 complex problem connecting two separate processes Patrick Emery
1995-12-13 5:00 ` Ron Natalie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox