Re: slow app when having a lot of D2W rules ?
Re: slow app when having a lot of D2W rules ?
- Subject: Re: slow app when having a lot of D2W rules ?
- From: Dominique Schoenenberger <email@hidden>
- Date: Sun, 2 Mar 2008 22:07:50 +0100
On 21 févr. 08, at 21:29, Anjo Krank wrote:
Am 21.02.2008 um 20:57 schrieb Dominique Schoenenberger:
Good to know, thank you. Here what we have found:
If we comment out the following ERD2WModel methods:
protected ObjectfireSystemRuleForKeyPathInContext(String keyPath,
D2WContext context)
protected Object fireRuleForKeyPathInContext(String keyPath,
D2WContext context)
and call super instead, we have found evidence to suggest the
performance problem is no longer there.
Yeah great. Unfortunately you will then have to manage significant
keys by yourself and the app will simply not do the same as before.
When we profiled the application we found that the application
spend more and more time in ERXMultiKey.equals and the number of
ERXMultiKey instances increases (while accessing the same list page)
Does this make any sense ?
So I made to (write-only! Test!!) performance improvements in ERD2W
and ERX. Tell me if this fixes the issue. And please: move this to
the Wonder list...
I tried the fix you made but it doesn't help. In the meantime, we
managed to nuke 2000 rules by removing obsolete stuff and by using
defaults (which will help also for next developments). With 4500 rules
now, the problem seems to be solved.
Dominique _______________________________________________
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