Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.2
    • Fix Version/s: None
    • Component/s: performance
    • Labels:
      None
    • Environment:

      Debian Squeeze with JDK 7u40, 8GB RAM for JVM (via Xmx)

      Description

      I am transfering a large byte array (10 MB) to my standalone application client via RMI-IIOP SSL.

      1. Client is calling the method on the stateless EJB and is getting a byte array back
      2. Server is getting the data via EntityManager from the databasae
      2. Measure time to get the data (data arrived at the client)

      All measures are done on a local JVM (client and server are running on the same machine and on the same JVM)

      Test with 10 MB:

      • Using glassfish: 20 sec
      • Using other app server which uses just RMI: 2,5 sec

      Test with 128 MB (RMIIO for streaming used because files to big for memory):

      • Glassfish: 4 minutes
      • Ohter app server: 0,5 minutes

      This is a big difference and therefore it can be solved

        Activity

        Hide
        lanthale added a comment - - edited

        I must correct that on the big file the time for transfering was 1 minute and not 0,5 minute.

        I did some further tests:

        • Connect without any app server via JDBC to the DB: 128MB 0,16 Minutes
        • Same file with glassfish 1,5 minutes

        That means 10 times slower than direct connection to the database. I had expect a 3 times slowness but not 10 times.

        I have not found how to attach a file to the issue later on otherwise I would attach the code from RMIIO to test the transfer

        Show
        lanthale added a comment - - edited I must correct that on the big file the time for transfering was 1 minute and not 0,5 minute. I did some further tests: Connect without any app server via JDBC to the DB: 128MB 0,16 Minutes Same file with glassfish 1,5 minutes That means 10 times slower than direct connection to the database. I had expect a 3 times slowness but not 10 times. I have not found how to attach a file to the issue later on otherwise I would attach the code from RMIIO to test the transfer

          People

          • Assignee:
            Scott Oaks
            Reporter:
            lanthale
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: