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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
107999265697283ffffa4c7a73c54d09?d=identicon&s=25 Felipe E. (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.