Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-4641

Heavy use of Trusted Apps appears to be causing products to slow

          [BSERV-4641] Heavy use of Trusted Apps appears to be causing products to slow

          Brent P added a comment - - edited

          Brent P added a comment - - edited PR: https://stash.dev.internal.atlassian.com/projects/STASH/repos/stash/pull-requests/3593/overview Awaiting soke results from https://extranet-bamboo.internal.atlassian.com/browse/CAV-SOKECI-744

          Added a cahce of User - Certificate, reviewing with security team.

          tier-0 grump added a comment - Added a cahce of User - Certificate, reviewing with security team.

          Running JProfiler against this does show both blocking and CPU concerns.

          tier-0 grump added a comment - Running JProfiler against this does show both blocking and CPU concerns.

          minnsey added a comment -

          I've been running jmeter against the method com.atlassian.security.auth.trustedapps.BouncyCastleEncryptionProvider.createEncryptedCertificate() that seems to be the start of the problems in JSP-185155.

          I have run the various combinations of 100 and 1000 "users" making 1, 10 or 100 sequential calls to that method each and so far it all seems to scale, i.e. 10x the work takes 10x the time.

          I've not seen any slowdown. It maybe that I'm not running enough load for long enough or I am testing at too low a level.

          minnsey added a comment - I've been running jmeter against the method com.atlassian.security.auth.trustedapps.BouncyCastleEncryptionProvider.createEncryptedCertificate() that seems to be the start of the problems in JSP-185155. I have run the various combinations of 100 and 1000 "users" making 1, 10 or 100 sequential calls to that method each and so far it all seems to scale, i.e. 10x the work takes 10x the time. I've not seen any slowdown. It maybe that I'm not running enough load for long enough or I am testing at too low a level.

            bplump Brent P
            mminns minnsey
            Affected customers:
            1 This affects my team
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: