Re: [Wicket-user] low wicket performance - intensive file system usage
there are snapshots here wicketframework.org/maven/repository 1.3 under org/apache/wicket 2.0 under wicket -igor On 2/13/07, Jesse Barnum <[EMAIL PROTECTED]> wrote: So it's not in any pre-compiled release version? --Jesse Barnum, President, 360Works http://www.360works.com (770) 234-9293 On Feb 13, 2007, at 5:59 PM, Eelco Hillenius wrote: > On 2/13/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: >> in 1.x or 2.x > > Where 1.x stands for the name for the branch and Wicket version 1.3 > and up. > > Eelco > > -- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] low wicket performance - intensive file system usage
So it's not in any pre-compiled release version? --Jesse Barnum, President, 360Works http://www.360works.com (770) 234-9293 On Feb 13, 2007, at 5:59 PM, Eelco Hillenius wrote: > On 2/13/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: >> in 1.x or 2.x > > Where 1.x stands for the name for the branch and Wicket version 1.3 > and up. > > Eelco > > -- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] low wicket performance - intensive file system usage
On 2/13/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > in 1.x or 2.x Where 1.x stands for the name for the branch and Wicket version 1.3 and up. Eelco - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] low wicket performance - intensive file system usage
in 1.x or 2.x -igor On 2/13/07, Jesse Barnum <[EMAIL PROTECTED]> wrote: I don't have a WicketFilter in my wicket-1.2.5.jar. Where would I find this? --Jesse Barnum, President, 360Works http://www.360works.com (770) 234-9293 On Feb 13, 2007, at 8:48 AM, Martijn Dashorst wrote: > Use the wicket filter instead. > > Martijn > > On 2/13/07, Andrew Klochkov <[EMAIL PROTECTED]> wrote: >> I think I found the cause of our performance problems - we map wicket >> servlet to /*. If I change it to "/app", things become much much >> faster. >> The problem is that our customer doesn't want to have redirect on the >> main page, and at the same time this page is not static. Any >> suggestions? >> >> Matej Knopp wrote: >>> This is very strange. >>> We are know about the FilePageStore.storePage performance issues and >>> johan is working on optimizing that. >>> >>> but CompressedPackageResource shouldn't take 30%. Definitely not. >>> caches >>> the resource so the serving should be immediate. Unless your machine >>> runs out of memory, in that case the cache is evicted. >>> >>> I'm not sure but i think there was a memory leak in 1.x lately, >>> are you >>> sure you're using the latest version? >>> >>> What's the configuration of your server? >>> >>> Btw. You can try to use HttpSessionStore to see if it makes serving >>> pages faster >>> >>> (in your application class >>> protected ISessionStore newSessionStore() { >>> return new HttpSessionStore(); >>> } >>> ) >>> >>> -Matej >>> >>> Andrew Klochkov wrote: >>> forgot to mention the version - we use wicket 1.3 Andrew Klochkov wrote: > Hi > > Recently we launched some simple webapp written in wicket, but > performance is obviously low. Even simple pages are being > loaded too slow. > I tried to dig into it using profiler and found out that wicket > takes > 67% of CPU to work with file system. Main points of low > performance are: > > 1. wicket.protocol.http.FilePageStore.storePage eats 25% of CPU > 2. getting resources using CompressedPackageResource eats 30% > of CPU > > How can we improve it? Why does wicket save all the pages in > files, why > not to use http sessions? > And what can be done with resources? I guess the browser > doesn't cache > them and it takes to long time to get them from jars. > > > >>> >>> >>> >>> - >>> Using Tomcat but need to do more? Need to support web services, >>> security? >>> Get stuff done quickly with pre-integrated technology to make >>> your job easier. >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>> Geronimo >>> http://sel.as-us.falkag.net/sel? >>> cmd=lnk&kid=120709&bid=263057&dat=121642 >>> ___ >>> Wicket-user mailing list >>> Wicket-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/wicket-user >>> >>> >>> >> >> >> -- >> Andrew Klochkov >> >> >> - >> >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier. >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel? >> cmd=lnk&kid=120709&bid=263057&dat=121642 >> ___ >> Wicket-user mailing list >> Wicket-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> > > > -- > Vote for Wicket at the http://www.thebeststuffintheworld.com/ > vote_for/wicket > Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! > http://wicketframework.org > > -- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -
Re: [Wicket-user] low wicket performance - intensive file system usage
I don't have a WicketFilter in my wicket-1.2.5.jar. Where would I find this? --Jesse Barnum, President, 360Works http://www.360works.com (770) 234-9293 On Feb 13, 2007, at 8:48 AM, Martijn Dashorst wrote: > Use the wicket filter instead. > > Martijn > > On 2/13/07, Andrew Klochkov <[EMAIL PROTECTED]> wrote: >> I think I found the cause of our performance problems - we map wicket >> servlet to /*. If I change it to "/app", things become much much >> faster. >> The problem is that our customer doesn't want to have redirect on the >> main page, and at the same time this page is not static. Any >> suggestions? >> >> Matej Knopp wrote: >>> This is very strange. >>> We are know about the FilePageStore.storePage performance issues and >>> johan is working on optimizing that. >>> >>> but CompressedPackageResource shouldn't take 30%. Definitely not. >>> caches >>> the resource so the serving should be immediate. Unless your machine >>> runs out of memory, in that case the cache is evicted. >>> >>> I'm not sure but i think there was a memory leak in 1.x lately, >>> are you >>> sure you're using the latest version? >>> >>> What's the configuration of your server? >>> >>> Btw. You can try to use HttpSessionStore to see if it makes serving >>> pages faster >>> >>> (in your application class >>> protected ISessionStore newSessionStore() { >>> return new HttpSessionStore(); >>> } >>> ) >>> >>> -Matej >>> >>> Andrew Klochkov wrote: >>> forgot to mention the version - we use wicket 1.3 Andrew Klochkov wrote: > Hi > > Recently we launched some simple webapp written in wicket, but > performance is obviously low. Even simple pages are being > loaded too slow. > I tried to dig into it using profiler and found out that wicket > takes > 67% of CPU to work with file system. Main points of low > performance are: > > 1. wicket.protocol.http.FilePageStore.storePage eats 25% of CPU > 2. getting resources using CompressedPackageResource eats 30% > of CPU > > How can we improve it? Why does wicket save all the pages in > files, why > not to use http sessions? > And what can be done with resources? I guess the browser > doesn't cache > them and it takes to long time to get them from jars. > > > >>> >>> >>> >>> - >>> Using Tomcat but need to do more? Need to support web services, >>> security? >>> Get stuff done quickly with pre-integrated technology to make >>> your job easier. >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>> Geronimo >>> http://sel.as-us.falkag.net/sel? >>> cmd=lnk&kid=120709&bid=263057&dat=121642 >>> ___ >>> Wicket-user mailing list >>> Wicket-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/wicket-user >>> >>> >>> >> >> >> -- >> Andrew Klochkov >> >> >> - >> >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier. >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel? >> cmd=lnk&kid=120709&bid=263057&dat=121642 >> ___ >> Wicket-user mailing list >> Wicket-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> > > > -- > Vote for Wicket at the http://www.thebeststuffintheworld.com/ > vote_for/wicket > Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! > http://wicketframework.org > > -- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] low wicket performance - intensive file system usage
DefaultRequestTargetResolverStrategy protected IRequestTarget resolveExternalResource(RequestCycle requestCycle) { // Get the relative URL we need for loading the resource from // the servlet context // NOTE: we NEED to put the '/' in front as otherwise some versions // of application servers (e.g. Jetty 5.1.x) will fail for requests // like '/mysubdir/myfile.css' final String url = '/' + requestCycle.getRequest().getRelativeURL(); return new WebExternalResourceRequestTarget(url); } On 2/13/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote: * Martijn Dashorst: > We don't recommend putting the Wicket servlet at /*, you can > find it all over the mailinglist and on the WIKI. This is > because the servlet then has to serve *ALL* things in the > application context, provided you don't tweak the web.xml to do > otherwise. Does it mean in Wicket 1.x there is code that streams static resources? That's interesting. Can you point me to the relevant class or method? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] low wicket performance - intensive file system usage
Martijn Dashorst wrote: > We don't recommend putting the Wicket servlet at /*, you can find it > all over the mailinglist and on the WIKI. This is because the servlet > then has to serve *ALL* things in the application context, provided > you don't tweak the web.xml to do otherwise. > > Apparently they serve a lot of static things from the root context. > > IMHO with servlet mapping at /* getting resources of any kind becomes slow (no matter whether they're in the root context or not). I think it's possible to make this faster, but anyway it's better to use container functionality, so using filter is the right way to go. -- Andrew Klochkov - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] low wicket performance - intensive file system usage
* Martijn Dashorst: > We don't recommend putting the Wicket servlet at /*, you can > find it all over the mailinglist and on the WIKI. This is > because the servlet then has to serve *ALL* things in the > application context, provided you don't tweak the web.xml to do > otherwise. Does it mean in Wicket 1.x there is code that streams static resources? That's interesting. Can you point me to the relevant class or method? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] low wicket performance - intensive file system usage
We don't recommend putting the Wicket servlet at /*, you can find it all over the mailinglist and on the WIKI. This is because the servlet then has to serve *ALL* things in the application context, provided you don't tweak the web.xml to do otherwise. Apparently they serve a lot of static things from the root context. Martijn On 2/13/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote: > * Martijn Dashorst: > > > Use the wicket filter instead. > > Can you please tell why it makes such a big performance difference > between the servlet and the filter? I never noticed that. > -- > Jean-Baptiste Quenot > aka John Banana Qwerty > http://caraldi.com/jbq/ > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] low wicket performance - intensive file system usage
* Martijn Dashorst: > Use the wicket filter instead. Can you please tell why it makes such a big performance difference between the servlet and the filter? I never noticed that. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] low wicket performance - intensive file system usage
Martijn Dashorst wrote: > Use the wicket filter instead. > > This completely solved the problem! Thanks a lot! -- Andrew Klochkov - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] low wicket performance - intensive file system usage
Carfield Yim wrote: >> The problem is that our customer doesn't want to have redirect on the >> main page, and at the same time this page is not static. Any suggestions? >> >> > > How about just have an index.html at / that redirect to /app? > > > As I said we can't do redirect on the main page, the customer just doesn't want it. Using servlet filter instead of servlet solves our problems. -- Andrew Klochkov - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] low wicket performance - intensive file system usage
On 2/13/07, Andrew Klochkov <[EMAIL PROTECTED]> wrote: > I think I found the cause of our performance problems - we map wicket > servlet to /*. If I change it to "/app", things become much much faster. Interesting... > The problem is that our customer doesn't want to have redirect on the > main page, and at the same time this page is not static. Any suggestions? > How about just have an index.html at / that redirect to /app? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] low wicket performance - intensive file system usage
Use the wicket filter instead. Martijn On 2/13/07, Andrew Klochkov <[EMAIL PROTECTED]> wrote: > I think I found the cause of our performance problems - we map wicket > servlet to /*. If I change it to "/app", things become much much faster. > The problem is that our customer doesn't want to have redirect on the > main page, and at the same time this page is not static. Any suggestions? > > Matej Knopp wrote: > > This is very strange. > > We are know about the FilePageStore.storePage performance issues and > > johan is working on optimizing that. > > > > but CompressedPackageResource shouldn't take 30%. Definitely not. caches > > the resource so the serving should be immediate. Unless your machine > > runs out of memory, in that case the cache is evicted. > > > > I'm not sure but i think there was a memory leak in 1.x lately, are you > > sure you're using the latest version? > > > > What's the configuration of your server? > > > > Btw. You can try to use HttpSessionStore to see if it makes serving > > pages faster > > > > (in your application class > > protected ISessionStore newSessionStore() { > > return new HttpSessionStore(); > > } > > ) > > > > -Matej > > > > Andrew Klochkov wrote: > > > >> forgot to mention the version - we use wicket 1.3 > >> > >> Andrew Klochkov wrote: > >> > >>> Hi > >>> > >>> Recently we launched some simple webapp written in wicket, but > >>> performance is obviously low. Even simple pages are being loaded too slow. > >>> I tried to dig into it using profiler and found out that wicket takes > >>> 67% of CPU to work with file system. Main points of low performance are: > >>> > >>> 1. wicket.protocol.http.FilePageStore.storePage eats 25% of CPU > >>> 2. getting resources using CompressedPackageResource eats 30% of CPU > >>> > >>> How can we improve it? Why does wicket save all the pages in files, why > >>> not to use http sessions? > >>> And what can be done with resources? I guess the browser doesn't cache > >>> them and it takes to long time to get them from jars. > >>> > >>> > >>> > >> > > > > > > - > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier. > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ___ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > -- > Andrew Klochkov > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] low wicket performance - intensive file system usage
I think I found the cause of our performance problems - we map wicket servlet to /*. If I change it to "/app", things become much much faster. The problem is that our customer doesn't want to have redirect on the main page, and at the same time this page is not static. Any suggestions? Matej Knopp wrote: > This is very strange. > We are know about the FilePageStore.storePage performance issues and > johan is working on optimizing that. > > but CompressedPackageResource shouldn't take 30%. Definitely not. caches > the resource so the serving should be immediate. Unless your machine > runs out of memory, in that case the cache is evicted. > > I'm not sure but i think there was a memory leak in 1.x lately, are you > sure you're using the latest version? > > What's the configuration of your server? > > Btw. You can try to use HttpSessionStore to see if it makes serving > pages faster > > (in your application class > protected ISessionStore newSessionStore() { > return new HttpSessionStore(); > } > ) > > -Matej > > Andrew Klochkov wrote: > >> forgot to mention the version - we use wicket 1.3 >> >> Andrew Klochkov wrote: >> >>> Hi >>> >>> Recently we launched some simple webapp written in wicket, but >>> performance is obviously low. Even simple pages are being loaded too slow. >>> I tried to dig into it using profiler and found out that wicket takes >>> 67% of CPU to work with file system. Main points of low performance are: >>> >>> 1. wicket.protocol.http.FilePageStore.storePage eats 25% of CPU >>> 2. getting resources using CompressedPackageResource eats 30% of CPU >>> >>> How can we improve it? Why does wicket save all the pages in files, why >>> not to use http sessions? >>> And what can be done with resources? I guess the browser doesn't cache >>> them and it takes to long time to get them from jars. >>> >>> >>> >> > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > -- Andrew Klochkov - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] low wicket performance - intensive file system usage
You dont use head of 1.3 i guess? because storePage doesnt do much there any more. But i guess if you see CPU time it is really the serialization you see not the save to disk. can you drill it down a bit more? johan On 2/13/07, Andrew Klochkov <[EMAIL PROTECTED]> wrote: Hi Recently we launched some simple webapp written in wicket, but performance is obviously low. Even simple pages are being loaded too slow. I tried to dig into it using profiler and found out that wicket takes 67% of CPU to work with file system. Main points of low performance are: 1. wicket.protocol.http.FilePageStore.storePage eats 25% of CPU 2. getting resources using CompressedPackageResource eats 30% of CPU How can we improve it? Why does wicket save all the pages in files, why not to use http sessions? And what can be done with resources? I guess the browser doesn't cache them and it takes to long time to get them from jars. -- Andrew Klochkov - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] low wicket performance - intensive file system usage
This is very strange. We are know about the FilePageStore.storePage performance issues and johan is working on optimizing that. but CompressedPackageResource shouldn't take 30%. Definitely not. caches the resource so the serving should be immediate. Unless your machine runs out of memory, in that case the cache is evicted. I'm not sure but i think there was a memory leak in 1.x lately, are you sure you're using the latest version? What's the configuration of your server? Btw. You can try to use HttpSessionStore to see if it makes serving pages faster (in your application class protected ISessionStore newSessionStore() { return new HttpSessionStore(); } ) -Matej Andrew Klochkov wrote: > forgot to mention the version - we use wicket 1.3 > > Andrew Klochkov wrote: >> Hi >> >> Recently we launched some simple webapp written in wicket, but >> performance is obviously low. Even simple pages are being loaded too slow. >> I tried to dig into it using profiler and found out that wicket takes >> 67% of CPU to work with file system. Main points of low performance are: >> >> 1. wicket.protocol.http.FilePageStore.storePage eats 25% of CPU >> 2. getting resources using CompressedPackageResource eats 30% of CPU >> >> How can we improve it? Why does wicket save all the pages in files, why >> not to use http sessions? >> And what can be done with resources? I guess the browser doesn't cache >> them and it takes to long time to get them from jars. >> >> > > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] low wicket performance - intensive file system usage
forgot to mention the version - we use wicket 1.3 Andrew Klochkov wrote: > Hi > > Recently we launched some simple webapp written in wicket, but > performance is obviously low. Even simple pages are being loaded too slow. > I tried to dig into it using profiler and found out that wicket takes > 67% of CPU to work with file system. Main points of low performance are: > > 1. wicket.protocol.http.FilePageStore.storePage eats 25% of CPU > 2. getting resources using CompressedPackageResource eats 30% of CPU > > How can we improve it? Why does wicket save all the pages in files, why > not to use http sessions? > And what can be done with resources? I guess the browser doesn't cache > them and it takes to long time to get them from jars. > > -- Andrew Klochkov - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] low wicket performance - intensive file system usage
Hi Recently we launched some simple webapp written in wicket, but performance is obviously low. Even simple pages are being loaded too slow. I tried to dig into it using profiler and found out that wicket takes 67% of CPU to work with file system. Main points of low performance are: 1. wicket.protocol.http.FilePageStore.storePage eats 25% of CPU 2. getting resources using CompressedPackageResource eats 30% of CPU How can we improve it? Why does wicket save all the pages in files, why not to use http sessions? And what can be done with resources? I guess the browser doesn't cache them and it takes to long time to get them from jars. -- Andrew Klochkov - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user