Cleaned up build farm build database

Jelmer Vernooij jelmer at samba.org
Sat Aug 2 13:39:50 MDT 2014


On Sat, Jun 14, 2014 at 10:26:53PM +0200, Jelmer Vernooij wrote:
> The way the build farm is written, we currently iterate over all of
> the builds in known history every time we build the buildfarm summary
> page.
> 
> As there are at this point 150k builds in the database (!), this has
> become quite slow, as every user of the build farm is aware of :).
> I've removed all builds from before 1 April 2014 (about 138494), which
> has significantly sped things up.
> 
> A copy of the old database is still available, if we ever want to load
> this historical data in again. It could be quite amusing to do
> analysis on this dataset (has our build failure rate gone
> down over the last couple of years? what percentage of builds is
> broken?)
> 
> We have a Summer of Code student (Krishna Teja) working on the build
> farm this summer. Hopefully he will be able to remove
> this O(n * large_constant) restriction from the buildfarm.
Krishna's changes have now landed, and I've reimported our old
history.

Please let Krishna and myself know if you hit any issues with the new
code.

Cheers,

Jelmer

-- 
Jelmer Vernooij <jelmer at samba.org> - https://jelmer.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140802/ef91a8b2/attachment.pgp>


More information about the samba-technical mailing list