From: Mark Williamson Subject: Re: changeset 1.1403 breaks previous xm behaviour Date: Mon, 16 May 2005 14:31:42 +0100 Message-ID: <200505161431.42726.mark.williamson@cl.cam.ac.uk> References: <9cde8bff0505151931efcd66@mail.gmail.com> <42889D0A.7080008@aktzero.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <42889D0A.7080008@aktzero.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Andrew Thompson , Steven Hand List-Id: xen-devel@lists.xenproject.org > Is twisted *evil*? > > I thought I read something about wanting to get away from it, but is > there a particular reason? Xend has to deal with *loads* of different kinds of events (admin socket connections, console data demux, device control messages...). Twisted gives us an infrastructure for dealing with these in a non-threaded way. It also gives some nifty things like an HTTP server, etc... The new approach is to use language-level threads instead. This makes certain things easier to follow, since you can have a thread for each logical stream of events. Twisted has some nice features but we won't really need it once we move to the threaded model. It's a shame to lose the HTTP server but the new Xend will include a minimal HTTP server in Python, which will be fine for our needs. Cheers, Mark