[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [RFC] Xend XML-RPC Refactoring

Anthony Liguori wrote:

I wanted to give the list a heads up about something a number of us discussed at the recent XenSummit.

We would like to simplify Xend by utilizing more of the standard Python library and relying on less of our own code. The most obvious thing here is the current S-Expression/HTTP RPC interface. We would like to replace this with XML-RPC using Python's builtin support (xmlrpclib and SimpleXMLRPCServer).

I've got some initial code and more details on the wiki (http://wiki.xensource.com/xenwiki/Xend/XML-RPC). Early estimates are that this would reduce the code in Xend by about 33% (5k slocs). We would also like to standardize this XML-RPC interface so that third-parties write apps to this interface without worrying about massive breakage.

I think moving from s-exp's to XML is a bad move. If you want, use your s-expression library from LANL; it's used worldwide, and has done the job for a lot of projects.

I know of at least one project that moved from XML to s-exp's, using our library, because XML is just plain unwieldy.



Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.