durusmail: durus-users: Million-instance limit
Million-instance limit
2005-01-06
2005-01-06
2005-01-06
2005-01-06
Million-instance limit
A.M. Kuchling
2005-01-06
On Thu, Jan 06, 2005 at 03:54:19PM -0500, David Binger wrote:
> Also, the index is constructed when you start the server by seeking
> through the records of the durus file.  The more objects you have, the
> longer this takes.  If you double the number of objects, you probably

Startup delay isn't much of a problem, because the Durus server will
be started up on system boot.  I wonder if you could pickle the
dictionary into a file and read it back on startup instead of
assembling it every time?  Hmm... seems tricky, because you don't want
to write out the pickled version every time a change is committed.

> If it were me, I'd buy faster/bigger io/memory
> before thinking about anything fancier than FileStorage.

That's not really an option in this case because this isn't an
application running on one server that's under our control; it would
be used on every machine we sell, and putting in more memory or faster
disks into every box would cut into profit margins.

Anyway, I'll see how long a storage with 10 or 15 models takes to
start, and decide if anything needs to be done immediately.  Probably
not -- I have other, more pressing tasks.

Thanks!

--amk


reply