[Twisted-web] [PATCH] nonbuffered cache

Valentino Volonghi aka Dialtone dialtone at divmod.com
Thu Jan 12 09:06:12 MST 2006


On Thu, Jan 12, 2006 at 02:24:31PM +0100, Andrea Arcangeli wrote:
> Hello,

Cool, the patch looks good. I'm going to apply it as soon as there are
unittests. Some ideas for unittests is to have a counter on the page and check
that it never updates while the pages are cached and similar things.

There's also my cache module that needs unittests, if you feel like writing a
'general' test for caching frameworks then I would apply my own caching module
that is currently here:
http://divmod.org/trac/ticket/291

I suggest also adding a ticket to trac for your patch.

After this I'll apply the patch indeed and happily.
> Server Software:        TwistedWeb/SVN-Trunk
> Server Hostname:        localhost
> Server Port:            8818
> 
> Document Path:          /
> Document Length:        166396 bytes
> 
> Concurrency Level:      200
> Time taken for tests:   7.210944 seconds
> Complete requests:      2000
> Failed requests:        0
> Write errors:           0
> Total transferred:      335883918 bytes
> HTML transferred:       335625492 bytes
> Requests per second:    277.36 [#/sec] (mean)
> Time per request:       721.094 [ms] (mean)
> Time per request:       3.605 [ms] (mean, across all concurrent
> requests)
> Transfer rate:          45487.94 [Kbytes/sec] received

Impressive.

-- 
Valentino Volonghi aka Dialtone
Now Running MacOSX 10.4
Blog: http://vvolonghi.blogspot.com
http://weever.berlios.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-web/attachments/20060112/d0731e8c/attachment.pgp


More information about the Twisted-web mailing list