[Buildbot] #3552: Builds UI view makes many API calls which causes slowdowns on complex builds

Buildbot trac trac at buildbot.net
Tue May 17 18:12:17 UTC 2016


#3552: Builds UI view makes many API calls which causes slowdowns on complex
builds
-----------------------+--------------------
Reporter:  aelsabbahy  |       Owner:
    Type:  defect      |      Status:  new
Priority:  major       |   Milestone:  0.9.+
 Version:  master      |  Resolution:
Keywords:              |
-----------------------+--------------------

Comment (by dustin):

 From `myheadhurts`:

 ---

 Sure, at it's simplest:
 * Create child builder and attach Triggerable scheduler to it
 * Create parent builder with a Trigger buildstep calling the above
 scheduler

 It seems the UI tries to make an API call for every step in the child
 builders. Looking at a random build with 4 child job using google-chrome's
 development console I see the following:
 * 53 API calls
 * 19 to steps/*/logs
 * 9 to buildrequests/* and builds?buildrequestid=*
 * 5 to build/*/steps
 * 6 to build/*/properties
 * few other API calls

 I think BB needs to have some sort of ?deep=true parameter on some of the
 end points to aggregate information into one API call, rather than making
 a separate API call per required piece of info.

--
Ticket URL: <http://trac.buildbot.net/ticket/3552#comment:2>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list