Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: [helm-dev] Replace TView with Wrap?

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

Re: [helm-dev] Replace TView with Wrap?

Author Manoj Kasichainula <manoj at collab dot net>
Full name Manoj Kasichainula <manoj at collab dot net>
Date 2000-06-30 17:29:44 PDT
Message On Fri, Jun 30, 2000 at 04:28:01PM -0700, Ed Korthof wrote:
> Are you saying that with a reguest for a piece of dynamic content (ie. the
> output from a servlet), an additional http request will be required?

I didn't think TView was needed for our dynamic content.

> Or just that an additional http request will be required for static
> content & other content which isn't delivered through joist?

That was my intent.

> I don't think you can discount the disadvantage so lightly: if we reach a
> point where we're serving a significant amount of traffic, this nearly
> doubles the cost of delivering static content (in terms of the processing
> required).

Do we have any stats on servlet processing delay vs. HTTP processing
delay? My assumption was that servlet delay >> loopback HTTP delay, so
that (servlet + HTTP) is approximately = (servlet + HTTP + loopback
HTTP).

> I can see the advantages, and I know I sometimes go overboard on
> efficiency issues

I don't think that's possible.

> -- but this strikes me as a bad idea. It seems like the
> design principle behind this is: save engineering time regardless of
> performance.

That is never something I would say intentionally. You should have
seen the hassles I went through to eliminate a single mutex call in
the Apache request path :). However, I don't think code duplication is
good either, and since Apache has a pile of code to set Expires:
headers and such, let's take advantage of it.

See the other reasons I mentioned. I think caching is an extremely
important one for efficiency. And my belief was that the proposal
would not affect performance much at all.

> Before we head down this route, I'd like to do benchmarks quantifying the
> effects -- both for static and for dynamic content.

+1.

« Previous message in topic | 4 of 6 | Next message in topic »

Messages

Show all messages in topic

Replace TView with Wrap? Manoj Kasichainula <manoj at collab dot net> Manoj Kasichainula <manoj at collab dot net> 2000-06-30 15:19:29 PDT
     Re: [joist-dev] Replace TView with Wrap? Jon Stevens <jon at latchkey dot com> Jon Stevens <jon at latchkey dot com> 2000-06-30 15:38:51 PDT
     Re: [helm-dev] Replace TView with Wrap? edk Ed Korthof 2000-06-30 16:28:01 PDT
         Re: [helm-dev] Replace TView with Wrap? Manoj Kasichainula <manoj at collab dot net> Manoj Kasichainula <manoj at collab dot net> 2000-06-30 17:29:44 PDT
             Re: [helm-dev] Replace TView with Wrap? edk Ed Korthof 2000-07-01 17:59:50 PDT
     Re: [joist-dev] Replace TView with Wrap? "Daniel L dot Rall" <dlr at collab dot net> "Daniel L dot Rall" <dlr at collab dot net> 2000-06-30 16:46:01 PDT
Messages per page: