I would like to reduce the use of RAM. What are some ways to optimize the memory usage of a Ruby on Rails resource?
2 answers
In particular, look here: Make Your Ruby / Rails App Fast: Performance And Memory Profiling Using KCachegrind
|
Depends on server used. If you use an event server such as thin, unicorn, rainbows! or puma, one process is enough for you to simultaneously process several requests. Memory consumption depends on the version of Ruby itself.
|