3 ms·
No one can tell you what the problem is with that little information. However, here are some suggestions on how you can yourself debug your problem: Isolate: E
by bjourne 14y ago
No one can tell you what the problem is with that little information. However, here are some suggestions on how you can yourself debug your problem:
Isolate: Eliminate as much as possible until nothing except the problem remains. You can't fix the problem until you know what the problem is, and guessing about it will just lead you astray.
Is performance still crap when you remove the db calls? When you replace the db connection with sqlite? When you remove the view logic and just render a static template? When you remove the templates altogether and just render a simple "Hello, world" string? When you put the application on a free Heroku instance instead of Linode?
Then ask yourself, does it make sense? Is Ruby so slow that a simple page takes 300 ms to load? Is a $20 (per month? per year?) Linode VPS that crappy?