Re: Newbie: Mixing HTML & WO Pages?
Re: Newbie: Mixing HTML & WO Pages?
- Subject: Re: Newbie: Mixing HTML & WO Pages?
- From: "Adam Chan" <email@hidden>
- Date: Thu, 23 Oct 2003 13:48:24 -0600
When dealing with thousands of records, you could forget about EOF and do a
raw fetching instead, right?
----- Original Message -----
From: <email@hidden>
To: <email@hidden>
Cc: <email@hidden>
Sent: Thursday, October 23, 2003 12:24 PM
Subject: Re: Newbie: Mixing HTML & WO Pages?
> Personally, I have not found this to be true. Back when I switched from
> ColdFusion to WO, re-implementing an app in WO that had been in CF....
> db access was much slower. Mainly when fetching, is what I remember
> paying attention to. Using all the EOF performance tuning tricks in the
> book can help (pre-fetching, batch faulting, etc), but in the end, I
> think it's just due to the time it takes to instantiate a Java object and
> there's not much to be done. For every row you fetch, there are
> potentially a bunch of EOF objects instantiated, including the object for
> the EO itself as well as a snapshot and others.
>
> Fetching a few hundred objects, significantly slower in WO than CF. CF,
> at least a few years ago when I was using it, was actually astoundingly
> fast. WO (again, at least a few years ago when I was doing this
> transition), much slower. Noticeable to the user---from a click in CF
> resulting in a blindingly fast page generation, to a click in WO
> resulting in a second or more for the page to be returned.
>
> Of course, you could say: re-design your app so you never need to fetch a
> few hundred objects. But that's besides the point.
>
> And yeah, I'm still using WO. I couldn't possibly have done what I've
> since done in WO using CF, it just wouldn't have been feasible. So it
> doesn't matter that CF was faster, CF woulln't have worked.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.