LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > recommended rails performance tuning

Reply
 
Thread Tools Display Modes
  #1  
Old 11-23-2006, 01:31 PM
Tomh Tomh is offline
Member
 
Join Date: Nov 2006
Posts: 13
Default recommended rails performance tuning

Hi,

i've been playing a bit with the server now and i found that the first request to a new page are generally pretty slow (5-20 req/s) while the next ones are usually much and much faster. When i changed the max idle time for LSAPI in the env vars text area to 300 the slow loads did decrease to only the first time to one page and not the first time to any page.

Are there more recommended settings to make rails faster?
Reply With Quote
  #2  
Old 11-23-2006, 02:14 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
That's normal, because LiteSpeed start Rails application on demand, and stop it if it not in use. Rails framework has very high startup cost, that's why you get a few seconds delay for the first request. You can have the app started when LiteSpeed starts, and increase the max idle time.
Reply With Quote
  #3  
Old 11-23-2006, 03:02 PM
Tomh Tomh is offline
Member
 
Join Date: Nov 2006
Posts: 13
What is recommended for the best performance? And how can i start the app on load time i seem to have missed it somewhere. thanks!!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:01 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.