moephan
April 4th, 2006, 01:04 AM
Hello,
I am new to ror and to Linux hosting. I have a ror based page hosted at a2hosting, and I am not sure what I need to do to make sure configuration changes I should make to get maximum performance. To be clear, I am at a such a beginning level that I don't know if I need to run some kind of "rake" command, change certain configuration files, install gems, or what. I haven't been able to find an overview that describes the general approach, so when I read different faqs and blogs, etc... I don't know if they apply to me or not.
I created the app on my laptop, then created the folders and files on the server by running the rails command on the server. I then copied the files that I had modifed up with FTP.
Here is the server information from the a2hosting support site:
No, we do not use lighttpd on our shared servers. We use Apache with SCGI. SCGI is an excellent replacement for lighttpd and FastCGI when it comes to high-speed deployments of Ruby on Rails. See the link below for more information about SCGI and how it works with Ruby on Rails.
http://www.zedshaw.com/projects/scgi_rails/index.html
I set the environment to "production." I seem to recall this was in the environmnet.rb file.
Any direction in terms of how to ensure that I am getting the best possible performance out of my app would be much appreciate. TIA
Cheers, Rick
PS: if you want to check out the app, it's here: http://calorielookup.com
I am new to ror and to Linux hosting. I have a ror based page hosted at a2hosting, and I am not sure what I need to do to make sure configuration changes I should make to get maximum performance. To be clear, I am at a such a beginning level that I don't know if I need to run some kind of "rake" command, change certain configuration files, install gems, or what. I haven't been able to find an overview that describes the general approach, so when I read different faqs and blogs, etc... I don't know if they apply to me or not.
I created the app on my laptop, then created the folders and files on the server by running the rails command on the server. I then copied the files that I had modifed up with FTP.
Here is the server information from the a2hosting support site:
No, we do not use lighttpd on our shared servers. We use Apache with SCGI. SCGI is an excellent replacement for lighttpd and FastCGI when it comes to high-speed deployments of Ruby on Rails. See the link below for more information about SCGI and how it works with Ruby on Rails.
http://www.zedshaw.com/projects/scgi_rails/index.html
I set the environment to "production." I seem to recall this was in the environmnet.rb file.
Any direction in terms of how to ensure that I am getting the best possible performance out of my app would be much appreciate. TIA
Cheers, Rick
PS: if you want to check out the app, it's here: http://calorielookup.com