Re: Memory Management
Re: Memory Management
- Subject: Re: Memory Management
- From: Andrew Lindesay <email@hidden>
- Date: Tue, 3 Mar 2009 10:18:28 +1300
Hello Chuck;
A big part of slowing-down with saturated object stores is that as
there are more and more EO's in memory it takes longer and longer
for fetches to be processed because as the system ensures
uniqueness, it will have to keep checking to see if it already has
each new row of data in memory already.
That does not sound right to me. It is a hashed lookup so it should
be O(1). Unless the hashing function is bad and there are a lot of
collisions, the lookup time should not vary greatly with the number
of snapshots on hand.
I don't have the source code so I can't tell. Maybe the buckets are
quite large; I don't know. What I do know is that when I do a long-
run operation with the same EC and no "tricks", the thread seems to
spend a sizable percentage of the time comparing snapshots --
presumably for facilitating uniquing.
cheers.
___
Andrew Lindesay
www.lindesay.co.nz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden