How to serve cached ruby apps from nginx rather than unicorn?

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
records

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!

thanks!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs