Forum: Rails deployment How to serve cached ruby apps from nginx rather than unicorn?

544e0d28a9aed9a3b3e8a60e2a2d1c4c?d=identicon&s=25 Felipe Espinoza (fespinoza)
on 2012-01-31 14:35
I have a rails 3.0 app, and it has a good amount of traffic, the app
it's running through the combination of Nginx and Unicorn. The thing is
that unicorn and it's workers consume a lot of resources, and because of
the nature of my app, a lot of records are pulled from the database,
then it's like serving almost static files generated with those database

I was wondering if you can generate this kind of static files, cache
them, serve them instead of the app through unicorn to use less
resources and kind of reloading the cache after 1000 request

I'm beginning my research about that, I don't know a lot of server
configuration, so I you guys have any advise it would be great!

This topic is locked and can not be replied to.