View Full Version : does anyone knows how many beans does the container supports without a big impact?
Mar 2nd, 2010, 07:22 PM
Hi, I'm wondering whether someone has conducted a stress/load test against the container. Does anyone knows how many beans the container is able to manage efficiently?
Please share your experiences!
Mar 5th, 2010, 07:32 PM
Well, provided that nobody has replied I've done a quick load test myself that I'd like to share it with the community and maybe get some feedback.
I've found that the container behaves pretty well at least with 3000+ beans. The details of the test I've conducted were the following:
More than 3000 beans with 8 dependencies (each one) configured within the appContext.xml. One thing that it's worth to say is that all those beans were actually the same class with a different bean id so the outcome of this test could not be exactly the same as in a real situation however I think it would be pretty close.
I've just had to pay attention to the amount of memory required by the Tomcat server instance (-Xms 64mb -Xmx256m) but the overall performance was pretty good, consuming an average of 80-100MB which I think it is quite acceptable provided that a simple Java desktop application may consume the same and usually a lot more than that.
Hope this helps someone else!
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.