Speeding up resolution and server start up [message #531942] |
Thu, 06 May 2010 10:47  |
Eclipse User |
|
|
|
Hi All,
I think this issue will come up sooner than later and I would like to start a discussion early and maybe see if there are some ways to progressively adress it before initial Virgo release.
The issue I am talking about is related and very similar to this thread from dm-server forum: http://forum.springsource.org/showthread.php?t=86495&hig hlight=launcher.bundles
We are also noticing fairly significant start up time around 3 - 4 min (on OSX, windouz take longer as -clean takes much longer there) with final deployed bundle count around 190 (includes all third-party dependencies). The mix is fairly common in the enterprise apps. Hibernate/JPA (single session factory across all deployments), 3 webapps, some services bundles, datasource, activemq.
I strongly suspect that this situation is either because of the lag in service resolution between bundles or "side state" resolution. I will be trying to set-up all/most of common thirdparty deps in a plan and make sure that those are deployed early in user region start-up sequence to see if resolution happens faster.
I would also be happy to try and profile this process. I would like to start with a simple "StopWatch" type of a process that just tracks time that each individual bundle spends in ApplicationContext creation and try to correlate that with the over all start up scheme moving to a YourKit/JProfiler after that.
What would be the recommended areas of the system to look at in profiler? What should I be looking for outside of time spent and call count? Any pointers are welcomed as we are burning development time right now on start/update/restart cycle.
Regards,
Dmitry
|
|
|
|
|
|
|
Re: Speeding up resolution and server start up [message #537584 is a reply to message #536645] |
Wed, 02 June 2010 22:18   |
Eclipse User |
|
|
|
Peter Gardfj�¤ll wrote on Sat, 29 May 2010 09:46 | Hi,
just wondering if there has been any progress in investigating this issue.
Also, Glyn, in the original forum thread (at Spring dm) you mentioned ideas about providing support for deploying "transitively complete" applications/subsystems. Is this on Virgo's roadmap?
Finally, is it possible to hook in additional deployers (handling new types of deployment artifacts) in Virgo? If so, what interfaces need to be implemented, what design guidelines should be adhered to, etc? I guess I'm looking for pointers on where to start.
Thanks, Peter
|
(Sorry for the delayed response. I now realise that I need to subscribe to topics to be notified of responses! I assumed that was automatic for topics I had posted to.)
In short: no progress. I'm more focussed on getting a baseline milestone issued right now. Please would you raise a couple of bugzillas for the performance issue and the lack of documentation about adding new deployment artifacts to keep these items on the "to do" list?
Since Dmitry says he's going to take a look and respond, I'll hold off for now...
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06643 seconds