[ipxe-devel] iPXE Prebuilt binary web interface

Robin Smidsrød robin at smidsrod.no
Fri Jan 4 14:52:55 UTC 2013


On 04.01.2013 14:31, Michael Brown wrote:
> 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 
> concurrently.

Okay, thanks for the details.

-- Robin




More information about the ipxe-devel mailing list