From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Subject: bug#33370: Cuirass: Trigger 'guix publish' baking Date: Wed, 14 Nov 2018 16:34:09 +0100 Message-ID: <87a7mbad1q.fsf@lassieur.org> References: <87ftw4wnc7.fsf@lassieur.org> <87in10km16.fsf@gnu.org> <87muqcezci.fsf@lassieur.org> <877ehfg1ed.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMxC6-0007Sx-Q8 for bug-guix@gnu.org; Wed, 14 Nov 2018 10:35:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gMxC3-0006ST-0b for bug-guix@gnu.org; Wed, 14 Nov 2018 10:35:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48141) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gMxC2-0006Rv-JH for bug-guix@gnu.org; Wed, 14 Nov 2018 10:35:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gMxC2-00010U-EY for bug-guix@gnu.org; Wed, 14 Nov 2018 10:35:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <877ehfg1ed.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 33370@debbugs.gnu.org Ludovic Court=C3=A8s writes: >>> This would be useful in reducing latency; the downside is that we=E2=80= =99d bake >>> lots of things, even possibly things that nobody ever needs. >>> >>> Thoughts? >> >> What about getting the first user to block until the baking is done? > > That=E2=80=99s generally not possible because HTTP is supposedly synchron= ous. > Also, =E2=80=98guix publish=E2=80=99 has a bunch of worker threads that p= ick baking > tasks from a queue. When the queue is empty and you asking for a > substitute of sed, it will take seconds to bake it; but when the queue > is already large and you=E2=80=99re asking for LibreOffice, it could take= a few > minutes. > > For the intended use case, which is a build farm with many users, > optimizing for the first user makes little sense IMO. I don't agree, because I find it stressful when you build something and you're not 100% sure you'll get the substitute. If someone is the only user of several Guix packages (and I think it's the case for many of our users), they'll have to re-build them locally every time one of their dependencies is updated. So if I understand well, the Cuirass solution seems the best... I leave the bug open but I change the name :-) Thank you, Cl=C3=A9ment