• pacific, 1.0-b05/b-06

      Please see JENKINS-38079 for details.

      *SSE configure call takes really long time (~10sec) for job channel subscription
      (there are two 'job' subscriptions)
      "subscribe": [

      { "jenkins_channel": "job" }

      ,

      { "jenkins_channel": "job" }

      ],
      *SSE configure for pipeline channel is relatively less but still long time (3-4 sec)
      *Avoid redirection by appending ‘/‘. GET /js-extensions costs 61ms
      *(Run details page calls SSE configure API 5 times each taking on average ~2secs.

          [JENKINS-38252] SSE channel registration takes long time

          Vivek Pandey created issue -
          Vivek Pandey made changes -
          Epic Link New: JENKINS-37957 [ 174099 ]
          Vivek Pandey made changes -
          Link New: This issue blocks JENKINS-38079 [ JENKINS-38079 ]
          Tom FENNELLY made changes -
          Assignee New: Tom FENNELLY [ tfennelly ]

          James Dumay added a comment -

          FYI tfennelly tracking performance for SSE here.

          James Dumay added a comment - FYI tfennelly tracking performance for SSE here.

          Tom FENNELLY added a comment -

          I honestly think this is down to something else starving requests like this from getting a service thread. That said ... I'm going to refactor the config path so as to remove the lock on the session object, which would only block on multiple requests from the same client i.e. would not block across clients.

          Tom FENNELLY added a comment - I honestly think this is down to something else starving requests like this from getting a service thread. That said ... I'm going to refactor the config path so as to remove the lock on the session object, which would only block on multiple requests from the same client i.e. would not block across clients.

          James Dumay added a comment -

          tfennelly sounds like a good first step to deduce whats going on there. If we can rule out locking at least we can investigate down another route.

          James Dumay added a comment - tfennelly sounds like a good first step to deduce whats going on there. If we can rule out locking at least we can investigate down another route.
          Michael Neale made changes -
          Priority Original: Major [ 3 ] New: Critical [ 2 ]
          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Rank New: Ranked higher

            tfennelly Tom FENNELLY
            vivek Vivek Pandey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: