> >>> P.S. Personally, I think stripping out all pretense of handling

> >>> multiple environments in a single process is the way to go, but I
> >>> understand the concerns that make that an unpopular direction.
> >
> >> Tell it to the users. :/
> >
> > Speaking as a user, I don't much care if it is a single process or
> > multiple processes.  What I do want is that it should be easy to
> > configure multiple environments, and that the puppetmaster doesn't
> > consume too much resources.
> >
> > It is quite conceivable for the puppetmaster daemon to look in the
> > config file for which environments exist, and fork off one sub-daemon
> > for each environment.  The "main" daemon would then bascially only be
> > a proxy between the clients and the environment-specific daemons.
> >
> > (The forking could of course be done on demand when a client requests
> > a specific environment, so unused environments don't consume server
> > memory.)
>
> I don't really care how this is handled either, but I'm in favor of
> anything that enforces the barriers between environments more
> strongly.
>

Since I started this particular side fire I should probably be the one to
pour a little water on it.  Broadly speaking, there are two competing
approaches that both have advantages--share nothing, throw away processes
enforce separation, limit memory leaks, and can improve throughput, but they
also wind up doing a great deal of redundant work, and waste a large amount
space by storing individual copies of the duplicated work which can easily
swamp out the above advantages.

While I do think we may ultimately be better off with something like an
on-demand forking system I could just as easily be wrong, and it clearly
isn't something we can settle definitively before 2.6.x, so my comment above
was more grumbling than an immediate plan.  For the moment I'm focusing my
effort into beating 2.6.0 into something resembling a beta, and in that
regard solutions such as the ones we have code for which produce the desired
results, while perhaps locally ugly, are the order of the day.

We will likely revisit the caching issue before release, with maybe a little
grumbling by Luke or myself (or, if were lucky, both) in the meantime.

-- Markus
-----------------------------------------------------------
The power of accurate observation is
commonly called cynicism by those
who have not got it.  ~George Bernard Shaw
------------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to