<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>lighty's life: PRE-RELEASE: lighttpd-1.5.0-r1435.tar.gz</title>
    <link>http://blog.lighttpd.net/articles/2006/11/14/pre-release-lighttpd-1-5-0-r1435-tar-gz</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>PRE-RELEASE: lighttpd-1.5.0-r1435.tar.gz</title>
      <description>&lt;p&gt;Yeah, really.&lt;/p&gt;


	&lt;p&gt;Before you jump around and empty a barrel of beer, try to compile it first. :)&lt;/p&gt;


	&lt;p&gt;Download: &lt;a href="http://www.lighttpd.net/download/lighttpd-1.5.0-r1435.tar.gz"&gt;http://www.lighttpd.net/download/lighttpd-1.5.0-r1435.tar.gz&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Finally I got some time to finish the loose ends of 1.5.0. &lt;a href="http://www.mysql.com/products/enterprise/advisors.html"&gt;MySQL Network &lt;span class="caps"&gt;MAS&lt;/span&gt;&lt;/a&gt; is going to release (hopefully) next week, giving me time to work on lighty again.&lt;/p&gt;


&lt;h3&gt;What works and what doesn&amp;#8217;t ?&lt;/h3&gt;

	&lt;ul&gt;
	&lt;li&gt;mod_fastcgi, mod_cgi, mod_scgi, mod_proxy are removed

	&lt;ul&gt;
	&lt;li&gt;mod_proxy_core is the replace for the above plugins&lt;/li&gt;
		&lt;li&gt;you have to spawn fastcgi processes with spawn-fcgi&lt;/li&gt;
	&lt;/ul&gt;
&lt;/li&gt;
		&lt;li&gt;mod_cml is removed and mod_magnet isn&amp;#8217;t included &lt;strong&gt;yet&lt;/strong&gt;&lt;/li&gt;
	&lt;/ul&gt;


&lt;h3&gt;Linux &lt;span class="caps"&gt;AIO&lt;/span&gt;&lt;/h3&gt;

	&lt;p&gt;I blogged about Linux &lt;span class="caps"&gt;AIO&lt;/span&gt; before, now you can try it out. Install libaio and build lighttpd with&amp;#8212;with-linux-aio.&lt;/p&gt;


&lt;pre&gt;
server.network-backend = "linux-aio-sendfile" 
&lt;/pre&gt;

&lt;h3&gt;mod-proxy-core&lt;/h3&gt;

	&lt;p&gt;I checked that balancing and uploading works nicely work mod-proxy-core with fastcgi and http as protocols.&lt;/p&gt;


&lt;h4&gt;&lt;span class="caps"&gt;PHP&lt;/span&gt;&lt;/h4&gt;

	&lt;p&gt;Start &lt;span class="caps"&gt;PHP&lt;/span&gt; with spawn-fcgi as documented in the manual and add&lt;/p&gt;


&lt;pre&gt;
$HTTP["url"] =~ "\.php$" {
  proxy-core.balancer = "round-robin" 
  proxy-core.protocol = "fastcgi" 
  proxy-core.backends = ( "127.0.0.1:1026" )
  proxy-core.max-pool-size = 16
}
&lt;/pre&gt;

	&lt;p&gt;the to config.&lt;/p&gt;


	&lt;p&gt;&lt;span class="caps"&gt;BTW&lt;/span&gt;: we use &lt;span class="caps"&gt;FCGI&lt;/span&gt;_KEEP_CONN to keep the connection between lighttpd and the FsatCGI backend up as long as possible.&lt;/p&gt;


&lt;h4&gt;&lt;span class="caps"&gt;HTTP&lt;/span&gt; (mongrel)&lt;/h4&gt;

	&lt;p&gt;We use keep-alive and &lt;span class="caps"&gt;HTTP&lt;/span&gt;/1.1 by default. Give it a try.&lt;/p&gt;


&lt;pre&gt;
$SERVER["socket"] == ":1445" {
  proxy-core.protocol = "http" 
#  proxy-core.balancer = "round-robin" 
  proxy-core.balancer = "sqf" 
  proxy-core.backends = (
    "10.0.0.10:80", 
    "10.0.0.11:80" )
}
&lt;/pre&gt;

	&lt;p&gt;&lt;strong&gt;sqf&lt;/strong&gt; is Shortest Queue First and is the preferred balancer if you have backends which different CPUs. See the next blog-post.&lt;/p&gt;


&lt;h3&gt;mod-upload-progress&lt;/h3&gt;

	&lt;p&gt;&lt;a href="http://blog.lighttpd.net/articles/2006/08/01/mod_uploadprogress-is-back"&gt;Works.&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 14 Nov 2006 01:37:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:0d52402b-882c-4a6b-9718-a9bd33256f55</guid>
      <author>jan</author>
      <link>http://blog.lighttpd.net/articles/2006/11/14/pre-release-lighttpd-1-5-0-r1435-tar-gz</link>
      <category>lighttpd</category>
      <category>1.5.0</category>
      <trackback:ping>http://blog.lighttpd.net/articles/trackback/2225</trackback:ping>
    </item>
    <item>
      <title>"PRE-RELEASE: lighttpd-1.5.0-r1435.tar.gz" by cyberty@gmail.com</title>
      <description>Thank you for your great work.
I have tried lighttpd-1.5.0-r1435, speed limit(connection.kbytes-per-second) is not working. </description>
      <pubDate>Wed, 15 Nov 2006 18:31:44 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:1cc137dd-5935-4e1b-bd97-1e2a6061c900</guid>
      <link>http://blog.lighttpd.net/articles/2006/11/14/pre-release-lighttpd-1-5-0-r1435-tar-gz#comment-2242</link>
    </item>
    <item>
      <title>"PRE-RELEASE: lighttpd-1.5.0-r1435.tar.gz" by vladimir</title>
      <description>Fedora Core 5: files altered with aio; index-file.names not taking into consideration for PHP handlers;</description>
      <pubDate>Wed, 15 Nov 2006 10:04:37 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:00a39c46-62a6-480b-9235-9e6f2184b847</guid>
      <link>http://blog.lighttpd.net/articles/2006/11/14/pre-release-lighttpd-1-5-0-r1435-tar-gz#comment-2241</link>
    </item>
    <item>
      <title>"PRE-RELEASE: lighttpd-1.5.0-r1435.tar.gz" by Eric</title>
      <description>based on my testing, aio-sendfile is still broken.
md5sum show file was changed during transfer from 1.5 with aio enabled</description>
      <pubDate>Tue, 14 Nov 2006 06:45:02 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:07ed990a-91de-485a-8ec1-790309b53d12</guid>
      <link>http://blog.lighttpd.net/articles/2006/11/14/pre-release-lighttpd-1-5-0-r1435-tar-gz#comment-2231</link>
    </item>
    <item>
      <title>"PRE-RELEASE: lighttpd-1.5.0-r1435.tar.gz" by Vladimir</title>
      <description>!!!
Champagne is better...
!!!

Q: May I use Unix Socket for FCGI?</description>
      <pubDate>Tue, 14 Nov 2006 06:42:30 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:725d3777-16fa-4e29-a4b0-9ce12169850e</guid>
      <link>http://blog.lighttpd.net/articles/2006/11/14/pre-release-lighttpd-1-5-0-r1435-tar-gz#comment-2230</link>
    </item>
    <item>
      <title>"PRE-RELEASE: lighttpd-1.5.0-r1435.tar.gz" by JD</title>
      <description>Much congratulations on getting this out the door! Compilation is complete, barrel of beer is being emptied...</description>
      <pubDate>Tue, 14 Nov 2006 03:21:37 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:ac150f29-4608-4a84-9693-d347c6c4ea46</guid>
      <link>http://blog.lighttpd.net/articles/2006/11/14/pre-release-lighttpd-1-5-0-r1435-tar-gz#comment-2228</link>
    </item>
  </channel>
</rss>
