You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by marc gassmann <mg...@netcetera.ch> on 2008/07/02 15:16:12 UTC

performance problem on archiva 1.0.2

hi all

we are running archiva 1.0.2 on linux. at the moment, content serverd by 
archiva is really slow. if we take the artifacts the old way, connected 
through apache webserver, it is much faster, about 30 times!

archiva: 1:45.24
apache: 0:07.30

is archiva wrong configured or what could be the problem?

run out of ideas ....

cheers
marc


_archiva.log_

2008-07-02 15:05:37,753 [SocketListener0-6] INFO  
org.apache.archiva.AuditLog  - internal guest 122.17.1.199 
"org/apache/maven/release/maven-release/4/maven-release-4.pom" "Modify 
File (proxied)"

2008-07-02 15:05:37,852 [SocketListener0-6] INFO  
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - 
Transfer not attempted on 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.0-beta-7/maven-release-plugin-2.0-beta-7.pom 
: NO to update releases, policy is HOURLY, local file exist, and has 
been updated within the last hour.: using already present local file.

2008-07-02 15:05:37,856 [SocketListener0-6] INFO  
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - 
Transfer not attempted on 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.0-beta-7/maven-release-plugin-2.0-beta-7.jar 
: NO to update releases, policy is HOURLY, local file exist, and has 
been updated within the last hour.: using already present local file.

2008-07-02 15:05:37,857 [SocketListener0-6] INFO  
org.apache.archiva.AuditLog  - internal guest 122.17.1.199 
"org/apache/maven/plugins/maven-release-plugin/2.0-beta-7/maven-release-plugin-2.0-beta-7.jar" 
"Modify File (proxied)"





Re: performance problem on archiva 1.0.2

Posted by James William Dumay <ja...@atlassian.com>.
Hey Marc,

On Wed, 2008-07-02 at 15:16 +0200, marc gassmann wrote:
> hi all
> 
> we are running archiva 1.0.2 on linux. at the moment, content serverd by 
> archiva is really slow. if we take the artifacts the old way, connected 
> through apache webserver, it is much faster, about 30 times!
> 

Archiva 1.1 (trunk) should be about 10% faster than the current
implementation when it comes to serving artifacts.

Can you give me a few use cases where it is too slow? Please file an
issue if you find anything.

One thing I would like to reduce for Archiva 1.2 are the amount of
database hits (In reality, there should be zero but I think this is not
the case) and to refactor out the repository/proxy backend to ensure
that there are no unnecessary operations taken.


> archiva: 1:45.24
> apache: 0:07.30
> 
> is archiva wrong configured or what could be the problem?
> 
> run out of ideas ....
> 
> cheers
> marc
> 

Thanks
James

> 
> _archiva.log_
> 
> 2008-07-02 15:05:37,753 [SocketListener0-6] INFO  
> org.apache.archiva.AuditLog  - internal guest 122.17.1.199 
> "org/apache/maven/release/maven-release/4/maven-release-4.pom" "Modify 
> File (proxied)"
> 
> 2008-07-02 15:05:37,852 [SocketListener0-6] INFO  
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - 
> Transfer not attempted on 
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.0-beta-7/maven-release-plugin-2.0-beta-7.pom 
> : NO to update releases, policy is HOURLY, local file exist, and has 
> been updated within the last hour.: using already present local file.
> 
> 2008-07-02 15:05:37,856 [SocketListener0-6] INFO  
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - 
> Transfer not attempted on 
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.0-beta-7/maven-release-plugin-2.0-beta-7.jar 
> : NO to update releases, policy is HOURLY, local file exist, and has 
> been updated within the last hour.: using already present local file.
> 
> 2008-07-02 15:05:37,857 [SocketListener0-6] INFO  
> org.apache.archiva.AuditLog  - internal guest 122.17.1.199 
> "org/apache/maven/plugins/maven-release-plugin/2.0-beta-7/maven-release-plugin-2.0-beta-7.jar" 
> "Modify File (proxied)"
> 
> 
> 
>