Cleaned up build farm build database

Jelmer Vernooij jelmer at samba.org
Sat Jun 14 14:26:53 MDT 2014


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.

Cheers,

Jelmer
-------------- 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/20140614/0299db9e/attachment.pgp>


More information about the samba-technical mailing list