[jboss-dev-forums] [JBoss AS7 Development] - Re: separating deployers from other services?

Brian Stansberry do-not-reply at jboss.com
Tue Sep 21 11:56:50 EDT 2010


Brian Stansberry [http://community.jboss.org/people/bstansberry%40jboss.com] created the discussion

"Re: separating deployers from other services?"

To view the discussion, visit: http://community.jboss.org/message/562933#562933

--------------------------------------------------------------
It took me a few looks over a few days to understand what this was about. Your comment above explains it just fine, but I didn't get it.   You're basically discriminating between deployers and other subsystem services so the deployment batch building phase can start without waiting for those other services. The *deployment batch building phase* only depends on the deployers, so waiting for things like web connectors to start before beginning that phase is wasteful.

This makes sense to me as a general idea -- David, John, care to comment? Even if the entire server start gets redone and MSC-21 results in batching being eliminated, the idea of tracking when all deployers instead of when all subsystems are available, and then allowing deployments to proceed as soon as the deployers are done makes sense.

How much start time improvement did this allow? What was your config -- web container plus a ROOT.war?

I don't like the cast to ModelServiceActivatorContext. If we use this approach the param the subsystem activation API exposes should be ModelServiceActivatorContext (a better name would be good).

All this stuff (existing code included) needs a lot of javadoc; I had to think way too hard to understand what was going on!
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/562933#562933]

Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100921/442af734/attachment.html 


More information about the jboss-dev-forums mailing list