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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Feedback/Feature Requests > lingerd support

Reply
 
Thread Tools Display Modes
  #1  
Old 09-29-2006, 03:47 AM
shanx24 shanx24 is offline
Member
 
Join Date: Sep 2006
Posts: 17
Default lingerd support

Would be great to hear any experiences of people installing lingerd and making it work with LiteSpeed. It's a *very* useful tool to make Apache behave.

Quote:
Lingerd is a daemon (service) designed to take over the job of properly closing network connections from an http server like Apache.

Because of some technical complications in the way TCP/IP and HTTP work, each Apache process currently wastes a lot of time "lingering" on client connections, after the page has been generated and sent. Lingerd takes over this job, leaving the Apache process immediately free to handle a new connection. As a result, Lingerd makes it possible to serve the same load using considerably fewer Apache processes. This translates into a reduced load on the server.
http://www.iagora.com/about/software/lingerd/
Reply With Quote
  #2  
Old 09-29-2006, 05:06 AM
ts77 ts77 is offline
Senior Member
 
Join Date: Nov 2004
Posts: 288
I don't think that lingerd is needed for litespeed.
with apache its useful as a "lingering connection" keeps an apache-process busy (at least for apache 1.x) but with litespeed its all in one process which handles the different connections on its own and no process is blocked because of a lingering connection.

If I'm wrong with that then mistwang will surely correct me .
Reply With Quote
  #3  
Old 09-29-2006, 06:10 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
ts77 is correct.

Quote:
Because of some technical complications in the way TCP/IP and HTTP work, each Apache process currently wastes a lot of time "lingering" on client connections, after the page has been generated and sent. Lingerd takes over this job, leaving the Apache process immediately free to handle a new connection.
Apache is inefficient at procesisng large number of idle connection, period. Not because of any technical specification in the TCP/IP or HTTP protocol. Apache relies on heavy thread/processes for each connection where as LiteSpeed uses event-driven processing using only max 1 process per cpu-core.

LiteSpeed does not waste cpu cycles and ram with idle connections like Apache. Basically lingerd isn't needed.

Checkout our whitepaper on performance to get an more detailed view on how Litespeed processes connections versus Apache.
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 10:09 AM.



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