XSSFilter could not parse (X)HTML:
<p>From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:55:48 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])</p>
<pre><code>by localhost (mpop-1.0.11) with POP3
for <yuri>; Fri, 30 Jan 2009 08:55:48 +0000
</code></pre>
<p>Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.161.20 with SMTP id j20cs1367458wfe;</p>
<pre><code> Thu, 15 Jan 2009 03:19:50 -0800 (PST)
</code></pre>
<p>Received: by 10.100.8.17 with SMTP id 17mr991631anh.85.1232018389901;</p>
<pre><code> Thu, 15 Jan 2009 03:19:49 -0800 (PST)
</code></pre>
<p>Return-Path: <a href="mailto:sputnik-list-bounces@lists.luaforge.net">sputnik-list-bounces@lists.luaforge.net</a>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])</p>
<pre><code> by mx.google.com with ESMTP id b14si43374896ana.32.2009.01.15.03.19.39;
Thu, 15 Jan 2009 03:19:49 -0800 (PST)
</code></pre>
<p>Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50)
id 1LNS5a-0005f2-Rc; Thu, 15 Jan 2009 11:16:50 -0200
</code></pre>
<p>Received: from rv-out-0506.google.com ([209.85.198.234])</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50) id 1LM5da-0008BG-M3
for sputnik-list@lists.luaforge.net; Sun, 11 Jan 2009 17:06:19 -0200
</code></pre>
<p>Received: by rv-out-0506.google.com with SMTP id k40so10243059rvb.29</p>
<pre><code>for <sputnik-list@lists.luaforge.net>;
Sun, 11 Jan 2009 09:08:55 -0800 (PST)
</code></pre>
<p>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;</p>
<pre><code>h=domainkey-signature:received:received:message-id:date:from:sender
:to:subject:mime-version:content-type:content-transfer-encoding
:content-disposition:x-google-sender-auth;
bh=fIvUYU2y/GaVymLuCWEjrfqaBpX/413oyGIeO6ma0rY=;
b=Smr/ryjcc2StXJFr4FcPii7v+5gNl7J2wKKUYQ1rb7Gbil/jESCAfxFBN25ItcVlSU
37W1BM4P04f+3ZjXRblS+4v3TI4+4E6Vk9/u1SATkiHHaVRf5nBA02hrqaj1bNHlkL60
OJv5lA4G5GYkV9TDZPT598kPy1DUOeFMTfmXU=
</code></pre>
<p>DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;</p>
<pre><code>h=message-id:date:from:sender:to:subject:mime-version:content-type
:content-transfer-encoding:content-disposition:x-google-sender-auth;
b=uKynO+XDrlXfslpetlAQAzZmcoQ1qiHoLZ68nFaMCdHfIOmxWhAdCUfn+FqufO3z6W
Dnc63ae1jjAaa4WJgQZjTrDOGeW9XjJL/TypwO2oZ0BO1bGvICOL+KQKPc0JCZcEjMnh
yhR72fLHbsJ6UMvuWXQaYvntssnUNOwRF0qsE=
</code></pre>
<p>Received: by 10.141.105.18 with SMTP id h18mr13934160rvm.109.1231693735232;</p>
<pre><code>Sun, 11 Jan 2009 09:08:55 -0800 (PST)
</code></pre>
<p>Received: by 10.140.128.1 with HTTP; Sun, 11 Jan 2009 09:08:55 -0800 (PST)
Message-ID: <a href="mailto:fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com">fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com</a>
Date: Sun, 11 Jan 2009 15:08:55 -0200
From: "Yuri Takhteyev" <a href="mailto:yuri@sims.berkeley.edu">yuri@sims.berkeley.edu</a>
To: Sputnik <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
X-Google-Sender-Auth: 829c58d07e5107fe
Subject: [Sputnik-list] speeding up sputnik
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
</code></pre>
<p>List-Archive: <a href="http://lists.luaforge.net/pipermail/sputnik-list">http://lists.luaforge.net/pipermail/sputnik-list</a>
List-Post: <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
List-Help: <a href="mailto:sputnik-list-request@lists.luaforge.net?subject=help">sputnik-list-request@lists.luaforge.net?subject=help</a>
List-Subscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
</code></pre>
<p>Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net</p>
<p>A list member who wanted to stay unnamed pointed out that Sputnik's
performance can be improved quite a bit by telling the client to cache
javascript and css files. I added support for this, and also made some
other changes to make YSlow happy.</p>
<ol>
<li>Caching</li>
</ol>
<p>Nodes have two new fields: http<em>cache</em>control and http<em>expires. Both
are set to nil at the level of @Root, but are then re-set for @CSS,
@JavaScript, @Binary</em>File and sputnik/css/colors - for now to
"max-age=3D3600" and "2" respectively. The value of http<em>cache</em>control
is passed directly to the client as "Cache-Control" header, and
http_expires is interpreted as an offset (in hours) to set the
timestamp in the "Expires" header. (I expect to tweak the value and
am looking for suggestions.)</p>
<p>This means that if you do nothing then images, css files and
javascript files will be cached for an hour by the client. If you are
making changes to those nodes (e.g., uploading a new logo) and want to
see the effects, you will need to do click on "reload" button in the
browser while holding shift. (Your users won't see the new logo until
their cache expires.) This seems to speed up the loading by a factor
of 3, after the first page view.</p>
<ol>
<li>JavaScript at the bottom.</li>
</ol>
<p>I moved all JavaScript to the bottom of the page, as YSlow recommends.
This doesn't seem to make any drastic changes, though I didn't measure
it very precisely.</p>
<ol>
<li>Gzipping content</li>
</ol>
<p>I used Igancio Burge=F1o's code (see an email to the Kepler list in
November) to add support for content compression. To enable this you
would need to set "USE_COMPRESSION" config parameter to "true" and
install lzlib rock. (Available from the main repository: "luarocks
install lzlib".) Again, I haven't noticed any huge improvements from
where I am at the moment, but perhaps in other cases it would make
more of a difference.</p>
<p>YSlow seems to be quite happy now, only wishing that we were using a
content delivery network. I am guessing further improvements in
performance would need to be from server-side profiling or from
server-side caching. (Or from adding support for content delivery
networks, as YSlow suggests.)</p>
<ul>
<li>yuri</li>
</ul>
<p>--=20
http://sputnik.freewisdom.org/</p>
<hr/>
<p>Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</p>
<p>From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:55:48 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])</p>
<pre><code>by localhost (mpop-1.0.11) with POP3
for <yuri>; Fri, 30 Jan 2009 08:55:48 +0000
</code></pre>
<p>Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.161.20 with SMTP id j20cs1385189wfe;</p>
<pre><code> Thu, 15 Jan 2009 11:26:27 -0800 (PST)
</code></pre>
<p>Received: by 10.101.70.14 with SMTP id x14mr456179ank.132.1232047585904;</p>
<pre><code> Thu, 15 Jan 2009 11:26:25 -0800 (PST)
</code></pre>
<p>Return-Path: <a href="mailto:sputnik-list-bounces@lists.luaforge.net">sputnik-list-bounces@lists.luaforge.net</a>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])</p>
<pre><code> by mx.google.com with ESMTP id d12si480958and.22.2009.01.15.11.26.12;
Thu, 15 Jan 2009 11:26:25 -0800 (PST)
</code></pre>
<p>Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50)
id 1LNZgI-0001KF-2v; Thu, 15 Jan 2009 19:23:14 -0200
</code></pre>
<p>Received: from fg-out-1718.google.com ([72.14.220.158])</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50) id 1LNZgF-0001KA-W6
for sputnik-list@lists.luaforge.net; Thu, 15 Jan 2009 19:23:12 -0200
</code></pre>
<p>Received: by fg-out-1718.google.com with SMTP id 13so627216fge.11</p>
<pre><code>for <sputnik-list@lists.luaforge.net>;
Thu, 15 Jan 2009 11:25:56 -0800 (PST)
</code></pre>
<p>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;</p>
<pre><code>h=domainkey-signature:received:received:message-id:from:to
:in-reply-to:content-type:content-transfer-encoding:mime-version
:subject:date:references:x-mailer;
bh=GvskbENsOpLl5uxrUqmakHBl/6n8NcwxVeAv0c61O00=;
b=lPWJ+yDhsANrKVt4qbYThY5l8b/H1H3FfxfqPWbU+BcZkRPXGEAwhLiGjYGgkw2hr+
e/iUcQcDc4tIr67ONmy1dFzZrwTqYVCP4zLH1erKVqARGk9x5PDS1yRbRUyXIHU1tprT
xbz9oWdgtoWqTPSq3zcSFkqIXQqdSAjlYQi30=
</code></pre>
<p>DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;</p>
<pre><code>h=message-id:from:to:in-reply-to:content-type
:content-transfer-encoding:mime-version:subject:date:references
:x-mailer;
b=XEmOlqsd7u1+cEmyDXDFcxwlK8+OLgP6Z8/XT3qQaOlvY9PPN5oPz2Q2jaY1e93nPz
uiEVU3NGQPJjy5fxfLLmuK8k5V3J1ZdEVRzC+qY0A0WeCCVp+6PyD49TE6cX1Iq4Zc8D
mwHcUzsVRpW9eT0VwoxVYvBziINEQ/LY32PR4=
</code></pre>
<p>Received: by 10.86.91.3 with SMTP id o3mr1550897fgb.35.1232047556599;</p>
<pre><code>Thu, 15 Jan 2009 11:25:56 -0800 (PST)
</code></pre>
<p>Received: from ?192.168.1.4? (adsl-84-226-47-43.adslplus.ch [84.226.47.43])</p>
<pre><code>by mx.google.com with ESMTPS id e11sm794619fga.52.2009.01.15.11.25.55
(version=TLSv1/SSLv3 cipher=RC4-MD5);
Thu, 15 Jan 2009 11:25:55 -0800 (PST)
</code></pre>
<p>Message-Id: <a href="mailto:DC697939-7409-47F5-9F69-C077EBDB844B@gmail.com">DC697939-7409-47F5-9F69-C077EBDB844B@gmail.com</a>
From: Petite Abeille <a href="mailto:petite.abeille@gmail.com">petite.abeille@gmail.com</a>
To: Sputnik <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
In-Reply-To: <a href="mailto:fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com">fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com</a>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v930.3)
Subject: Re: [Sputnik-list] speeding up sputnik
Date: Thu, 15 Jan 2009 20:25:53 +0100
References: <a href="mailto:fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com">fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com</a>
X-Mailer: Apple Mail (2.930.3)
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
</code></pre>
<p>List-Archive: <a href="http://lists.luaforge.net/pipermail/sputnik-list">http://lists.luaforge.net/pipermail/sputnik-list</a>
List-Post: <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
List-Help: <a href="mailto:sputnik-list-request@lists.luaforge.net?subject=help">sputnik-list-request@lists.luaforge.net?subject=help</a>
List-Subscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
</code></pre>
<p>Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net</p>
<p>On Jan 11, 2009, at 6:08 PM, Yuri Takhteyev wrote:</p>
<blockquote>
<p>A list member who wanted to stay unnamed pointed out that Sputnik's
performance can be improved quite a bit by telling the client to cache
javascript and css files. I added support for this, and also made some
other changes to make YSlow happy.</p>
</blockquote>
<p>You might also want to consider e-tag and conditional requests as well <br/>
(e.g. If-None-Match & 304 Not Modified).</p>
<p>That said... considering that Sputnik usually runs in a full fledge <br/>
server such as Apache... why bother re-implementing all those features <br/>
in Sputnik itself?</p>
<p>Cheers,</p>
<p>--
PA.
http://alt.textdrive.com/nanoki/</p>
<hr/>
<p>Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</p>
<p>From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:55:49 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])</p>
<pre><code>by localhost (mpop-1.0.11) with POP3
for <yuri>; Fri, 30 Jan 2009 08:55:49 +0000
</code></pre>
<p>Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.161.20 with SMTP id j20cs1392058wfe;</p>
<pre><code> Thu, 15 Jan 2009 13:57:37 -0800 (PST)
</code></pre>
<p>Received: by 10.100.121.12 with SMTP id t12mr1505255anc.96.1232056655438;</p>
<pre><code> Thu, 15 Jan 2009 13:57:35 -0800 (PST)
</code></pre>
<p>Return-Path: <a href="mailto:sputnik-list-bounces@lists.luaforge.net">sputnik-list-bounces@lists.luaforge.net</a>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])</p>
<pre><code> by mx.google.com with ESMTP id d12si850489and.42.2009.01.15.13.57.25;
Thu, 15 Jan 2009 13:57:35 -0800 (PST)
</code></pre>
<p>Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50)
id 1LNc2h-0004RA-JB; Thu, 15 Jan 2009 21:54:31 -0200
</code></pre>
<p>Received: from fg-out-1718.google.com ([72.14.220.154])</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50) id 1LNc2f-0004R5-BB
for sputnik-list@lists.luaforge.net; Thu, 15 Jan 2009 21:54:29 -0200
</code></pre>
<p>Received: by fg-out-1718.google.com with SMTP id 13so656420fge.11</p>
<pre><code>for <sputnik-list@lists.luaforge.net>;
Thu, 15 Jan 2009 13:57:14 -0800 (PST)
</code></pre>
<p>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;</p>
<pre><code>h=domainkey-signature:received:received:message-id:from:to
:in-reply-to:content-type:content-transfer-encoding:mime-version
:subject:date:references:x-mailer;
bh=KhyZiAI+DYaCTxyS066H7AUVWf6jX/NTjB0ala+fweg=;
b=nXtqArONI5IYFYwRsx4LhuDaJo498R1W4gVX7zFQvSwgE3ZjnHRtI1zVUJltK9PHSU
XBZ0XYWhJ08zM7ENq8Ogd3R/aoEXmsBsPLWa6WyhQUTteUIeevozdpOuDL7aI7+Pcn/V
f2VrvZx4i8axbpqGCDQqroQxyay9NDavHwQLY=
</code></pre>
<p>DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;</p>
<pre><code>h=message-id:from:to:in-reply-to:content-type
:content-transfer-encoding:mime-version:subject:date:references
:x-mailer;
b=ubjaFCoXpDzQD44c9IXGFSj0WDbnzjgaKTRsSdki8jxV0qwz3lpEUoNWfY1QTskyyW
D6aAWKnykM3uLmCFLhEpxy6W10KAXdeNj+ACFwTFk9id/FpS/edw6vTaAX7mAOLsSfj3
4kOyMrOmQ81mDk8VIly3fsoU7CcjQftgwPOGw=
</code></pre>
<p>Received: by 10.86.52.6 with SMTP id z6mr287866fgz.63.1232056634052;</p>
<pre><code>Thu, 15 Jan 2009 13:57:14 -0800 (PST)
</code></pre>
<p>Received: from ?192.168.1.4? (adsl-84-226-47-43.adslplus.ch [84.226.47.43])</p>
<pre><code>by mx.google.com with ESMTPS id 12sm298058fgg.36.2009.01.15.13.57.13
(version=TLSv1/SSLv3 cipher=RC4-MD5);
Thu, 15 Jan 2009 13:57:13 -0800 (PST)
</code></pre>
<p>Message-Id: <a href="mailto:777B6213-62D5-497C-B8C4-059C24C3AA42@gmail.com">777B6213-62D5-497C-B8C4-059C24C3AA42@gmail.com</a>
From: Petite Abeille <a href="mailto:petite.abeille@gmail.com">petite.abeille@gmail.com</a>
To: Sputnik <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
In-Reply-To: <a href="mailto:fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com">fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com</a>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v930.3)
Subject: Re: [Sputnik-list] speeding up sputnik
Date: Thu, 15 Jan 2009 22:57:11 +0100
References: <a href="mailto:fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com">fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com</a>
X-Mailer: Apple Mail (2.930.3)
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
</code></pre>
<p>List-Archive: <a href="http://lists.luaforge.net/pipermail/sputnik-list">http://lists.luaforge.net/pipermail/sputnik-list</a>
List-Post: <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
List-Help: <a href="mailto:sputnik-list-request@lists.luaforge.net?subject=help">sputnik-list-request@lists.luaforge.net?subject=help</a>
List-Subscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
</code></pre>
<p>Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net</p>
<p>On Jan 11, 2009, at 6:08 PM, Yuri Takhteyev wrote:</p>
<blockquote>
<p>A list member who wanted to stay unnamed pointed out that Sputnik's
performance can be improved quite a bit</p>
</blockquote>
<p>For what it's worth, here are some basic numbers from ApacheBench:</p>
<p>Apache -> CGI -> Sputnik</p>
<p>% ab -k -n 100 http://sputnik.freewisdom.org/
Document Length: 15118 bytes
Requests per second: 0.78 [#/sec] (mean)
Time per request: 1274.200 [ms] (mean)</p>
<p>For comparison, here are the Nanoki numbers:</p>
<p>Nginx -> HTTP -> Nanoki</p>
<p>% ab -n 100 http://svr225.stepx.com:3388/drama
Document Length: 22601 bytes
Requests per second: 2.09 [#/sec] (mean)
Time per request: 477.961 [ms] (mean)</p>
<p>Not sure why the one to two difference here (0.7 vs. 2.09). Perhaps <br/>
the CGI overhead on the Sputnik side, versus plain HTTP on the Nanoki <br/>
side?</p>
<p>One way or another, using a persistent connection improve things a bit:</p>
<p>% ab -k -n 100 http://svr225.stepx.com:3388/drama
Document Length: 22601 bytes
Requests per second: 7.15 [#/sec] (mean)
Time per request: 139.844 [ms] (mean)</p>
<p>Unfortunately, the Apache instance fronting Sputnik is not set to <br/>
handle persistent connection, so no gain there.</p>
<p>HTH.</p>
<p>Cheers,</p>
<p>--
PA.
http://alt.textdrive.com/nanoki/</p>
<hr/>
<p>Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</p>
<p>From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:55:49 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])</p>
<pre><code>by localhost (mpop-1.0.11) with POP3
for <yuri>; Fri, 30 Jan 2009 08:55:49 +0000
</code></pre>
<p>Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.161.20 with SMTP id j20cs1393452wfe;</p>
<pre><code> Thu, 15 Jan 2009 14:29:45 -0800 (PST)
</code></pre>
<p>Received: by 10.100.122.8 with SMTP id u8mr1518771anc.131.1232058584764;</p>
<pre><code> Thu, 15 Jan 2009 14:29:44 -0800 (PST)
</code></pre>
<p>Return-Path: <a href="mailto:sputnik-list-bounces@lists.luaforge.net">sputnik-list-bounces@lists.luaforge.net</a>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])</p>
<pre><code> by mx.google.com with ESMTP id c29si901103anc.49.2009.01.15.14.29.30;
Thu, 15 Jan 2009 14:29:44 -0800 (PST)
</code></pre>
<p>Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50)
id 1LNcXj-0005mV-ID; Thu, 15 Jan 2009 22:26:35 -0200
</code></pre>
<p>Received: from yw-out-2324.google.com ([74.125.46.30])</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50) id 1LNcXh-0005mQ-I9
for sputnik-list@lists.luaforge.net; Thu, 15 Jan 2009 22:26:33 -0200
</code></pre>
<p>Received: by yw-out-2324.google.com with SMTP id 2so504878ywt.89</p>
<pre><code>for <sputnik-list@lists.luaforge.net>;
Thu, 15 Jan 2009 14:29:18 -0800 (PST)
</code></pre>
<p>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;</p>
<pre><code>h=domainkey-signature:received:received:message-id:date:from:to
:subject:cc:in-reply-to:mime-version:content-type
:content-transfer-encoding:content-disposition:references;
bh=ceIU4aS2nk+vbnlTpq9tv/ek96+4QVsUZtxPDL7BgSk=;
b=IrBpHjyBNfL8hWKODAcIMR7T71XJ2+W/XNsSDrRnN8FugkvaKCPcajYeO32v6Ib8e2
QETZ6EnhkExVMzYwZtKuvNRccGs64vn14ovgpw5OUIC+f0bj0Iv5BglqqF1HGVAOQnZ5
vFucXo+pagKJTMxsfoaj0WHC7AoXfBWHnv2tQ=
</code></pre>
<p>DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;</p>
<pre><code>h=message-id:date:from:to:subject:cc:in-reply-to:mime-version
:content-type:content-transfer-encoding:content-disposition
:references;
b=nXRAyvskwpX9PJ7DbHf7MmZZ74bBJ3BamDg9ZWnlIuRvVTv0bvr11E6LOuf0Q0NPNU
opS0l7G2L91uQ51iKPW2U1qpVH6UWNVS1fLOJD8b8gqSoxAFcRISHHm6l5gmL0dRH9fh
yTQzmGA7bwBoVSt07F05FxYSEmc9h/i/O+ahg=
</code></pre>
<p>Received: by 10.150.98.18 with SMTP id v18mr4798637ybb.169.1232058557779;</p>
<pre><code>Thu, 15 Jan 2009 14:29:17 -0800 (PST)
</code></pre>
<p>Received: by 10.150.218.6 with HTTP; Thu, 15 Jan 2009 14:29:17 -0800 (PST)
Message-ID: <a href="mailto:5fe281d40901151429n12ba6a27gf62e4f2479e9c1f5@mail.gmail.com">5fe281d40901151429n12ba6a27gf62e4f2479e9c1f5@mail.gmail.com</a>
Date: Thu, 15 Jan 2009 22:29:17 +0000
From: "Jim Whitehead II" <a href="mailto:jnwhiteh@gmail.com">jnwhiteh@gmail.com</a>
To: "Petite Abeille" <a href="mailto:petite.abeille@gmail.com">petite.abeille@gmail.com</a>
Subject: Re: [Sputnik-list] speeding up sputnik
In-Reply-To: <a href="mailto:777B6213-62D5-497C-B8C4-059C24C3AA42@gmail.com">777B6213-62D5-497C-B8C4-059C24C3AA42@gmail.com</a>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <a href="mailto:fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com">fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com</a></p>
<pre><code><777B6213-62D5-497C-B8C4-059C24C3AA42@gmail.com>
</code></pre>
<p>Cc: Sputnik <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
</code></pre>
<p>List-Archive: <a href="http://lists.luaforge.net/pipermail/sputnik-list">http://lists.luaforge.net/pipermail/sputnik-list</a>
List-Post: <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
List-Help: <a href="mailto:sputnik-list-request@lists.luaforge.net?subject=help">sputnik-list-request@lists.luaforge.net?subject=help</a>
List-Subscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
</code></pre>
<p>Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net</p>
<p>On Thu, Jan 15, 2009 at 9:57 PM, Petite Abeille
<a href="mailto:petite.abeille@gmail.com">petite.abeille@gmail.com</a> wrote:</p>
<blockquote>
<p>On Jan 11, 2009, at 6:08 PM, Yuri Takhteyev wrote:</p>
<blockquote>
<p>A list member who wanted to stay unnamed pointed out that Sputnik's
performance can be improved quite a bit</p>
</blockquote>
<p>For what it's worth, here are some basic numbers from ApacheBench:</p>
<p>Apache -> CGI -> Sputnik</p>
<p>% ab -k -n 100 http://sputnik.freewisdom.org/
Document Length: 15118 bytes
Requests per second: 0.78 [#/sec] (mean)
Time per request: 1274.200 [ms] (mean)</p>
</blockquote>
<p>Some comparisons against a real production site that is running
Sputnik. The main Sputnik site does not take advantage of many of the
rocks that are available when running a real site:</p>
<p>% ab -n 100 http://wowprogramming.com/
HTML transferred: 343800 bytes
Requests per second: 3.10 [#/sec] (mean)
Time per request: 322.890 [ms] (mean)</p>
<p>Keep in mind my site isn't as speedy as it could be, and it certainly
suffers on the more dynamic pages (the following numbers are without
any query or node caching):</p>
<p>% ab -k -n 100 http://wowprogramming.com/forums/development
HTML transferred: 2669900 bytes
Requests per second: 0.48 [#/sec] (mean)
Time per request: 2066.132 [ms] (mean)</p>
<blockquote>
<p>For comparison, here are the Nanoki numbers:</p>
<p>Nginx -> HTTP -> Nanoki</p>
<p>% ab -n 100 http://svr225.stepx.com:3388/drama
Document Length: 22601 bytes
Requests per second: 2.09 [#/sec] (mean)
Time per request: 477.961 [ms] (mean)</p>
<p>Not sure why the one to two difference here (0.7 vs. 2.09). Perhaps the CGI
overhead on the Sputnik side, versus plain HTTP on the Nanoki side?</p>
</blockquote>
<p>There is a massive complexity difference between Nanoki and Sputnik
which is partially shown in the above benchmarks.
http://wowprogramming.com/ is able to do the following using Sputnik:</p>
<ul>
<li>Serve forums for discussion (rudimentary, but they work)</li>
<li>Generate API documentation and listings dynamically from Lua tables</li>
<li>Act as an AJAX Lua interpreter providing a Lua command-line on the web</li>
<li>Convert .BMP format images to .PNG</li>
</ul>
<p>and the list continues on. The conceptual base of Sputnik is a high
feature 'node' that includes full inheritance. You pay with a bit of
complexity for flexibility in implementation. I would make the
statement that although Nanoki and Sputnik have both been called a
"wiki", the latter is a wiki only in how it's used in its default
state.</p>
<blockquote>
<p>One way or another, using a persistent connection improve things a bit:</p>
<p>% ab -k -n 100 http://svr225.stepx.com:3388/drama
Document Length: 22601 bytes
Requests per second: 7.15 [#/sec] (mean)
Time per request: 139.844 [ms] (mean)</p>
<p>Unfortunately, the Apache instance fronting Sputnik is not set to handle
persistent connection, so no gain there.</p>
</blockquote>
<p>Here are all of the numbers, for comparison. You can see that Nanoki
with keep-alive wins by quite a bit which is to be expected.</p>
<hr/>
<p>% ab -n 100 http://wowprogramming.com/
HTML transferred: 343800 bytes
Requests per second: 3.08 [#/sec] (mean)</p>
<h1>Time per request: 324.296 [ms] (mean)</h1>
<p>% ab -k -n 100 http://wowprogramming.com/
HTML transferred: 343800 bytes
Requests per second: 4.68 [#/sec] (mean)</p>
<h1>Time per request: 213.586 [ms] (mean)</h1>
<p>% ab -n 100 http://svr225.stepx.com:3388/drama
HTML transferred: 2260100 bytes
Requests per second: 3.39 [#/sec] (mean)</p>
<h1>Time per request: 294.658 [ms] (mean)</h1>
<p>% ab -k -n 100 http://svr225.stepx.com:3388/drama
HTML transferred: 2260100 bytes
Requests per second: 11.64 [#/sec] (mean)</p>
<h1>Time per request: 85.921 [ms] (mean)</h1>
<ul>
<li>Jim</li>
</ul>
<hr/>
<p>Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</p>
<p>From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:55:49 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])</p>
<pre><code>by localhost (mpop-1.0.11) with POP3
for <yuri>; Fri, 30 Jan 2009 08:55:49 +0000
</code></pre>
<p>Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.161.20 with SMTP id j20cs1395032wfe;</p>
<pre><code> Thu, 15 Jan 2009 15:07:42 -0800 (PST)
</code></pre>
<p>Received: by 10.100.135.16 with SMTP id i16mr1552767and.99.1232060861176;</p>
<pre><code> Thu, 15 Jan 2009 15:07:41 -0800 (PST)
</code></pre>
<p>Return-Path: <a href="mailto:sputnik-list-bounces@lists.luaforge.net">sputnik-list-bounces@lists.luaforge.net</a>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])</p>
<pre><code> by mx.google.com with ESMTP id b37si955394ana.50.2009.01.15.15.07.30;
Thu, 15 Jan 2009 15:07:40 -0800 (PST)
</code></pre>
<p>Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50)
id 1LNd8Q-0006s1-KC; Thu, 15 Jan 2009 23:04:30 -0200
</code></pre>
<p>Received: from fg-out-1718.google.com ([72.14.220.158])</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50) id 1LNd8L-0006rw-3o
for sputnik-list@lists.luaforge.net; Thu, 15 Jan 2009 23:04:25 -0200
</code></pre>
<p>Received: by fg-out-1718.google.com with SMTP id 13so668962fge.11</p>
<pre><code>for <sputnik-list@lists.luaforge.net>;
Thu, 15 Jan 2009 15:07:10 -0800 (PST)
</code></pre>
<p>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;</p>
<pre><code>h=domainkey-signature:received:received:message-id:from:to
:in-reply-to:content-type:content-transfer-encoding:mime-version
:subject:date:references:x-mailer;
bh=/iiKwof6sMPKXPLbaqvBtar/yqgG3frayw/7cJSnX14=;
b=O0gX8KvoY6G2kEevkImWd/NAjCEYJeb01Onn3tZ9fkIoK0NZM398wLXkq4j5AxgVv6
QM0Uw+qwi7hM3dDGUWPM3mBzvJoqS1Z3Cf0gPdscLcl3y7UjDrMsUAKb+EM5u5t6yysU
HUbA23gKF31LIEXowQ0lcwyTWqHvdBZQKCF9o=
</code></pre>
<p>DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;</p>
<pre><code>h=message-id:from:to:in-reply-to:content-type
:content-transfer-encoding:mime-version:subject:date:references
:x-mailer;
b=rRxdGocXBSZK5GDtC4/w6uKEbum2A90ygGuOzH1c9Tnh+bq66AcP9jG2Px6z/Wrdpr
gKRATEKwXbBji7paWfxYajmamxxqeo4P1IdBRN+GK2a1rjYc/15kVpTT6OfbtqbFYrdX
aBqeCyif2f+Ab8OG9fSBcnCrynOf7LhYJP4iQ=
</code></pre>
<p>Received: by 10.86.96.18 with SMTP id t18mr1654355fgb.56.1232060829993;</p>
<pre><code>Thu, 15 Jan 2009 15:07:09 -0800 (PST)
</code></pre>
<p>Received: from ?192.168.1.4? (adsl-84-226-47-43.adslplus.ch [84.226.47.43])</p>
<pre><code>by mx.google.com with ESMTPS id d6sm1173044fga.50.2009.01.15.15.07.09
(version=TLSv1/SSLv3 cipher=RC4-MD5);
Thu, 15 Jan 2009 15:07:09 -0800 (PST)
</code></pre>
<p>Message-Id: <a href="mailto:E159011D-07CB-4C32-9297-02570C3EC5A9@gmail.com">E159011D-07CB-4C32-9297-02570C3EC5A9@gmail.com</a>
From: Petite Abeille <a href="mailto:petite.abeille@gmail.com">petite.abeille@gmail.com</a>
To: Sputnik <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
In-Reply-To: <a href="mailto:5fe281d40901151429n12ba6a27gf62e4f2479e9c1f5@mail.gmail.com">5fe281d40901151429n12ba6a27gf62e4f2479e9c1f5@mail.gmail.com</a>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v930.3)
Subject: Re: [Sputnik-list] speeding up sputnik
Date: Fri, 16 Jan 2009 00:07:06 +0100
References: <a href="mailto:fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com">fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com</a></p>
<pre><code><777B6213-62D5-497C-B8C4-059C24C3AA42@gmail.com>
<5fe281d40901151429n12ba6a27gf62e4f2479e9c1f5@mail.gmail.com>
</code></pre>
<p>X-Mailer: Apple Mail (2.930.3)
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
</code></pre>
<p>List-Archive: <a href="http://lists.luaforge.net/pipermail/sputnik-list">http://lists.luaforge.net/pipermail/sputnik-list</a>
List-Post: <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
List-Help: <a href="mailto:sputnik-list-request@lists.luaforge.net?subject=help">sputnik-list-request@lists.luaforge.net?subject=help</a>
List-Subscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
</code></pre>
<p>Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net</p>
<p>On Jan 15, 2009, at 11:29 PM, Jim Whitehead II wrote:</p>
<blockquote>
<p>There is a massive complexity difference between Nanoki and Sputnik <br/>
which is partially shown in the above benchmarks.... The conceptual <br/>
base of Sputnik is a high feature 'node' that includes full <br/>
inheritance. You pay with a bit of complexity for flexibility in <br/>
implementation. I would make the statement that although Nanoki and <br/>
Sputnik have both been called a "wiki", the latter is a wiki only in <br/>
how it's used in its default state.</p>
</blockquote>
<p>Fair enough... that said, my point was more related to Yuri's original <br/>
concern... high level or not, Sputnik, in its wiki incarnation or <br/>
otherwise, can directly benefits from a couple of rather <br/>
straightforward tweaking in how it's setup in the overall HTTP food <br/>
chain...</p>
<p>Cheers,</p>
<p>--
PA.
http://alt.textdrive.com/nanoki/ </p>
<hr/>
<p>Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</p>
<p>From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:55:49 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])</p>
<pre><code>by localhost (mpop-1.0.11) with POP3
for <yuri>; Fri, 30 Jan 2009 08:55:49 +0000
</code></pre>
<p>Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.161.20 with SMTP id j20cs1395168wfe;</p>
<pre><code> Thu, 15 Jan 2009 15:11:03 -0800 (PST)
</code></pre>
<p>Received: by 10.100.164.12 with SMTP id m12mr1546455ane.144.1232061062891;</p>
<pre><code> Thu, 15 Jan 2009 15:11:02 -0800 (PST)
</code></pre>
<p>Return-Path: <a href="mailto:sputnik-list-bounces@lists.luaforge.net">sputnik-list-bounces@lists.luaforge.net</a>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])</p>
<pre><code> by mx.google.com with ESMTP id c28si950926anc.47.2009.01.15.15.10.52;
Thu, 15 Jan 2009 15:11:02 -0800 (PST)
</code></pre>
<p>Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50)
id 1LNdBr-000780-TQ; Thu, 15 Jan 2009 23:08:03 -0200
</code></pre>
<p>Received: from yx-out-2324.google.com ([74.125.44.30])</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50) id 1LNdBp-00077v-6j
for sputnik-list@lists.luaforge.net; Thu, 15 Jan 2009 23:08:01 -0200
</code></pre>
<p>Received: by yx-out-2324.google.com with SMTP id 3so510655yxj.89</p>
<pre><code>for <sputnik-list@lists.luaforge.net>;
Thu, 15 Jan 2009 15:10:46 -0800 (PST)
</code></pre>
<p>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;</p>
<pre><code>h=domainkey-signature:received:received:message-id:date:from:to
:subject:cc:in-reply-to:mime-version:content-type
:content-transfer-encoding:content-disposition:references;
bh=Wk+GcX/oBZzZN229Bx6GEVEF6XYp2T+hXadOMveAF6w=;
b=wQ38pYcVKzmQhrppthQuluEPzhqzWgsYDtWydMJfIVSf062jnSB4B3xeTew+pof1B3
qh5S9mtINu168JUH7cJG7j4A9gyfEmd5Jwmln92Y1+OzMAxhhySAov/i9pJ/Bz7b18yg
Za1yxqFXtxeMCPzQfKjmh1ZLOSthX7tJDxZYM=
</code></pre>
<p>DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;</p>
<pre><code>h=message-id:date:from:to:subject:cc:in-reply-to:mime-version
:content-type:content-transfer-encoding:content-disposition
:references;
b=qLl6p6V4KDg5BJmyEwjkGM8DRhxlhqjYh2mNR9zNAvjOl4gb8ZQ7PLuxgpJkRxqdcq
JbqJICwYKqkWV04BIxAXEoFnom6Y98oAEHQ8ewld0wC/QpSXBHHNUciz41PADcOlqNJi
rIEpbHdSmYAbmAGe+Mx9x/ki1HEeT3E/y+PwE=
</code></pre>
<p>Received: by 10.151.149.14 with SMTP id b14mr4853486ybo.192.1232061046567;</p>
<pre><code>Thu, 15 Jan 2009 15:10:46 -0800 (PST)
</code></pre>
<p>Received: by 10.150.218.6 with HTTP; Thu, 15 Jan 2009 15:10:46 -0800 (PST)
Message-ID: <a href="mailto:5fe281d40901151510m60c54f3dv2e488623fd132976@mail.gmail.com">5fe281d40901151510m60c54f3dv2e488623fd132976@mail.gmail.com</a>
Date: Thu, 15 Jan 2009 23:10:46 +0000
From: "Jim Whitehead II" <a href="mailto:jnwhiteh@gmail.com">jnwhiteh@gmail.com</a>
To: "Petite Abeille" <a href="mailto:petite.abeille@gmail.com">petite.abeille@gmail.com</a>
Subject: Re: [Sputnik-list] speeding up sputnik
In-Reply-To: <a href="mailto:E159011D-07CB-4C32-9297-02570C3EC5A9@gmail.com">E159011D-07CB-4C32-9297-02570C3EC5A9@gmail.com</a>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <a href="mailto:fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com">fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com</a></p>
<pre><code><777B6213-62D5-497C-B8C4-059C24C3AA42@gmail.com>
<5fe281d40901151429n12ba6a27gf62e4f2479e9c1f5@mail.gmail.com>
<E159011D-07CB-4C32-9297-02570C3EC5A9@gmail.com>
</code></pre>
<p>Cc: Sputnik <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
</code></pre>
<p>List-Archive: <a href="http://lists.luaforge.net/pipermail/sputnik-list">http://lists.luaforge.net/pipermail/sputnik-list</a>
List-Post: <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
List-Help: <a href="mailto:sputnik-list-request@lists.luaforge.net?subject=help">sputnik-list-request@lists.luaforge.net?subject=help</a>
List-Subscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
</code></pre>
<p>Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net</p>
<p>On Thu, Jan 15, 2009 at 11:07 PM, Petite Abeille
<a href="mailto:petite.abeille@gmail.com">petite.abeille@gmail.com</a> wrote:</p>
<blockquote>
<p>On Jan 15, 2009, at 11:29 PM, Jim Whitehead II wrote:</p>
<blockquote>
<p>There is a massive complexity difference between Nanoki and Sputnik which
is partially shown in the above benchmarks.... The conceptual base of
Sputnik is a high feature 'node' that includes full inheritance. You pay
with a bit of complexity for flexibility in implementation. I would make
the statement that although Nanoki and Sputnik have both been called a
"wiki", the latter is a wiki only in how it's used in its default state.</p>
</blockquote>
<p>Fair enough... that said, my point was more related to Yuri's original
concern... high level or not, Sputnik, in its wiki incarnation or otherwise,
can directly benefits from a couple of rather straightforward tweaking in
how it's setup in the overall HTTP food chain...</p>
</blockquote>
<p>Definitely, I just wanted to show that wowprogramming.com is also
running Sputnik but as you can see it's MUCH closer to the numbers (at
least without keepalive) that Nanoki and push out. I don't do
anything special, just use a few of the more advanced rocks based on
my server setup and architecture.</p>
<ul>
<li>Jim</li>
</ul>
<hr/>
<p>Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</p>
<p>From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:55:49 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])</p>
<pre><code>by localhost (mpop-1.0.11) with POP3
for <yuri>; Fri, 30 Jan 2009 08:55:49 +0000
</code></pre>
<p>Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.161.20 with SMTP id j20cs1395404wfe;</p>
<pre><code> Thu, 15 Jan 2009 15:17:09 -0800 (PST)
</code></pre>
<p>Received: by 10.100.214.15 with SMTP id m15mr1564801ang.81.1232061428415;</p>
<pre><code> Thu, 15 Jan 2009 15:17:08 -0800 (PST)
</code></pre>
<p>Return-Path: <a href="mailto:sputnik-list-bounces@lists.luaforge.net">sputnik-list-bounces@lists.luaforge.net</a>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])</p>
<pre><code> by mx.google.com with ESMTP id d35si581903and.45.2009.01.15.15.16.57;
Thu, 15 Jan 2009 15:17:07 -0800 (PST)
</code></pre>
<p>Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50)
id 1LNdHi-00078q-7r; Thu, 15 Jan 2009 23:14:06 -0200
</code></pre>
<p>Received: from wf-out-1314.google.com ([209.85.200.168])</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50) id 1LNdHf-00078l-G7
for sputnik-list@lists.luaforge.net; Thu, 15 Jan 2009 23:14:03 -0200
</code></pre>
<p>Received: by wf-out-1314.google.com with SMTP id 28so1344275wfc.20</p>
<pre><code>for <sputnik-list@lists.luaforge.net>;
Thu, 15 Jan 2009 15:16:48 -0800 (PST)
</code></pre>
<p>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;</p>
<pre><code>h=domainkey-signature:received:received:message-id:date:from:to
:subject:in-reply-to:mime-version:content-type:references;
bh=y1x11Y4J5s8CvURkcFwdS0LEouxKyhkHS/K4LbxQp0Q=;
b=rV0JWq4u8Ty1Nkwu53SoPMA110ChUTXIFBDi5Sclnu2At8pYH/r28vWpBlkq74qyms
4PDK0dhMa63oVqOydceiNUKv7dH4ZTvQEqYOErZwpg7etquSyEK0+cWObO71Ly4Rcv+7
hK5IxQO2CWGeAVFby467Xli1z6x7QkWQhanLI=
</code></pre>
<p>DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;</p>
<pre><code>h=message-id:date:from:to:subject:in-reply-to:mime-version
:content-type:references;
b=b07Xv2UzMiwwTdpHjivD8UJa2OvIp3vDRIN/pqCfWs3PFhwRmuPcO+rKC0Y+fFARpk
1iwSF5b4g5dvlEX9m9iqYmp4m4C/w284NQEo02KtI9bwYjb7v6DC2ds9/olxN574fnsW
LsABSklq9dA9dxO3gGlrywET8GQb9uCCvpnUQ=
</code></pre>
<p>Received: by 10.142.100.1 with SMTP id x1mr327950wfb.119.1232061407204;</p>
<pre><code>Thu, 15 Jan 2009 15:16:47 -0800 (PST)
</code></pre>
<p>Received: by 10.142.133.20 with HTTP; Thu, 15 Jan 2009 15:16:47 -0800 (PST)
Message-ID: <a href="mailto:7913df4d0901151516i40d81924yd824a16c10f64d9a@mail.gmail.com">7913df4d0901151516i40d81924yd824a16c10f64d9a@mail.gmail.com</a>
Date: Thu, 15 Jan 2009 21:16:47 -0200
From: "Fabio Mascarenhas" <a href="mailto:mascarenhas@gmail.com">mascarenhas@gmail.com</a>
To: Sputnik <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
Subject: Re: [Sputnik-list] speeding up sputnik
In-Reply-To: <a href="mailto:5fe281d40901151510m60c54f3dv2e488623fd132976@mail.gmail.com">5fe281d40901151510m60c54f3dv2e488623fd132976@mail.gmail.com</a>
MIME-Version: 1.0
References: <a href="mailto:fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com">fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com</a></p>
<pre><code><777B6213-62D5-497C-B8C4-059C24C3AA42@gmail.com>
<5fe281d40901151429n12ba6a27gf62e4f2479e9c1f5@mail.gmail.com>
<E159011D-07CB-4C32-9297-02570C3EC5A9@gmail.com>
<5fe281d40901151510m60c54f3dv2e488623fd132976@mail.gmail.com>
</code></pre>
<p>X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
</code></pre>
<p>List-Archive: <a href="http://lists.luaforge.net/pipermail/sputnik-list">http://lists.luaforge.net/pipermail/sputnik-list</a>
List-Post: <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
List-Help: <a href="mailto:sputnik-list-request@lists.luaforge.net?subject=help">sputnik-list-request@lists.luaforge.net?subject=help</a>
List-Subscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
</code></pre>
<p>Content-Type: multipart/mixed; boundary="===============0817566325=="
Mime-version: 1.0
Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net</p>
<p>--===============0817566325==
Content-Type: multipart/alternative; </p>
<pre><code>boundary="----=_Part_5652_21048882.1232061407203"
</code></pre>
<p>------=<em>Part</em>5652_21048882.1232061407203
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline</p>
<p>FWIW, this is from luarocks.org, running on the cheapest slice in Slicehost,
with Xavante:</p>
<p>Requests per second: 1.91 [#/sec] (mean)
Time per request: 524.747 [ms] (mean)</p>
<p>Again, no caching whatsoever, with some node caching I believe these numbers
could be easily least 10x more. Maybe some kind of caching for wiki-nodes
(with invalidation on edits) could be implemented? I have rudimentary
caching support on Orbit (which I use on http://www.lua.inf.puc-rio.br), and
it is getting 21 req/s on a NSLU2 :-).</p>
<p>--
Fabio</p>
<p>On Thu, Jan 15, 2009 at 9:10 PM, Jim Whitehead II <a href="mailto:jnwhiteh@gmail.com">jnwhiteh@gmail.com</a>wrote:</p>
<blockquote>
<p>On Thu, Jan 15, 2009 at 11:07 PM, Petite Abeille
<a href="mailto:petite.abeille@gmail.com">petite.abeille@gmail.com</a> wrote:</p>
<blockquote>
<p>On Jan 15, 2009, at 11:29 PM, Jim Whitehead II wrote:</p>
<blockquote>
<p>There is a massive complexity difference between Nanoki and Sputnik
which
is partially shown in the above benchmarks.... The conceptual base of
Sputnik is a high feature 'node' that includes full inheritance. You
pay
with a bit of complexity for flexibility in implementation. I would
make
the statement that although Nanoki and Sputnik have both been called a
"wiki", the latter is a wiki only in how it's used in its default state.</p>
</blockquote>
<p>Fair enough... that said, my point was more related to Yuri's original
concern... high level or not, Sputnik, in its wiki incarnation or
otherwise,
can directly benefits from a couple of rather straightforward tweaking in
how it's setup in the overall HTTP food chain...</p>
</blockquote>
<p>Definitely, I just wanted to show that wowprogramming.com is also
running Sputnik but as you can see it's MUCH closer to the numbers (at
least without keepalive) that Nanoki and push out. I don't do
anything special, just use a few of the more advanced rocks based on
my server setup and architecture.</p>
<ul>
<li>Jim</li>
</ul>
<hr/>
<p>Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</p>
</blockquote>
<p>------=<em>Part</em>5652_21048882.1232061407203
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline</p>
<p>FWIW, this is from <a href="http://luarocks.org">luarocks.org</a>, running on the cheapest slice in Slicehost, with Xavante:<br><br>Requests per second: 1.91 [#/sec] (mean)<br>Time per request: 524.747 [ms] (mean)<br>
<br>Again, no caching whatsoever, with some node caching I believe these numbers could be easily least 10x more. Maybe some kind of caching for wiki-nodes (with invalidation on edits) could be implemented? I have rudimentary caching support on Orbit (which I use on <a href="http://www.lua.inf.puc-rio.br">http://www.lua.inf.puc-rio.br</a>), and it is getting 21 req/s on a NSLU2 :-).<br>
<br clear="all">--<br>Fabio<br><br><div class="gmail_quote">On Thu, Jan 15, 2009 at 9:10 PM, Jim Whitehead II <span dir="ltr"><<a href="mailto:jnwhiteh@gmail.com">jnwhiteh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, Jan 15, 2009 at 11:07 PM, Petite Abeille<br>
<div class="Ih2E3d"><<a href="mailto:petite.abeille@gmail.com">petite.abeille@gmail.com</a>> wrote:<br>
><br>
</div><div class="Ih2E3d">> On Jan 15, 2009, at 11:29 PM, Jim Whitehead II wrote:<br>
><br>
>> There is a massive complexity difference between Nanoki and Sputnik which<br>
>> is partially shown in the above benchmarks.... The conceptual base of<br>
>> Sputnik is a high feature 'node' that includes full inheritance. You pay<br>
>> with a bit of complexity for flexibility in implementation. I would make<br>
>> the statement that although Nanoki and Sputnik have both been called a<br>
>> "wiki", the latter is a wiki only in how it's used in its default state.<br>
><br>
> Fair enough... that said, my point was more related to Yuri's original<br>
> concern... high level or not, Sputnik, in its wiki incarnation or otherwise,<br>
> can directly benefits from a couple of rather straightforward tweaking in<br>
> how it's setup in the overall HTTP food chain...<br>
<br>
</div>Definitely, I just wanted to show that <a href="http://wowprogramming.com" target="_blank">wowprogramming.com</a> is also<br>
running Sputnik but as you can see it's MUCH closer to the numbers (at<br>
least without keepalive) that Nanoki and push out. I don't do<br>
anything special, just use a few of the more advanced rocks based on<br>
my server setup and architecture.<br>
<font color="#888888"><br>
- Jim<br>
</font><div><div></div><div class="Wj3C7c"><br>
<strong>__</strong><strong>__</strong><strong>__</strong><strong>__</strong><strong>__</strong><strong>__</strong><strong>__</strong><strong>_</strong><br>
Sputnik-list mailing list<br>
<a href="mailto:Sputnik-list@lists.luaforge.net">Sputnik-list@lists.luaforge.net</a><br>
<a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list" target="_blank">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a><br>
</div></div></blockquote></div><br></p>
<p>------=<em>Part</em>5652_21048882.1232061407203--</p>
<p>--===============0817566325==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline</p>
<hr/>
<p>Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</p>
<p>--===============0817566325==--</p>
<p>From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:55:50 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])</p>
<pre><code>by localhost (mpop-1.0.11) with POP3
for <yuri>; Fri, 30 Jan 2009 08:55:50 +0000
</code></pre>
<p>Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.161.20 with SMTP id j20cs1401472wfe;</p>
<pre><code> Thu, 15 Jan 2009 18:32:57 -0800 (PST)
</code></pre>
<p>Received: by 10.100.105.13 with SMTP id d13mr1676551anc.102.1232073176486;</p>
<pre><code> Thu, 15 Jan 2009 18:32:56 -0800 (PST)
</code></pre>
<p>Return-Path: <a href="mailto:sputnik-list-bounces@lists.luaforge.net">sputnik-list-bounces@lists.luaforge.net</a>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])</p>
<pre><code> by mx.google.com with ESMTP id d38si1297212and.43.2009.01.15.18.32.45;
Thu, 15 Jan 2009 18:32:55 -0800 (PST)
</code></pre>
<p>Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50)
id 1LNgL7-0003hu-Al; Fri, 16 Jan 2009 02:29:49 -0200
</code></pre>
<p>Received: from rv-out-0506.google.com ([209.85.198.238])</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50) id 1LNgL5-0003hp-AT
for sputnik-list@lists.luaforge.net; Fri, 16 Jan 2009 02:29:47 -0200
</code></pre>
<p>Received: by rv-out-0506.google.com with SMTP id k40so1391810rvb.29</p>
<pre><code>for <sputnik-list@lists.luaforge.net>;
Thu, 15 Jan 2009 18:32:32 -0800 (PST)
</code></pre>
<p>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;</p>
<pre><code>h=domainkey-signature:mime-version:sender:received:in-reply-to
:references:date:x-google-sender-auth:message-id:subject:from:to:cc
:content-type:content-transfer-encoding;
bh=3iqsuzainSHnHEArIr2I8du/TFB8xNIbpaLEWZ/RP7k=;
b=usKWZyVe0nX45lA1vz0Pql0u41HNXqBBgS2G7vWW7PKlNww0HrLxc97WCHXaeskVV9
Sq4bRg/S9fkgk0j5ffkJeue7cHiQMEivw4UcNioO0Cvz39vlmrxRtsu7yVGb1HnBrw/4
Tg918CIbFDopFc7cEfzD5iqsM2KLqIJgnN9aI=
</code></pre>
<p>DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;</p>
<pre><code>h=mime-version:sender:in-reply-to:references:date
:x-google-sender-auth:message-id:subject:from:to:cc:content-type
:content-transfer-encoding;
b=O4jdFEPmRw0UZa9siXmTv/aeaWtN2GBFQ1Dt4BWfW6jWuV9Hh/uiXKHx5r2Xp9dns5
5yE4KBRaVHvA9vzmU7Tfgbbul0y4RzQ1l91y/4ewb5O82+1pDd/oBEGhPvZIQI+YIVBX
aY7cbwk+fBOfYo2WsTG/z7Gy8L7Tv47sx4RhI=
</code></pre>
<p>MIME-Version: 1.0
Received: by 10.141.84.5 with SMTP id m5mr943817rvl.175.1232073151724; Thu, 15 </p>
<pre><code>Jan 2009 18:32:31 -0800 (PST)
</code></pre>
<p>In-Reply-To: <a href="mailto:777B6213-62D5-497C-B8C4-059C24C3AA42@gmail.com">777B6213-62D5-497C-B8C4-059C24C3AA42@gmail.com</a>
References: <a href="mailto:fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com">fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com</a></p>
<pre><code><777B6213-62D5-497C-B8C4-059C24C3AA42@gmail.com>
</code></pre>
<p>Date: Fri, 16 Jan 2009 00:32:31 -0200
X-Google-Sender-Auth: d9ad1e361c6fd625
Message-ID: <a href="mailto:fa4efbc00901151832j1ff6449em853f8b0795f8767b@mail.gmail.com">fa4efbc00901151832j1ff6449em853f8b0795f8767b@mail.gmail.com</a>
Subject: Re: [Sputnik-list] speeding up sputnik
From: Yuri Takhteyev <a href="mailto:yuri@sims.berkeley.edu">yuri@sims.berkeley.edu</a>
To: Petite Abeille <a href="mailto:petite.abeille@gmail.com">petite.abeille@gmail.com</a>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: Sputnik <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
</code></pre>
<p>List-Archive: <a href="http://lists.luaforge.net/pipermail/sputnik-list">http://lists.luaforge.net/pipermail/sputnik-list</a>
List-Post: <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
List-Help: <a href="mailto:sputnik-list-request@lists.luaforge.net?subject=help">sputnik-list-request@lists.luaforge.net?subject=help</a>
List-Subscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
</code></pre>
<p>Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net</p>
<blockquote>
<p>Not sure why the one to two difference here (0.7 vs. 2.09). Perhaps the CGI
overhead on the Sputnik side, versus plain HTTP on the Nanoki side?</p>
</blockquote>
<p>Perhaps that, or perhaps one computer is simply slower than the
other... Here is another data point: tnik.org is running identical
software on a different server, and guess what...</p>
<p>ab -n 100 http://tnik.org/
Requests per second: 3.73 [#/sec] (mean)
Time per request: 268.439 [ms] (mean)</p>
<p>That's 6 times faster than sputnik.freewisdom.org and twice as fast as
nanoki on stepx. The point being: benchmarking software running on
different servers just doesn't make much sense.</p>
<p>Not to mention that comparing CGI performance to that of a long
running process just seems silly. sputnik.freewisdom.org is running on
a server where I cannot run another long running process. Good luck
installing nanoki in this situation. :)</p>
<ul>
<li>yuri</li>
</ul>
<p>--
http://sputnik.freewisdom.org/</p>
<hr/>
<p>Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</p>
<p>From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:55:50 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])</p>
<pre><code>by localhost (mpop-1.0.11) with POP3
for <yuri>; Fri, 30 Jan 2009 08:55:50 +0000
</code></pre>
<p>Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.161.20 with SMTP id j20cs1440651wfe;</p>
<pre><code> Fri, 16 Jan 2009 11:59:57 -0800 (PST)
</code></pre>
<p>Received: by 10.100.152.2 with SMTP id z2mr2333741and.0.1232135997025;</p>
<pre><code> Fri, 16 Jan 2009 11:59:57 -0800 (PST)
</code></pre>
<p>Return-Path: <a href="mailto:sputnik-list-bounces@lists.luaforge.net">sputnik-list-bounces@lists.luaforge.net</a>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])</p>
<pre><code> by mx.google.com with ESMTP id d38si359317and.9.2009.01.16.11.59.46;
Fri, 16 Jan 2009 11:59:56 -0800 (PST)
</code></pre>
<p>Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50)
id 1LNwgK-0003Le-1t; Fri, 16 Jan 2009 19:56:48 -0200
</code></pre>
<p>Received: from fg-out-1718.google.com ([72.14.220.158])</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50) id 1LNwgH-0003LZ-Eh
for sputnik-list@lists.luaforge.net; Fri, 16 Jan 2009 19:56:45 -0200
</code></pre>
<p>Received: by fg-out-1718.google.com with SMTP id 13so865485fge.11</p>
<pre><code>for <sputnik-list@lists.luaforge.net>;
Fri, 16 Jan 2009 11:59:28 -0800 (PST)
</code></pre>
<p>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;</p>
<pre><code>h=domainkey-signature:received:received:message-id:from:to
:in-reply-to:content-type:content-transfer-encoding:mime-version
:subject:date:references:x-mailer;
bh=oYlpc4bFmGf5cH6h9q64dQutSuDJ1IOA8uxQDnXYBXc=;
b=ig69ZdybP20K4tYrb5kk+Wc73YIKY+LtAhNYjf0+H4/J3EghK1dBqfD/PKRYAqiwn8
b+ATXhqLgLYwiSiSKPI0g19NoWsIC8RTX1HcLsd9IV15EHx/TEj9wGTonUvXN02758Yq
AChr2AEASufYES1pRrVbB13c75UU9Xwwi1GLY=
</code></pre>
<p>DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;</p>
<pre><code>h=message-id:from:to:in-reply-to:content-type
:content-transfer-encoding:mime-version:subject:date:references
:x-mailer;
b=bE+dBjo70dalXfnO6tPkKbEp5RIwLe96y2z1FXLtDDrtW2FV1IJcE8JB1vlKg/BjFH
Z8EtwOjlwucAFGZtDx59O65sXYAEKJjiIN3uT15CP4cnfNs/7C4d1Nf+/jHvWzhGdzfw
sG3wPSBoqIFA8Lsvf6R9G5AMiy6l92yV+Hfkg=
</code></pre>
<p>Received: by 10.86.61.13 with SMTP id j13mr2224287fga.23.1232135968732;</p>
<pre><code>Fri, 16 Jan 2009 11:59:28 -0800 (PST)
</code></pre>
<p>Received: from ?192.168.1.4? (adsl-84-226-47-43.adslplus.ch [84.226.47.43])</p>
<pre><code>by mx.google.com with ESMTPS id d6sm2702185fga.50.2009.01.16.11.59.26
(version=TLSv1/SSLv3 cipher=RC4-MD5);
Fri, 16 Jan 2009 11:59:27 -0800 (PST)
</code></pre>
<p>Message-Id: <a href="mailto:713DAC8E-5C05-4E14-8E75-F24012A99993@gmail.com">713DAC8E-5C05-4E14-8E75-F24012A99993@gmail.com</a>
From: Petite Abeille <a href="mailto:petite.abeille@gmail.com">petite.abeille@gmail.com</a>
To: Sputnik <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
In-Reply-To: <a href="mailto:fa4efbc00901151832j1ff6449em853f8b0795f8767b@mail.gmail.com">fa4efbc00901151832j1ff6449em853f8b0795f8767b@mail.gmail.com</a>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v930.3)
Subject: Re: [Sputnik-list] speeding up sputnik
Date: Fri, 16 Jan 2009 20:59:25 +0100
References: <a href="mailto:fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com">fa4efbc00901110908k5f5fa3ebw46142dbe2cc7bc43@mail.gmail.com</a></p>
<pre><code><777B6213-62D5-497C-B8C4-059C24C3AA42@gmail.com>
<fa4efbc00901151832j1ff6449em853f8b0795f8767b@mail.gmail.com>
</code></pre>
<p>X-Mailer: Apple Mail (2.930.3)
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
</code></pre>
<p>List-Archive: <a href="http://lists.luaforge.net/pipermail/sputnik-list">http://lists.luaforge.net/pipermail/sputnik-list</a>
List-Post: <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
List-Help: <a href="mailto:sputnik-list-request@lists.luaforge.net?subject=help">sputnik-list-request@lists.luaforge.net?subject=help</a>
List-Subscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
</code></pre>
<p>Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net</p>
<p>On Jan 16, 2009, at 3:32 AM, Yuri Takhteyev wrote:</p>
<blockquote>
<p> is running on a server where I cannot run another long running <br/>
process. Good luck installing nanoki in this situation. :)</p>
</blockquote>
<p>Nanoki can run as a short lived process as well.</p>
<p>For example, using a tcp wrapper such as DJB's tcpserver[1] or <br/>
similar, Nanoki can be executed as a short lived script to handle one <br/>
incoming TCP connection:</p>
<p>% tcpserver 127.0.0.1 1080 lua Nanoki.lua .</p>
<p>Cheers,</p>
<p>--
PA.
http://alt.textdrive.com/nanoki/</p>
<p>[1] http://cr.yp.to/ucspi-tcp/tcpserver.html</p>
<hr/>
<p>Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</p>