Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12202

Publishing of exploded projects to remote servers is very slow

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.1.1.CR1
    • 3.3.0.CR1
    • server
    • None

      When you try to publish something to a remote server and the deployment is set to exploded archives (i.e. the default), it is very slow. For example the java ee web project from Central takes several minutes.

        1. jbds.ogg
          2.71 MB
        2. rse
          2 kB

            [JBIDE-12202] Publishing of exploded projects to remote servers is very slow

            Reopen to clone for Luna verification.

            Martin Malina added a comment - Reopen to clone for Luna verification.

            Verified in JBDS 7.1.0.CR1 B543. Now it is fast both local/remote exploded/zipped. Checked EAP 6.2.0.ER7, EAP 5.1.2, Wildfly 8.0.0.Beta1.

            Martin Malina added a comment - Verified in JBDS 7.1.0.CR1 B543. Now it is fast both local/remote exploded/zipped. Checked EAP 6.2.0.ER7, EAP 5.1.2, Wildfly 8.0.0.Beta1.

            Pushed everywhere

            Rob Stryker (Inactive) added a comment - Pushed everywhere


            I've also confirmed that "Cancel" still works, so there will be no regression there.

            Rob Stryker (Inactive) added a comment - I've also confirmed that "Cancel" still works, so there will be no regression there.

            Atttached Pull request.

            Performance is improved drastically. Operations that should take 10 seconds (via local publish) now take 11 seconds (using patched code), when previously took 3.5 minutes (in existing broken code)

            So this patch is a drastic performance improvement.

            Rob Stryker (Inactive) added a comment - Atttached Pull request. Performance is improved drastically. Operations that should take 10 seconds (via local publish) now take 11 seconds (using patched code), when previously took 3.5 minutes (in existing broken code) So this patch is a drastic performance improvement.

            Using the "Remote Systems" explorer I'm able to list the files pretty fast. It takes about 200-300ms to open a directory and list its content.

            I'm attaching a remote system connection that I'm using.

            Marek Goldmann added a comment - Using the "Remote Systems" explorer I'm able to list the files pretty fast. It takes about 200-300ms to open a directory and list its content. I'm attaching a remote system connection that I'm using.

            Not sure if this helps - I tried to set up a RSE server on the VM. I was able to connect, but the slowness exists in that case too.

            Marek Goldmann added a comment - Not sure if this helps - I tried to set up a RSE server on the VM. I was able to connect, but the slowness exists in that case too.

            I can confirm that the issue also exists on SUN JDK:

            java version "1.7.0_25"
            Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
            Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
            

            P.S. The flickering on recording exists with this JVM too, but is much smaller.

            Marek Goldmann added a comment - I can confirm that the issue also exists on SUN JDK: java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b15) Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode) P.S. The flickering on recording exists with this JVM too, but is much smaller.

            Added a screencast showing how much time it takes from saving a file to actually publish it.

            The flickering you see on the screencast is not visible to the user, at all. The IDE behaves normally.

            Marek Goldmann added a comment - Added a screencast showing how much time it takes from saving a file to actually publish it. The flickering you see on the screencast is not visible to the user, at all. The IDE behaves normally.

            I'm seeing this issue on my 64 bit Linux machine (Fedora 20) with JBoss Developer Studio 7.0.1.GA.

            java version "1.7.0_45"
            OpenJDK Runtime Environment (fedora-2.4.3.0.fc20-x86_64 u45-b15)
            OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)
            

            In my case deploying to a remote server a simple project that contains two xhtml and CDI 3 beans takes about 10 seconds, which is way too long. My "remote" server is located in a VM running locally. I can confirm that connecting and sending files using scp command works very fast - I was able to upload 110MB under 1s (sic!).

            Marek Goldmann added a comment - I'm seeing this issue on my 64 bit Linux machine (Fedora 20) with JBoss Developer Studio 7.0.1.GA. java version "1.7.0_45" OpenJDK Runtime Environment (fedora-2.4.3.0.fc20-x86_64 u45-b15) OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode) In my case deploying to a remote server a simple project that contains two xhtml and CDI 3 beans takes about 10 seconds, which is way too long. My "remote" server is located in a VM running locally. I can confirm that connecting and sending files using scp command works very fast - I was able to upload 110MB under 1s (sic!).

              exd-mmalina Martin Malina
              exd-mmalina Martin Malina
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: