After various fixes in EJB3 projects and other projects, we finally have some good news
anonymous wrote :
| 3) The profiler snapshot shows hotspots on
org.jboss.ejb3.metadata.plugins.loader.BridgedMetadataLocader (.retrieveAnnotation)
|
A bit of digging around showed that the AnnotationRepositoryToMetadata associated with the
Advisor was really performing badly. The issue is exactly what got fixed in JBCL-100.
Incidentally the fix for JBCL-100 was integrated in AS branch 5_x yesterday. So here's
the good news:
My test application (100 beans with 100 methods each and couple of injections in each
bean) which used to take 25-30 sec (consistently) for deployment, now takes around 14 sec
(consistently) with the JBCL-100 fix. Furthermore on my local setup, i tried out the
suggested fix for AOPDependencyBuilder issue
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=155244&a....
This reduces the deployment time by 4 seconds more. So now, the deployment which used to
take 25-30 sec completes in 10-11 sec (consistently).
Further steps of action:
1) I see around 5-6 sec where AOP stuff is going on. Not sure if this can be reduced
further. But i will continue looking into this.
2) The suggested fix for AOPDependencyBuilder, needs changes in AS->ejb3 module as well
as the *-beans.xml in EJB3 project. We need to discuss when to do this (depends on whether
the changes Ales made have gone into the AS branch)
3) Adrian in this thread
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=155074&a...
mentioned that we could disable registering MC beans as MBeans (which are more useful for
debugging). This change might slightly improve the AS startup time and deployment time of
MC beans.
4) The more important one - Get some community help to get hold of some "real"
app to test these changes. So far, i have been test with my own test application. This has
led to identification of various performance issues, but we might still be missing some.
So a real app will help. I probably will wait for the AS 5.1.0 GA release, before asking
for some community testing and some sample apps.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231112#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...