  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | - Re: Regarding restricting number of instant for MDB - Found word(s) | - Re: Regarding restricting number of instant for MDB - Found word(s) 2004-07-19 - By Igor Cunko
Back > -- --Original Message-- -- > From: An interest list for Sun Java Center J2EE Pattern Catalog > [mailto:J2EEPATTERNS-INTEREST@(protected)] On Behalf Of Stefan Frank > Sent: Monday, July 19, 2004 5:12 AM > To: J2EEPATTERNS-INTEREST@(protected) > Subject: Re: [SPAM] - Re: Regarding restricting number of instant for MDB > - Found word(s) list error in the Text body. > > I'd really like to hear, wether somebody is currently using MDB for this > kind of "task-farming": We tried this in a similar project and ended up > with all sorts of dead-lock-problems: Make sure, that you *really*
In application we have there is a lot of processes which can take hours in some case (building complex tree, huge resulting data sets), except profile updates all other interactions in system are done via MDB-s. In order to throttle number of concurrent jobs (some external systems can't handle load) we are limiting number of MDBs available at given stage. All together we have around 25 MDBs corresponding to different system/process combinations, also interesting benefits are you can prioritize processing so we are able to bump process up/down in processing chain if needed and because of persistence in queue our application can start exactly at correct point after restart (if needed) , customer loves this restart ability. This application is in production for almost 2 years pumping around 25000 records per sec. Granted you better know how transactions are related otherwise you are in for surprise.
Igor
==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
|
|
 |