On Mon, 6 Aug 2012 19:42:54 +0200
Sonny Karlsson <[email protected]> wrote:

> by assigning it at runtime allows the module to be
> reused outside monkey without modification..

This mainly. Why? If it's a monkey plugin, why should it care about being used 
elsewhere?

A function pointer is always slower than a direct call.

> > - it'd be good to add starting/stopping support so util programs like 
> > spawn-fcgi aren't needed
> 
> This could be a good feature, and I've actually considered using
> spawn-fcgi internally, but decided against it quite early.
> 
> My reason for doing so is that the feature I like most about fastcgi
> is the separation of concerns. The http server handles communication,
> routing requests as needed, while the fastcgi server generates
> content. Managing fastcgi server processes from monkey would violate
> this separation, introduce complexity and also duplicate already
> existing functionality in other tools (spawn-fcgi, fcgi-cgi,
> php5-fpm).

Most other servers allow that. Lighttpd does not require you to use any 
additional utils, for example. It will start and stop the required amount of 
fastcgi servers with it.

This is both user-friendly and works well for the usual scenario where both are 
hosted on the same physical hw.

- Lauri
_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to