[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

throttling compile processes


hi,

One of the things I've run into with page compilers on high traffic sites is
that when you push a .jsp page onto the production server, the page compiler
forks a bunch of processes to simultaneously compile the same file.  This
problem is especially acute if you push an include file live (since it
forces recompilation of all the files that included it).

In GSP we added some code that attempted to synchronize the compilation of
pages, and also put an upper limit on the number of concurrent compiles that
could happen at any given time.  There are obviously much potential for
error here, and I'm not sure my GSP hack was all that great (it was better
than nothing).

how do you folks feel about this?  If no one objects I may take a stab at
implementing this.

thanks

-- James