On 11/05/2012 04:12 PM, Peter Inglesby wrote:
> Tomorrow I'm giving a talk to provide an introduction to asynchronous 
> programming.  I'll be mentioning Twisted in passing, but the meat of 
> the talk will be about writing a web crawler for finding broken links, 
> first using single-threaded blocking code, then multi-threaded 
> blocking code, before demonstrating a non-blocking solution using a 
> select loop.  I can make the code and slides available if there's 
> interest.
>
> For this to be effective, I was planning on writing a very slow 
> webserver to serve static content locally.  I'd expected I'd be able 
> to simply wrap an instance of twisted.web.static.Site in a 
> ThrottlingFactory, and serve away:
>
There's also twisted.protocols.htb, although again it's old and possibly 
buggy and may not work. For demo purposes something like 
https://github.com/rflynn/dragnet might do.

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to