[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "guix deploy" is in git master
From: |
Ludovic Courtès |
Subject: |
Re: "guix deploy" is in git master |
Date: |
Thu, 11 Jul 2019 17:43:32 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hey!
Christopher Lemmer Webber <address@hidden> skribis:
> Jakob L. Kreuze writes:
>
>> Hi Dave,
>>
>> "Thompson, David" <address@hidden> writes:
>>
>>> Agreed. Also this should be done in parallel eventually because
>>> updating 24 machines serially is silly.
>>
>> Good idea. Do we have a Guix-specific API for parallelism, or should I
>> look to the Guile manual section on Futures?
>
> You can spawn a bunch of threads, then use Guile's channels to
> synchronize with the main thread. (Not to be confused with Guix's
> channels!)
I think you mean Fibers channels, right?
You could also try to simply use ‘par-map’ and the likes, but be
cautious when you start dreading into that: you’ll have to make sure you
don’t share SSH sessions or ports between threads, that you don’t modify
shared vlists/vhashes, etc.
Ludo’.
- Re: "guix deploy" is in git master, (continued)
- Re: "guix deploy" is in git master, Ricardo Wurmus, 2019/07/07
- Re: "guix deploy" is in git master, Ludovic Courtès, 2019/07/07
- Re: "guix deploy" is in git master, Jakob L. Kreuze, 2019/07/08
- Re: "guix deploy" is in git master, Ricardo Wurmus, 2019/07/08
- Re: "guix deploy" is in git master, Jakob L. Kreuze, 2019/07/08
- Re: "guix deploy" is in git master, Jakob L. Kreuze, 2019/07/08
- Re: "guix deploy" is in git master, Ricardo Wurmus, 2019/07/08
- Re: "guix deploy" is in git master, Thompson, David, 2019/07/10
- Re: "guix deploy" is in git master, Jakob L. Kreuze, 2019/07/10
- Re: "guix deploy" is in git master, Christopher Lemmer Webber, 2019/07/11
- Re: "guix deploy" is in git master,
Ludovic Courtès <=
- Re: "guix deploy" is in git master, Jakob L. Kreuze, 2019/07/11