Hello Randal,

Wouldn't it be simpler, just as effective, and more stable to simply run two
VMs, with one instance per VM, and then create a single controlling client
to run in one of the two VMs or, possibly, a remote third VM?

I don't mean to sound catty; after all, I have quite likely missed your
point.

Best,

John


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:owner-pws@;cc.gatech.edu]On Behalf
Of Randal L. Schwartz
Sent: Monday, November 04, 2002 9:33 PM
To: [EMAIL PROTECTED]
Subject: [pws] class PWS as an instance instead of singleton?



As I was hacking out a demo over the weekend, I wanted to show the
interactions of two web servers and a single controlling client
program.  I didn't have the other machines nearby, so I thought "no biggy,
I'll just run two instances of PWS".

Ooops.

PWS is a singleton.

Has anyone moved the class methods and class vars to the instance side
so that multiple PWS instances can co-exist?

I remember this being an issue a few years ago.  Now I had a practical
reason.

If no one has it, I'll hack out a CS myself and submit it.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl
training!

Reply via email to