samedi 9 août 2014

Google app engine - désactiver TLD numérisation lors de l'initialisation d'appengine - Stack Overflow


This thread is similar to: Disable taglib scanning in google app engine (Jetty)


The author of that thread accepted a wrong answer.


We were trying to reduce the appengine startup time of my instances I've come accross the taglib TLD classpath scanning.


My application has 50mb of jars. The scanning of the tld takes 20% of the startup time:


enter image description here


(Image from Yourkit capture of the startup time). You can also set logger.properties level to ALL and you will see the classpath scanning issue going on.


Is there a way to disable that on appengine? God forbid us to have anything to do with taglibs, JSP, or anything like that! We have a very slick velocity + spring-mvc container.


Again, the issue is very clear: appengine doesn't respect "org.mortbay.jetty.webapp.NoTLDJarPattern" configuration in web.xml


This thing is killing our service! Our boot time is going over 60 seconds and we need to do anything to reduce that.



This thread is similar to: Disable taglib scanning in google app engine (Jetty)


The author of that thread accepted a wrong answer.


We were trying to reduce the appengine startup time of my instances I've come accross the taglib TLD classpath scanning.


My application has 50mb of jars. The scanning of the tld takes 20% of the startup time:


enter image description here


(Image from Yourkit capture of the startup time). You can also set logger.properties level to ALL and you will see the classpath scanning issue going on.


Is there a way to disable that on appengine? God forbid us to have anything to do with taglibs, JSP, or anything like that! We have a very slick velocity + spring-mvc container.


Again, the issue is very clear: appengine doesn't respect "org.mortbay.jetty.webapp.NoTLDJarPattern" configuration in web.xml


This thing is killing our service! Our boot time is going over 60 seconds and we need to do anything to reduce that.


0 commentaires:

Enregistrer un commentaire