Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14055

Performance degradation for massive deployments in Weld subsystem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 22.0.0.Alpha1
    • 21.0.0.Final
    • CDI / Weld
    • None

      This issue is a copy of EAPSUP-316 which points out deployment time increase for massive applications (EAR with 500 EJB jars in this case - yea, I know, your daily deployment sample ). There is no real drawback for any small deployment, the difference would be negligible.

      Turns out a lot of time is spent inside Weld subsystem which needs to analyze the accessibility graph but also process external bean archives. While I don't see how to easily improve the former, the latter can be cut down significantly with a simple cache.

      See the original issue for more details, I will also re-attach the reproducer here for ease of double checking.

        1. ejb-in-ear.zip
          19.04 MB
        2. ejb-in-ear.ear
          1.39 MB

            manovotn Matěj Novotný
            manovotn Matěj Novotný
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: