Scott Lamb (not verified) on January 11, 2007 - 12:14pm.
The embedded languages sound more novel than useful. As they say in the mod_magnet documentation:
Keep in mind that the magnet is executed in the core of lighty. EVERY long-running operation is blocking ALL connections in the server. You are warned. For time-consuming or blocking scripts use mod_fastcgi and friends.
So nothing CPU-intensive, and no database access. (The latter’s not a fundamental restriction - it’s possible to write a non-blocking one that returns to the server’s event loop while waiting for a response - but it’s difficult enough that probably no one will bother any time soon. Just use mod_fastcgi as they suggest.)
The memory leak sounds like a deal-breaker, but at the same time, it should be easy to fix.
The embedded languages sound more novel than useful. As they say in the mod_magnet documentation:
Keep in mind that the magnet is executed in the core of lighty. EVERY long-running operation is blocking ALL connections in the server. You are warned. For time-consuming or blocking scripts use mod_fastcgi and friends.
So nothing CPU-intensive, and no database access. (The latter’s not a fundamental restriction - it’s possible to write a non-blocking one that returns to the server’s event loop while waiting for a response - but it’s difficult enough that probably no one will bother any time soon. Just use mod_fastcgi as they suggest.)
The memory leak sounds like a deal-breaker, but at the same time, it should be easy to fix.