>There's a cache for that, so canonicalization will happen only once in a
>while. I don't understand how it can possibly be a performance issue.
maybe I am reading the code wrong, but the method file() in FileDirContext creates a
new file object each time, so there is no
caching there.
So I guess
From: "Bill Barker" <[EMAIL PROTECTED]>
> From: "Filip Hanik - Dev" <[EMAIL PROTECTED]>
> > The Java VM does this through file handling, we would have
> > to find out where it issues this call and if we can get around it. The
> > Tomcat developers are not calling stat anywhere in the code, but
> >
Bill Barker wrote:
My guess would be File.getCanonicalPath() in FileDirContext.
There's a cache for that, so canonicalization will happen only once in a
while. I don't understand how it can possibly be a performance issue.
Rémy
--
Remy Maucherat wrote:
Filip Hanik - Dev wrote:
The Java VM does this through file handling, we would have to find
out where it issues this call and if we can get around it. The
Tomcat developers are not calling stat anywhere in the code, but the
underlying JVM code does, we just don't know where
- Original Message -
From: "Filip Hanik - Dev" <[EMAIL PROTECTED]>
To: "Tomcat Developers List" <[EMAIL PROTECTED]>
Sent: Wednesday, July 28, 2004 9:13 AM
Subject: Re: [Fwd: Re: Some benchs results : WAS: Invitation to HTTPD
commiters in tomcat-dev]
>
Filip Hanik - Dev wrote:
The Java VM does this through file handling, we would have to find out where it issues this call and if we can get around it. The
Tomcat developers are not calling stat anywhere in the code, but the underlying JVM code does, we just don't know where
Ok. Well, I think the
From: "David Rees" <[EMAIL PROTECTED]>
To: "Tomcat Developers List" <[EMAIL PROTECTED]>
Sent: Wednesday, July 28, 2004 11:08 AM
Subject: Re: [Fwd: Re: Some benchs results : WAS: Invitation to HTTPD commiters in
tomcat-dev]
Remy Maucherat wrote, On 7/28/2004 7:54 AM:
&
Remy Maucherat wrote, On 7/28/2004 7:54 AM:
One thing I noticed when looking at Tomcat 5.0.x is that its default,
static-file-delivering servlet does a stat(2) of each path prefix leading
up to the file. A standard installation of Apache 2.x, with
FollowSymlinks
enabled, doesn't do these stat cal
Henri Gomez wrote:
It seems we didn't got this CC in tc-dev :
Henri Gomez wrote:
I made some benchs on my Linux Fedora Core 2
on a P4 2.8ghz / 1Gb RAM :
Apache 2 alone 1202 req/s
TC/Coyote 883 req/s
One thing I noticed when looking at Tomcat 5.0.x is that its default,
static-file
It seems we didn't got this CC in tc-dev :
--- Begin Message ---
Henri Gomez wrote:
I made some benchs on my Linux Fedora Core 2
on a P4 2.8ghz / 1Gb RAM :
Apache 2 alone 1202 req/s
TC/Coyote 883 req/s
One thing I noticed when looking at Tomcat 5.0.x is that its default,
static-fi
10 matches
Mail list logo