From: Anthony Liguori <aliguori@us.ibm.com>
To: Ronald G Minnich <rminnich@lanl.gov>
Cc: Matt Sottile <matt@lanl.gov>, xen-devel <xen-devel@lists.xensource.com>
Subject: Re: a last comment on xml-rpc
Date: Fri, 10 Feb 2006 17:38:31 -0600 [thread overview]
Message-ID: <43ED23F7.7040300@us.ibm.com> (raw)
In-Reply-To: <43ED1615.7030209@lanl.gov>
Ronald G Minnich wrote:
> I think Xen made the right decision, in the beginning, to use s-exprs.
> We have heard from any number of places that learned the hard way that
> XML is a really poor foundation for RPC.
>
> I hope you will reconsider going to XML-RPC. I don't think the
> existence of python support is sufficient. The whole point of RPC, in
> fact, is to let any client talk to any server, without regard to
> language or environment. We know in practice that trivial C programs
> can use s-expression based RPC; we've seen how awful the XML parsers
> in C can be; do you really want to lock C out of this picture?
I don't think that's fair at all. I've written the C code to interface
with Xend using S-Expression/HTTP and it's painful (see libvirt).
I've also written an XML-RPC interface to Xend in C using libxml2. It
very little code and just works. Granted, parsing XML is more painful
that parsing S-Expressions but there are so many libraries for so many
languages that XML parsing is really a nop.
I don't see any point in rolling out our own RPC mechanism when a
standard one exists that is well supported in most languages. There is
also a C library that provides support for XML-RPC (libxmlrpc_c) so
interfacing with Xend using C would require no additional code on the
client side. All the major high level languages I know of have XML-RPC
support as part of the standard library.
We're talking about a pretty significant reduction in code in Xend too
by moving to XML-RPC. If Python supported a different RPC mechanism I
would support moving to that simply to reduce the complexity of Xend.
Regards,
Anthony Liguori
> thanks
>
> ron
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
next prev parent reply other threads:[~2006-02-10 23:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-10 22:39 a last comment on xml-rpc Ronald G Minnich
2006-02-10 23:38 ` Anthony Liguori [this message]
2006-02-10 23:40 ` Ronald G Minnich
2006-02-10 23:52 ` Matt Sottile
2006-02-10 23:49 ` Ronald G Minnich
2006-02-11 8:21 ` Daniel Veillard
2006-02-11 15:20 ` Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43ED23F7.7040300@us.ibm.com \
--to=aliguori@us.ibm.com \
--cc=matt@lanl.gov \
--cc=rminnich@lanl.gov \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.