10 Replies Latest reply on Nov 4, 2009 8:23 AM by Nicklas Karlsson

    Is Seam EntityQuery and EntityHome acceptable for production?

    xsa lefter Newbie

      Hi seam user..

      Last week Im starting to move my project from development to production phrase. My project using seam-gen incentively (EntityQuery and EntityHome) with some modification as needed. My application using a WAR project and running on top of JBoss AS 4.2.3 with:

      JAVA_OPTS="-Xms1280m -Xmx1280m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
      JAVA_OPTS="$JAVA_OPTS -XX:PermSize=768m -XX:MaxPermSize=1024m"

      as additional parameter, because the production server is have Intel Quad Core and 3GB memory (IBM server) and use Solaris 5 for Operating System and MySQL for the database server.

      I know I should did some optimization at this level, but at the time is not really production release (just some 'curious' user come to our office and play with it at LAN area). So I leave the JBoss and the application as is as the developement phrase. But something that surprising me is, why seam apps so slowly in this level? There are just 10 user try and play with about 10-50 record at database. The average of respond time is 10-12 second per user if all user is active.

      My question is, did seam EntityQuery and EntityHome is NOT for production phrase (In other word, only for 'prototyping')???

      My application targeted running with 20-40 user. If I did some optimization like:

      - Tuning JBoss AS

      - Disabling Debug

      - Seam Performance Tuning Chapter 36

      Can the performance tunning reduce the respond time at least in 4-7 second per user?

      I know performance tunning is not so easy to do and tricky depending the project and situation. But I love to hear some advice from all of you.
      Thanks a lot.