From: "Ludovic Courtès" <ludo@gnu.org>
To: 43564@debbugs.gnu.org
Cc: othacehe@gnu.org
Subject: bug#43564: cuirass: Contention while registering new builds.
Date: Mon, 05 Oct 2020 14:07:44 +0200 [thread overview]
Message-ID: <87v9fo27vz.fsf@gnu.org> (raw)
In-Reply-To: <87k0wee3ud.fsf@gnu.org> (Mathieu Othacehe's message of "Mon, 28 Sep 2020 09:51:38 +0200")
Hello!
Mathieu Othacehe <othacehe@gnu.org> skribis:
> Turns out, once an evaluation is over, new builds are registered. This
> registration tries to insert a new build for each derivation returned by
> the evaluation phase. If the new build does not add a new output, the
> insertion query is then rollbacked. This means that there are at least
> as many insertion queries as new derivations.
Isn’t that the real problem, that we’re doing one transaction per
derivation?
Ideally, upon evaluation completion, I’d expect us to create a single
transaction that registers all 50K derivations at once, no?
Thanks for the great improvements in this area!
Ludo’.
next prev parent reply other threads:[~2020-10-05 12:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-22 16:52 bug#43564: cuirass: Contention while registering new builds Mathieu Othacehe
2020-09-28 7:51 ` Mathieu Othacehe
2020-09-28 8:17 ` Mathieu Othacehe
2020-09-29 15:02 ` Mathieu Othacehe
2020-10-04 11:12 ` Mathieu Othacehe
2020-10-05 12:07 ` Ludovic Courtès [this message]
2020-10-05 13:09 ` Mathieu Othacehe
2020-10-09 7:59 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v9fo27vz.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=43564@debbugs.gnu.org \
--cc=othacehe@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.