[ipxe-devel] iPXE Prebuilt binary web interface
mbrown at fensystems.co.uk
Fri Jan 4 13:31:03 UTC 2013
On Friday 04 Jan 2013 12:43:57 Robin Smidsrød wrote:
> What do you do when multiple web users want different revisions at the
> same time? You obviously need to either do concurrent compiles in
> separate work dirs, or put the jobs in a queue and wait for the first to
> finish before starting the next.
Concurrent compiles in separate working directories. A new working directory
is created for each request, on a tmpfs filesystem. Checking out the git tree
takes around 0.02s.
There is minimal locking involved: there's a single lock controlling access to
the list of cached revisions, which is held for as short a time as necessary;
it's not held for the duration of the build. Everything else can run
More information about the ipxe-devel