|
|
|
|
|
by harshreality
911 days ago
|
|
Why Rails, instead of a lighter-weight framework, if performance is such a priority? Obviously that wouldn't get you to [anywhere near] the performance of compiled Go code, but Rails has a lot of overhead. What database is on the backend, and is that db serving cached content? What happens if you cache it with e.g. redis to avoid the heavyweight rails ORM stuff? Do you have granular benchmarks for the db query, requests to other services, and the web processing itself (using artificially pre-cached responses from db and those other services)? |
|
If you rewrite it anyway, might as well use something else than ruby.
The db (mysql) is not the problem in the scenario I described.