Re: Newbie: Mixing HTML & WO Pages?
Re: Newbie: Mixing HTML & WO Pages?
- Subject: Re: Newbie: Mixing HTML & WO Pages?
- From: email@hidden
- Date: Thu, 23 Oct 2003 11:53:51 CDT
- Priority: 3 (Normal)
[demime could not interpret encoding binary - treating as plain text]
The main performance issue with WO has to do with EOF---that is, with
database access through the Enterprise Objects Framework. Things can be
quite slow, when compared with using other less powerful solutions.
WO itself, that is WO pages without any EOF access at all, seems
reasonably efficient and quick. Especially a "plain HTML" page served
through WO, as you contemplate, there isn't actually much processing at
all going on. Should be reasonably fast. Although my disclaimer is I'm
no expert in efficiency, and my own apps don't generally have enough
users for efficiency to be a concern. These are just my observations as
a WO developer---before using WO, I did use ColdFusion too, although that
was several years ago now. WO definitely is not as fast as CF; you pay
for it's power and flexibility in some performance. But like I say, I
think most of this is with EOF---with the plain HTML pages alone, EOF
isn't an issue.
One other thing to be aware of: By default, WO applications have the
property allowsConcurrentRequestHandling set to false. There's really no
good reason for this in a WO 5.2 application. If you are beginning a new
application, you should probably just set this to true in the application
constructor: setAllowsConcurrentRequestHandling(true). You will need to
make sure that any data in Application or in static variables, is safe
for concurrent access.
On Thu, 23 Oct 2003 08:55:12 -0700 Bob McCormick wrote:
> Thanks Chuck for the insight on this.
>
> I guess I'm just being paranoid, as I've done a couple of big sites and
> we had to eek out every last bit of performance and so have gotten into
> the habit of thinking about static vs dynamic pages.
>
> What is your take on the performance of WO? I know that it isn't going
> to be as fast as Apache alone, but are there any gotchas that I should
> be aware of?
>
> Appreciate any other thoughts you'd like to share.
>
> Thanks...Bob
> _______________________________________________
> 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.
_______________________________________________
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.