El Jueves, 7 de Enero de 2010, Eric Wong escribió: > > It seems interesting. Just a doubt: would it work with "preload_app > > true"? I use preload_app since in case he config.ru is wrong then it > > raises in the master (instead of raising each worker and being reaped > > again and again). > > It should work, but you won't be saving memory/spawning time with > "preload_app true" since you're replacing the app with a new one. > > It's really dirty and smelly. Processes are a great OS-level > abstraction to separate distinct services from each other. IMHO it's > saner to just run another Unicorn instance. > > Unicorn is not a VM, after all :)
Yes, you are right. In fact the purpose of such worker would not be a Rack handler (http server) but a different one. Humm, I think I'll keep it simple and run an external process :) -- Iñaki Baz Castillo <[email protected]> _______________________________________________ Unicorn mailing list - [email protected] http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying
