about summary refs log tree commit diff
path: root/distributed
AgeCommit message (Collapse)AuthorFilesLines
2004-06-04 * A Nix mode for Emacs.Eelco Dolstra1-1/+1
2004-05-13 * Distributed builds and load balancing now seem to work pretty well.Eelco Dolstra1-15/+27
(Though the `build-remote.pl' script has a gigantic race condition).
2004-05-13 * Load balancing. `build-remote.pl' will only execute up to aEelco Dolstra3-10/+33
per-machine maximum number of parallel jobs on a remote machine.
2004-05-13 * The build hooks used to implement distributed builds can now be runEelco Dolstra3-0/+130
in parallel. Hooks are more efficient: locks on output paths are only acquired when the hook says that it is willing to accept a build job. Hooks now work in two phases. First, they should first tell Nix whether they are willing to accept a job. Nix guarantuees that no two hooks will ever be in the first phase at the same time (this simplifies the implementation of hooks, since they don't have to perform locking (?)). Second, if they accept a job, they are then responsible for building it (on the remote system), and copying the result back. These can be run in parallel with other hooks and locally executed jobs. The implementation is a bit messy right now, though. * The directory `distributed' shows a (hacky) example of a hook that distributes build jobs over a set of machines listed in a configuration file.