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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > litespeed and static content

Reply
 
Thread Tools Display Modes
  #1  
Old 12-31-2012, 02:06 AM
imohsen imohsen is offline
New Member
 
Join Date: Dec 2012
Posts: 9
Default litespeed and static content

we had tested litespeed trial ( 2 cpu + enabled public or private cache) in lab environment without any extra caching .
and we got a lot of 500 and 400 request in performance test used by ( ab or http performance testing tool )

but when we decide to put nginx as reverse proxy and port php requests to litespeed and keep static files served by nginx , it's working fine ! i mean perfect

about 2000 request/second served without any error .

is there any way to integrate litespeed with any other caching plugin ? like varnish in frontend
i saw reports that published before with a lot numbers in this forum ,but i need a little more exprience here .
also is it safe to put some reverse proxy in middle of litespeed ?
Reply With Quote
  #2  
Old 12-31-2012, 02:27 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
Quote:
we got a lot of 500 and 400 request
what does it mean ?

can you show your whole benchmark command line?
like "ab -k -n ... "

should no need nginx, or the benchmark result should be very close regarding serve static content.

at present, varnish have more cache options/functions than lsws page cache. but if the cache rule is not that complex, should no need varnish as well. for example vBulletin -- http://www.litespeedtech.com/support...ache:vbulletin
Reply With Quote
  #3  
Old 12-31-2012, 11:34 AM
imohsen imohsen is offline
New Member
 
Join Date: Dec 2012
Posts: 9
Quote:
Originally Posted by NiteWave View Post
what does it mean ?

can you show your whole benchmark command line?
like "ab -k -n ... "

should no need nginx, or the benchmark result should be very close regarding serve static content.

at present, varnish have more cache options/functions than lsws page cache. but if the cache rule is not that complex, should no need varnish as well. for example vBulletin -- http://www.litespeedtech.com/support...ache:vbulletin

thank you nite
i'll make reply about parameters that i used in benchmark .
is there any resource to make litespeed faster service static contents ?

i'll try litespeed trial using in front of litespeed and continue tests .
Reply With Quote
  #4  
Old 12-31-2012, 07:18 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
Quote:
is there any resource to make litespeed faster service static contents ?
litespeed is fast enough to serve static pages. it's same level as nginx.
if not, most likely there is something wrong with lsws configuration.
Reply With Quote
  #5  
Old 01-05-2013, 07:42 AM
imohsen imohsen is offline
New Member
 
Join Date: Dec 2012
Posts: 9
i used this parameters with ab

ab -k -n 80000 -c 500

and

ab -k -n 100000 -c 320

i thinking about double caching with varnish . but when i switch to varnish we got default cpanel page and still working on .
but now i need a little more speed on static content and also in 'internal wordpress pages' that redirect requests with htaccess . i tested private cache in htaccess before and we still get slow pages in wordpress except index . index page load exteremely fast !
Reply With Quote
  #6  
Old 01-05-2013, 09:38 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
it's difficult to give advice just what you described.

here's my suggestion:

for wordpress, litespeed + wordpress + wordpress cache plugin(like wp supercache) should be fast enough, without varnish or litespeed page cache or nginx etc.

hence, 1 CPU or VPS license of litespeed probably be enough for your site.

the trick may be in configuring wp supercache properly.
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 11:42 AM.



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