• Post Reply Bookmark Topic Watch Topic
  • New Topic

help me

 
viky4u
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how do i do performance tuning or performance enhancement in j2ee..or to be precise in weblogic server.help me out.
 
John Bateman
Ranch Hand
Posts: 320
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I think you will have to be more specific with your request. Performance tuning is a big field and IMHO can't be answered without some specifics.
Have you done profiling? For example running your 'ee' app on another Application Server to see if it runs better? Do you have problems in object creation? Is your problem with database access, or just plain getting a timely responses from a request?
I read a great book call Practical Java Programming by Peter Haggar (published by Addison Wesley), who is incidently a moderator here, and maybe his forum "Performance" can be a better help to you.
I do think you will need to get performance readings before you can address 'fixing' things. If you realise that a small method that is programmed perfectly but is called 100,000 times a minute is where your problem is, then, the only way to improve this is to reduce/distribute the request as opposed to improve the code.

This is what I mean by needing information to provide good advice.
Hope this helpd.

 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"viky4u",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements.
Thanks.
 
sandy gupta
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Vicky,
Scalable performance of 0.05 second for 1000 users logged on at a time on a weblogic server is achievable for 2 stateful session beans running on it with proper tuning of the server like:
Bump up the min and max heap size. Any where from 256 to 512 is acceptable for a production system. This is the -msX and the -mxX parameter when starting up weblogic.
Change the weblogic.system.executeThreadCount parameter to a number higher than the default 15. If you see an increase a performance then gradually increase this number. At some time you will see an opposite effect and performance. So it is crucial to find the sweet spot for your application.
For statefull session beans you can alter the idle-timeout-secs parameter in the xml descriptor and set a higher number to allow delay in timeout.
If the performance pack is not installed (the .so or .dll) then you can increase the weblogic.system.percentSocketReaders property the default is 33%.
If you see dropped connections or connection refused then you could increase the tcpipbacklog property.
HTH
Sahil Gupta
g_sahil@usa.net
 
viky4u
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the timely help guys!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!