Re: [Zope] Editing downloaded + installed product?
Stefan Hoffmeister <Stefan.Hoffmeister@Econos.de> wrote:
: On Thu, 21 Oct 1999 12:48:49 -0400, Michel Pelletier wrote:
From: Stefan Hoffmeister [mailto:Stefan.Hoffmeister@Econos.de]
(Re)starting ZServer takes about 18 seconds on my development NT4 system (192 MB, 540 Mhz overclocked Celeron). I somehow feel that this is an a tad bit inappropriate time lag.
Why?
Let me add "for development purposes" to clarify.
Look, I am used to blazingly fast compilers - Object Pascal (Borland Delphi) and Borland C++Builder with well-done pre-compiled headers.
Yeah, but try deploying that newly-compiled application to thousands of users all over the world in nineteen seconds. Server side tools have different design forces, and therfore different tradeoffs.
19 seconds delay, combined with the "manual" action of shutting down the server + starting it up again - I perceive that as an eternity.
What do I do in these 19 seconds?
You catch up on Zope mail -- what else? :) FWIW, it takes my (almost empty) ZServer about 3.5 seconds to restart on Linux. You might try packing the database, perhaps? -- ========================================================= Tres Seaver tseaver@palladion.com 713-523-6582 Palladion Software http://www.palladion.com
Tres Seaver wrote:
Stefan Hoffmeister <Stefan.Hoffmeister@Econos.de> wrote:
...
19 seconds delay, combined with the "manual" action of shutting down the server + starting it up again - I perceive that as an eternity.
Why manually? Why not go to the Control panel and select restart? Works great for me on several servers.
What do I do in these 19 seconds?
You catch up on Zope mail -- what else? :) FWIW, it takes my (almost empty) ZServer about 3.5 seconds to restart on Linux. You might try packing the database, perhaps?
One of my servers resides on an HP C3000, restarts in <5 seconds, with a Data.fs file of ~4MB. I would second the reccomendation to pack the database. Bill -- "They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown." -- Carl Sagan
: On Thu, 21 Oct 1999 18:59:14 -0600, Bill Anderson wrote:
Why manually? Why not go to the Control panel and select restart?
Where? For Zope version: Zope 2.0.1 (binary release, python 1.5.2, win32-x86) I only get a Shutdown button. Note: I am using ZServer, no Apache, no IIS.
One of my servers resides on an HP C3000, restarts in <5 seconds, with a Data.fs file of ~4MB.
My data.fs is reasonably trivial: * approx 4.2 MB in size * contains 100 documents or methods * with 5-6 binary files that are a bit larger (hence the size of the DB) Note that this is before restructuring to Zope acquisition (where I expect to have MANY more documents, although much smaller) - I simply jammed all the existing data down the ZServer FTP server.
I would second the reccomendation to pack the database.
Packing the database does not change anything, I am afraid.
Stefan Hoffmeister wrote:
: On Thu, 21 Oct 1999 18:59:14 -0600, Bill Anderson wrote:
Why manually? Why not go to the Control panel and select restart?
Where? For
Zope version: Zope 2.0.1 (binary release, python 1.5.2, win32-x86)
I only get a Shutdown button. Note: I am using ZServer, no Apache, no IIS.
Hmmm, it is below the shutdown button on all of 6 of mine (running 2.0.1) ...
One of my servers resides on an HP C3000, restarts in <5 seconds, with a Data.fs file of ~4MB.
My data.fs is reasonably trivial:
* approx 4.2 MB in size * contains 100 documents or methods * with 5-6 binary files that are a bit larger (hence the size of the DB)
Average size of those binaries? I am wondering if it isn't the binaries. I have 4 Zservers on an old p133 with 128MB ram, on an old scsi drive; each takes ~45 seconds to load. I have no binaries in them.
Note that this is before restructuring to Zope acquisition (where I expect to have MANY more documents, although much smaller) - I simply jammed all the existing data down the ZServer FTP server.
I would second the reccomendation to pack the database.
Packing the database does not change anything, I am afraid.
Likely due to the binaries. -- "They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown." -- Carl Sagan
: On Fri, 22 Oct 1999 01:39:59 -0600, Bill Anderson wrote:
Average size of those binaries? I am wondering if it isn't the binaries.
These are (in no particular order - blessed be the NT DIR command) the ones that cross the 100 KB barrier: 201.361 txstuff.zip 320.825 Aexcel.zip 233.547 aexcel32.zip 129.257 Temail2.zip 191.985 Floader.zip 451.509 fputrial.exe 382.625 mapper.zip 204.680 mapper44.zip 196.764 ObjPatch.zip 345.712 setup.exe 684.045 setup.exe I have "about" 135 files in the database, with an (arithmetic) average size of 32 KB.
I have 4 Zservers on an old p133 with 128MB ram, on an old scsi drive; each takes ~45 seconds to load. I have no binaries in them.
Well, the drive the database (together with Zope itself) resides on is reasonably old, too (IBM DCAS, 5200 rpm), but still sufficiently performant (and it's a FAT16 partition, not NTFS)
At 08:26 22/10/99 , Stefan Hoffmeister wrote:
: On Thu, 21 Oct 1999 18:59:14 -0600, Bill Anderson wrote:
Why manually? Why not go to the Control panel and select restart?
Where? For
Zope version: Zope 2.0.1 (binary release, python 1.5.2, win32-x86)
I only get a Shutdown button. Note: I am using ZServer, no Apache, no IIS.
On Win32 you only will get a Restart option when running Zope as a service. -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-7502100 Fax: +31-35-7502111 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
: On Thu, 21 Oct 1999 19:36:20 -0500, Tres Seaver wrote:
Yeah, but try deploying that newly-compiled application to thousands of users all over the world in nineteen seconds. Server side tools have different design forces, and therfore different tradeoffs.
Well, even on the server side human labour should be extremely expensive. Faster turn-around -> cheaper, faster development.
What do I do in these 19 seconds?
You catch up on Zope mail -- what else? :)
Kicking off an C++ background build, for instance :-> Slamming a few newbies in the Borland Delphi and Borland C++Builder newsgroups for not doing the RTFM exercise ;-)
FWIW, it takes my (almost empty) ZServer about 3.5 seconds to restart on Linux.
In the light of my database packing experience, it seems as if I should get myself the Zope source code for compiling wherever ZServer boots up fastest (BeOS anyone?) :-)
participants (4)
-
Bill Anderson -
Martijn Pieters -
Stefan Hoffmeister -
Tres Seaver