regarding scaling: most of the standard Tomcat scaling solution applies to TomEE as well.
E.g. use a load balancer with sticky session in front of your servers. Then you can either use MSM (backup the sessions in one direction to a memcached instance) or tomcat session replication in pairs each. Means always 2 TomEE instances form a 'pair' which replicate the session to the other instance. Those are the 2 standard approaches. TomEE has a really good performance if you compare it with some 'big irons'. With a cluster of 8 servers you can easily serve a public internet app with 100k users. There is a bit config needed, of course - but nothing too complicated. LieGrue, strub On Thursday, 9 January 2014, 16:20, Milo Jaden <[email protected]> wrote: Hi, > >Thanks for everyone who responded, I appreciate all your comments :) > >There is no doubt that the support provided by the guys here is second to >none, so hats off to them always. > >However, it is important to dive into facts and figures too. > >The two key problems that I have had with OpenEJB are configuration and >scaling. This is likely due to there not being enough documentation on it. >These two problems are very very important. I can’t emphasise this enough. In >today's world, the ease of setting up a server side app and the performance >and ease of scaling the app are mightily important. > >At the end of the day, I want to go back to my bosses and say, ‘OpenEJB is >simple, all we need is a single configuration file, openejb.json, and a simple >install of an OpenEJB.deb file on each of our nodes’. And bang we have a high >performant scalable Java EE server. > >Additional benefits would be that when changing one openejb.json file on one >of the nodes, it updates all the other nodes (with the same config file) it >knows about. Likewise for a deploy command; you deploy an ejb-jar on one of >the nodes and it instantly broadcasts it to all nodes. Is this possible with >OpenEJB? > >Alternatively a nice admin tool to do this would be fantastic, again I’m >asking, does this exist? > >Finally, if there were performance charts to show the number of requests >OpenEJB can handle with varying number of nodes would be great! Additionally a >guide on fine tuning the config file to set the correct number of threads for >the various containers (Stateless, Stateful etc) to be optimised for the node >hardware spec would be amazing! > >The thing with vert.x for example, is that they put scaling at the forefront. > > >Thanks again to everyone, > >Milo > > >On 9 Jan 2014, at 14:49, Howard W. Smith, Jr. <[email protected]> wrote: > >> On Wed, Jan 8, 2014 at 9:08 PM, LG Optimusv <[email protected]> wrote: >> >>> Romain, with all of your wonderful answers about everything (not just >>> TomEE), you are the person that makes me (and maybe other people) to use >>> TomEE. Thank you very much. >>> >> >> +1 agreed! >> >> also, kudos/thanks to David Blevins, Jean-Louis, John, and many TomEE users >> as well for their posts/questions/etc... :) > > >
