From: Ville Herva <vherva@mail.niksula.cs.hut.fi>
To: Ingo Molnar <mingo@elte.hu>
Cc: Fabio Riccardi <fabio@chromium.com>, linux-kernel@vger.kernel.org
Subject: Re: X15 alpha release: as fast as TUX but in user space
Date: Sat, 28 Apr 2001 16:15:02 +0300 [thread overview]
Message-ID: <20010428161502.I3529@niksula.cs.hut.fi> (raw)
In-Reply-To: <3AEA0C52.FA7CE1F1@chromium.com> <Pine.LNX.4.33.0104281029390.15790-100000@localhost.localdomain>
In-Reply-To: <Pine.LNX.4.33.0104281029390.15790-100000@localhost.localdomain>; from mingo@elte.hu on Sat, Apr 28, 2001 at 10:42:29AM +0200
On Sat, Apr 28, 2001 at 10:42:29AM +0200, you [Ingo Molnar] claimed:
>
> per RFC 2616:
> .............
> The Date general-header field represents the date and time at which the
> message was originated, [...]
>
> Origin servers MUST include a Date header field in all responses, [...]
> .............
>
> i considered the caching of the Date field for TUX too, and avoided it
> exactly due to this issue, to not violate this 'MUST' item in the RFC. It
> can be reasonably expected from a web server to have a 1-second accurate
> Date: field.
>
> the header-caching in X15 gives it an edge against TUX, obviously, but IMO
> it's a questionable practice.
>
> if caching of headers was be allowed then we could the obvious trick of
> sendfile()ing complete web replies (first header, then body).
Uhh, perhaps I'm stupid, but why not cache the date field and update the
field once a five seconds? Or even once a second?
I mean, at the rate of thousands of requests per second that should give you
some advantage over dynamically generating it -- especially if that's the
only thing hindering copletely sendfile()'ing the answer.
-- v --
v@iki.fi
next prev parent reply other threads:[~2001-04-28 13:15 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-28 0:18 Fabio Riccardi
2001-04-28 0:41 ` Aaron Lehmann
2001-04-28 0:49 ` David S. Miller
2001-04-28 1:11 ` Fabio Riccardi
2001-04-28 8:42 ` Ingo Molnar
2001-04-28 13:15 ` Ville Herva [this message]
2001-04-28 13:21 ` Ingo Molnar
2001-04-28 13:24 ` Ingo Molnar
2001-04-28 13:30 ` Ville Herva
2001-04-28 13:55 ` Andi Kleen
2001-04-29 21:25 ` Fabio Riccardi
2001-04-30 5:43 ` dean gaudet
2001-04-30 19:36 ` Fabio Riccardi
2001-04-30 21:47 ` dean gaudet
2001-04-30 21:52 ` David S. Miller
2001-05-01 7:31 ` Ingo Molnar
2001-04-30 6:39 ` David S. Miller
2001-05-01 7:25 ` Ingo Molnar
2001-04-28 7:32 Ingo Molnar
2001-04-29 21:19 ` Fabio Riccardi
2001-05-01 8:53 ` Ingo Molnar
2001-05-01 17:10 ` Fabio Riccardi
2001-05-01 17:12 ` Ingo Molnar
2001-05-04 1:58 ` Fabio Riccardi
2001-05-04 8:49 ` Ingo Molnar
2001-05-04 18:10 ` Fabio Riccardi
2001-05-04 18:38 ` Davide Libenzi
2001-05-09 22:42 ` Fabio Riccardi
2001-05-02 8:50 ` Ingo Molnar
2001-05-02 14:12 ` Zach Brown
2001-05-03 2:41 ` Fabio Riccardi
2001-05-02 23:19 ` Lincoln Dale
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010428161502.I3529@niksula.cs.hut.fi \
--to=vherva@mail.niksula.cs.hut.fi \
--cc=fabio@chromium.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®