[Simple-support] Fwd: Support for EXI encoding? (Efficient XML Interchange)?
Brought to you by:
niallg
|
From: Niall G. <ni...@np...> - 2013-10-29 14:52:32
|
BTW coincidentally my name is also Niall Gallagher :) But I'm not the Niall Gallagher author of Simple, I'm a different Niall Gallagher! But I have questions about Simple. This could be confusing! ---------- Forwarded message ---------- From: Niall Gallagher <ni...@np...> Date: 29 October 2013 14:39 Subject: Support for EXI encoding? (Efficient XML Interchange)? To: sim...@li... Hi, Has anyone tried Simple with EXI (Efficient XML Interchange)? EXI is a W3C standard<http://en.wikipedia.org/wiki/Efficient_XML_Interchange>for encoding XML documents in a binary format instead of plaintext. It integrates into standard XML stacks and provides the same APIs to applications (SAX, StAX etc). As part of the standardization process, the W3C ran benchmarks on EXI in 2009 here<http://www.w3.org/TR/exi-evaluation/>, their findings were compelling. It was standardized in 2011, and there are now a few open source libraries to parse/write it via standard XML interfaces. In our internal tests, we also found EXI compelling - it blew JSON out of the water in compactness and CPU efficiency, and was competitive with Google Protocol Buffers (in compactness, but not efficiency). We are interested in serving EXI instead of plaintext XML to Android handsets where it might be more battery-friendly and reduce bandwidth requirements. Just putting the feelers out at this stage - has anyone tried this with Simple? Any gotchas? Many thanks, Niall |