I was thinking of having two instances of Zope, one for test and one for production on the same server. How much overhead would a second instance use just by starting it rather than using it? -- John
--On Freitag, 17. September 2004 15:03 Uhr +0100 John Poltorak <jp@warpix.org> wrote:
I was thinking of having two instances of Zope, one for test and one for production on the same server. How much overhead would a second instance use just by starting it rather than using it?
This depends largely on your hardware and how much load your Zopes must handle. But in general it is not a good idea to have production and test server on the same machine. This applies to almost any software system (not only Zope). -aj
On Fri, Sep 17, 2004 at 04:07:24PM +0200, Andreas Jung wrote:
--On Freitag, 17. September 2004 15:03 Uhr +0100 John Poltorak <jp@warpix.org> wrote:
I was thinking of having two instances of Zope, one for test and one for production on the same server. How much overhead would a second instance use just by starting it rather than using it?
This depends largely on your hardware and how much load your Zopes must handle.
But in general it is not a good idea to have production and test server on the same machine. This applies to almost any software system (not only Zope).
Whilst I agree that running production and test apps on the same server is not a good idea, sometimes needs must, so my question is about how much extra overhead a second Zope instance will add. Site 1 and Site 2 will be served by the same server. The question is whether they can be served by different Zope instances without impacting markedly on performance.
-aj
-- John
--On Freitag, 17. September 2004 15:15 Uhr +0100 John Poltorak <jp@warpix.org> wrote:
Whilst I agree that running production and test apps on the same server is not a good idea, sometimes needs must, so my question is about how much extra overhead a second Zope instance will add. Site 1 and Site 2 will be served by the same server. The question is whether they can be served by different Zope instances without impacting markedly on performance.
Are you serious about that question? Zope is nothing other than a stupid process. If you have multiple processes running on your machine they share the same resources. If you are running Doom3 on your desktop, don't expect that your M$ office package in the background will be running like hell. -aj
On Friday 17 September 2004 15:15, John Poltorak wrote:
How much overhead would a second instance use just by starting it rather than using it?
Negligible cpu time except for the requests that you throw at it. A few tens of megabytes of ram, plus whatever objects you load. You can lower the zodb cache size to keep fewer objects in ram, if appropriate for your tests. -- Toby Dickenson
On Fri, Sep 17, 2004 at 03:30:24PM +0100, Toby Dickenson wrote:
On Friday 17 September 2004 15:15, John Poltorak wrote:
How much overhead would a second instance use just by starting it rather than using it?
Negligible cpu time except for the requests that you throw at it.
A few tens of megabytes of ram, plus whatever objects you load. ...
I'd advise checking out "whatever objects you load" before going ahead with this plan. It might be only a few tens of MB as others have noted; otoh, if you have a large ZODB and typical usage involves many many objects loaded at once, you might find yourself up in the hundreds. My dev server is using 170 MB right now and that's pretty typical for us. -- Paul Winkler http://www.slinkp.com
No issues. I do the same thing. I have my production Zope, usually a dev and usually something for out there like X3 running. Just make sure they start up on different ports (see config). Jake -- http://www.ZopeZone.com John Poltorak said:
I was thinking of having two instances of Zope, one for test and one for production on the same server. How much overhead would a second instance use just by starting it rather than using it?
-- John
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
John Poltorak <jp@warpix.org> on 9/17/04 wrote:
I was thinking of having two instances of Zope, one for test and one for production on the same server. How much overhead would a second instance use just by starting it rather than using it?
without any products installed, about 20M of RAM. With Plone installed, 35-45M of RAM. hth <--> george donnelly ~ http://www.zettai.net/ ~ "Quality Zope Hosting" Shared and Dedicated Zope Hosting ~ Zope Servers ~ Zope Websites Yahoo, AIM: zettainet ~ ICQ: 51907738 ~ Sales (USA): 1-866-967-3669
John Poltorak wrote:
I was thinking of having two instances of Zope, one for test and one for production on the same server. How much overhead would a second instance use just by starting it rather than using it?
My experience is that it's allmost entirely a matter of having enough ram in your system. If your production server runs at a good enough speed, and you have enough ram, a test server will have virtually no impact. It will be like adding an extra user at your production site. (namely you) Well unless off course, if you do heavy benchmark or processor intensive usage on the test instance. Or write codes that makes it go spinning into a loop or stuff like that. regards Max M -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science
participants (7)
-
Andreas Jung -
george donnelly -
Jake -
John Poltorak -
Max M -
Paul Winkler -
Toby Dickenson