Re: Newbie: Mixing HTML & WO Pages?
Re: Newbie: Mixing HTML & WO Pages?
- Subject: Re: Newbie: Mixing HTML & WO Pages?
- From: petite_abeille <email@hidden>
- Date: Thu, 23 Oct 2003 20:40:26 +0200
Hi Jonathan,
On Thursday, Oct 23, 2003, at 20:24 Europe/Amsterdam,
email@hidden wrote:
Personally, I have not found this to be true.
Personally I found it to be true :) But of course, YMMV.
Back when I switched from
ColdFusion to WO, re-implementing an app in WO that had been in CF....
db access was much slower.
DB access is only part of the entire loop (albeit a big one).
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.
Well... not that I'm really qualified to defend Java... but... there
has been some progress since those dark ages.
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.
Yes. And? Are we talking about the "pure" Java WebObjects? The
"bridged" one? Or the good, old Objective-C one?
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.
Perhaps. I don't have much exposure to CF. But what are you comparing
to what?
WO (again, at least a few years ago when I was doing this
transition), much slower.
How many years ago? This somehow matters, as WebObjects went through
several metamorphosis in the meantime.
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.
Oh, well... but how actual such "experiences" are?
Of course, you could say: re-design your app so you never need to
fetch a
few hundred objects.
Yep ;)
But that's besides the point.
I don't think so: image how *really* fast your CF implementation would
have been then...
And yeah, I'm still using WO.
Sorry to hear that.
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 wouldn't have worked.
Well... I guess this last point win you the show :)
Cheers,
PA.
_______________________________________________
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.