Easy. How to sync Entities? Use Commit 'B' and <row-locking> if using CMP, or select...for update for BMPs in ejbLoad. <row-locking> uses Select ...FOR UPDATE on ejbLoad.
In CVS HEAD, Sacha and I have implemented a distributed cache via cache invalidation, but we still rely on DB for the distributed lock. A real Clustered distributed lock is in the works. Bill > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of James > Higginbotham > Sent: Wednesday, October 16, 2002 3:02 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-dev] [JBoss-user] capacity planning to use jboss > > > Bill, > > This is interesting about not using clustering.. Are you guys > using CMP at all? If so, how do you suggest synching the entity > beans without using clustering? On a site without CMP, you can > usually get away from clustering, but wondering if you have used > the equiv of Javelin to do distributed caching, deployed the CMPs > a specific way, or just depend on pessimistic locking and the DB vendor. > > Thanks, > James > > > -----Original Message----- > > From: Bill Burke [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, October 16, 2002 1:47 PM > > To: [EMAIL PROTECTED] > > Subject: RE: [JBoss-dev] [JBoss-user] capacity planning to use jboss > > > > > > - You'll probably want to buy some Hardware based HTTP > > load-balancer for your web traffic. Make sure it supports > > "sticky" sessions. You can try Apache + modjk + AJP13 if you > > want a cheap software solution. Jetty and Tomcat can be hooked in. > > > > - Do you require HTTP Session replication and failover? If > > its ok for a user to relogin after a failover, I suggest not > > using JBoss clustering features at all, (Except for net boot > > and maybe farming). > > > > - On the performance tests I ran(ECPERF), replication had a > > 10% hit on performance for 2 boxes running in a cluster. > > You'll probably have more than 2 boxes(but not much more). > > > > - I suggest marrying the WEB and EJB layer into one > > JVM/process. You'll get better performance. > > > > - Next what you have to do is guess peak traffic. Multiply > > that number by 2 just to be safe. > > > > - Next you'll need to write a stress test program > > > > - Next you'll need to hire JBossGroup to help you out with > > all of this. :) > > > > - Next you'll need to purchase a high quality support > > contract from JBossGroup to iron out any problems you may have :) > > > > At Mercantec we had 2 dual 900mhz CPU running Linux and > > JBoss, 1 dual 900Mgz PIII running Oracle. We could support > > traffic from 10K merchants. But that's our application. How > > many users your app can support on a given piece of hardware > > is totally dependent on the type of application you're running. > > > > DON'T USE CLUSTERING UNLESS YOU HAVE TO! > > > > Bill > > > > > > > > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED]]On Behalf Of > > > Emerson Cargnin - SICREDI Serviços > > > Sent: Wednesday, October 16, 2002 11:59 AM > > > To: [EMAIL PROTECTED] > > > Subject: [JBoss-dev] [JBoss-user] capacity planning to use jboss > > > > > > > > > Today i got a question from my manager (i work in a bank, > > there will > > > be a web layer at the bank office and a central ejb layer) : > > > > > > "Emerson, how many boxes in the ejblayer do we need to support 800 > > > offices and more than 4000 simultaneous clients (from the offices). > > > Imagine that you have available any number of xeon dual 2mhz with > > > 2giga RAM connected through a gigabit lan, how many boxes > > of this kind > > > do we need?" > > > > > > I confess that i exitated a little. This is a though > > question, indeed. > > > I think that CMP and mainly clustering will not have the same gain > > > when you have too many nodes in the cluster, given the > > communication > > > needed among the nodes to keep the data replicated. > > > > > > Does any one have any parameter for a capacity plan for a scenario > > > like this? jboss group, any clue ?? > > > > > > What could be the limit beetwen number of nodes and replication > > > overhead? > > > > > > Thanks in advance for any answer : ) > > > > > > > > > -- > > > xxxxxxxxxxxxxxxxxxxxxxxxxxxx > > > | Emerson Cargnin | > > > | Analista de Sistemas Sr. | > > > | Tel : (051) 3358-4959 | > > > | SICREDI Serviços | > > > | Porto Alegre - Brasil | > > > |xxxxxxxxxxxxxxxxxxxxxxxxxx| > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: viaVerio will pay you up > > to $1,000 > > > for every account that you consolidate with us. > > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > > http://www.viaverio.com/consolidator/osdn.cfm > > > _______________________________________________ > > > JBoss-user mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: viaVerio will pay you up > > to $1,000 > > > for every account that you consolidate with us. > > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > > http://www.viaverio.com/consolidator/osdn.cfm > > > _______________________________________________ > > > Jboss-development mailing list > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will pay you up > > to $1,000 for every account that you consolidate with us. > > http://ad.doubleclick.net/clk;4749864;7604308;> v? > > > http://www.viaverio.com/consolidator/osdn.cfm > > _______________________________________________ > Jboss-development mailing list [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development