Hi,
I built a sample app on rails. I’m using the default options
provided
“SQLITE3” database and WEBrick webserver. When I’m trying to open two
pages
at a time it is taking so much time to load a single page. Can any one
suggest me ways to improve the performance of rails app?
Hi,
I built a sample app on rails. I’m using the default options provided
“SQLITE3” database and WEBrick webserver. When I’m trying to open two pages
at a time it is taking so much time to load a single page. Can any one
suggest me ways to improve the performance of rails app?
Firstly are you running in production mode? If not then it reloads
the code for every action.
Secondly sqlite3 is really only for development work. It is not
intended for multi-user access. Switch to postgres or mysql.
Hi,
I have changed my database to mysql. Can I know how to deploy my app in
production mode.
rails server -e production
By the way, please don’t top post, insert your reply at appropriate
points in previous message, it makes it easier to follow the thread.
Thanks.
Colin
suggest me ways to improve the performance of rails app?
You received this message because you are subscribed to the Google G.
–
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.