You can run it as a separate DRB process, and the user action just
connects with DRB and invokes the action. Here's a simple Daemon
module so you can manage pids and all that:
This is how rails (using mongrel/http or fcgi instead of drb of
course) pre-loads the framework.