Parallelize nix store sign --all for fixing binary caches #399

Closed
opened 2024-06-17 08:37:58 +00:00 by jade · 1 comment
Owner

This took over an hour for essentially no reason other than nobody wrote a parallel for loop for it. I would simply write a dispatch to a thread pool.

But one problem is that our thread pool dispatch code is really unergonomic and so it's kind of ehh to go make it so much more complicated and bad for .. what reason exactly? So maybe that should be looked at first.

This took over an hour for essentially no reason other than nobody wrote a parallel for loop for it. I would simply write a dispatch to a thread pool. But one problem is that our thread pool dispatch code is really unergonomic and so it's kind of ehh to go make it so much more complicated and bad for .. what reason exactly? So maybe that should be looked at first.
Member

This issue was mentioned on Gerrit on the following CLs:

  • commit message in cl/2606 ("make nix store sign use a thread pool like nix store copy-sigs does")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/2606", "number": 2606, "kind": "commit message"}], "cl_meta": {"2606": {"change_title": "make `nix store sign` use a thread pool like `nix store copy-sigs` does"}}} --> This issue was mentioned on Gerrit on the following CLs: * commit message in [cl/2606](https://gerrit.lix.systems/c/lix/+/2606) ("make `nix store sign` use a thread pool like `nix store copy-sigs` does")
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#399
No description provided.