Efficient XML Interchange High Performance XML Don McGregor (mcgredo (at) nps.edu) Don Brutzman (brutzman (at) nps.edu)

Slides:



Advertisements
Similar presentations
Efficient XML Interchange What is it? Why is it? How does it fit in?
Advertisements

XMPP Tactical Chat Don McGregor (mcgredo at nps.edu)
Principles of Information Systems, Sixth Edition The Internet, Intranets, and Extranets Chapter 7.
Open-DIS Open Source Distributed Interactive Simulation Don McGregor (mcgredo at nps dot edu) Don Brutzman (brutzman at nps dot edu) John Grant (johnkonradgrant.
Open-DIS and XML DIS in Other Formats. Distributed Interactive Simulation DIS is an IEEE standard for simulations, primarily virtual worlds Binary protocol:
Interactive Systems Technical Design Seminar work: Web Services Janne Ojanaho.
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
Interprocess Communications
J2ME Web Services Specification.  With the promise to ease interoperability and allow for large scale software collaboration over the Internet by offering.
New Data Interchange Format? Concerns of Commercial Software Providers Jeff Kuznia Compumedics.
System Integration (Cont.) Week 7 – Lecture 2. Approaches Information transfer –Interface –Database replication –Data federation Business process integration.
SM3121 Software Technology Mark Green School of Creative Media.
XML Introduction By Hongming Yu Feb 6 th, Index Markup Language: SGML, HTML, XML An XML example Why is XML important XML introduction XML applications.
Client-server interactions in Mobile Applications.
Efficient XML Interchange. XML Why is XML good? A widely accepted standard for data representation Fairly simple format Flexible It’s not used by everyone,
COMPUTER TERMS PART 1. COOKIE A cookie is a small amount of data generated by a website and saved by your web browser. Its purpose is to remember information.
Learning Resource iNterchange
By Justin Thompson. What is SOAP? Originally stood for Simple Object Access Protocol Created by vendors from Microsoft, Lotus, IBM, and others Protocol.
By: Shawn Li. OUTLINE XML Definition HTML vs. XML Advantage of XML Facts Utilization SAX Definition DOM Definition History Comparison between SAX and.
Optimized Communication For Mobile Multimedia Collaboration Applications Sangyoon Oh Community Grids Laboratory Indiana University
Digital Sound and Video Chapter 10, Exploring the Digital Domain.
Web Services Mohamed Fahmy Dr. Sherif Aly Hussein.
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
Object and component “wiring” standards This presentation reviews the features of software component wiring and the emerging world of XML-based standards.
Worshipping at the Shrine: Myths and Legends from comp.text.xml Kerry “the heretic” Raymond, CiTR.
MAKING BIG FILES SMALL AND SMALL FILES TINY LT Bruce Hill 1.
Zhonghua Qu and Ovidiu Daescu December 24, 2009 University of Texas at Dallas.
Implementation of a Stored Program Computer ITCS 3181 Logic and Computer Systems 2014 B. Wilkinson Slides2.ppt Modification date: Oct 16,
Open-DIS Open Source Distributed Interactive Simulation Protocol in C++ and Java Don McGregor (mcgredo nps.edu)
Extensible Markup Language (XML) Extensible Markup Language (XML) is a simple, very flexible text format derived from SGML (ISO 8879).ISO 8879 XML is a.
XML Data Storage Joe Carroll Russell Gibbons. Agenda What is XML Storage of XML Benefits of XML Databases Problems with XML Databases Discussion.
XML 101 Holly Hyland Session Objectives –XML Basics –Building Standards History Current State Future Vision.
XFSP : Cross Format Schema Protocol Flexible Networking via XML-Defined Packet Payloads Ltjg. Ekrem Serin TU Navy.
EXI Comparisions. EXI Emerging W3C standard, now in “final call” status on the standards track Provides a more efficient, alternate.
OpenXML: What is it?  XML-based file format which describes documents, presentations, spreadsheets, etc.  Replacement for binary file formats used in.
INTERNET. Objectives Explain the origin of the Internet and describe how the Internet works. Explain the difference between the World Wide Web and the.
XML Engr. Faisal ur Rehman CE-105T Spring Definition XML-EXTENSIBLE MARKUP LANGUAGE: provides a format for describing data. Facilitates the Precise.
CE Operating Systems Lecture 13 Linux/Unix interprocess communication.
XML and Its Applications Ben Y. Zhao, CS294-7 Spring 1999.
Principles of Information Systems, Sixth Edition 1 The Internet, Intranets, and Extranets Chapter 7.
Web Services Sara Yoder, Casey McLaughlin, Alex Scott, Matt Dunbar.
XML eXtensible Markup Language. XML A method of defining a format for exchanging documents and data. –Allows one to define a dialect of XML –A library.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
CS1001 Lecture 7. Overview Computer Networks Computer Networks The Internet The Internet Internet Services Internet Services Markup Languages Markup Languages.
Internet Overview (Chapter 1 in [2]). 2 Outline History of the Internet History of the Internet Seven Layers of the OSI Model Seven Layers of the OSI.
1/30/20161 Introduction to Web Services Bina Ramamurthy
©2001 Priority Technologies, Inc. All Rights Reserved Meteor Status Miami Face to Face Meeting January 16 – 18, 2002.
Lesson 5 MULTIMEDIA. Multimedia on the Web has expanded rapidly as broadband connections have allowed users to connect at faster speeds. Almost all Web.
Web Design New Brighton High School Exploring the History of the World Wide WebWorld Wide Web.
Program Reduction Focusing on Compaction Benjamin J. Fruchter MS CS Candidate March
XML Extensible Markup Language
Distributed Computing, M. L. Liu 1 Interprocess Communications Mei-Ling L. Liu.
Challenges in XML It’s good… but is it good enough? Siddhesh Bhobe Persistent eBusiness Solutions.
PRESENTATION ON SURVEY OF RESEARCH Research Topic ( MIGRATION OF WEB SERVICE TO MOBILE AND WIRELESS APPLICATION ‘S) GUIDED BY: PRESENTED BY: MISS. UMA.
Efficient XML Aaron Braeckel Briefing to FAA Program Management 28 Dec 2008 National Center for Atmospheric Research Boulder, CO Copyright ©
By Jeremy Burdette & Daniel Gottlieb. It is an architecture It is not a technology May not fit all businesses “Service” doesn’t mean Web Service It is.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.3 Data Storage and Compression.
The Client-Server Model
WEB SERVICES.
Unit – 5 JAVA Web Services
CS1001 Lecture 8.
File Transfer and access
Introduction to Web Services and SOA
Media365 Portal by Ctrl365 is Powered by Azure and Enables Easy and Seamless Dissemination of Video for Enhanced B2C and B2B Communication MICROSOFT AZURE.
XML Problems and Solutions
Using NFFI Web Services on the tactical level: An evaluation of compression techniques 13th ICCRTS: C2 for Complex Endeavors Frank T. Johnsen.
Presents: Rally To Java Conversion Suite
Introduction to Web Services and SOA
Presentation transcript:

Efficient XML Interchange High Performance XML Don McGregor (mcgredo (at) nps.edu) Don Brutzman (brutzman (at) nps.edu)

W3C EXI Working Group Chartered by the World Wide Web Consortium Tasked to Develop a specification for an encoding format that allows efficient interchange of the XML Information Set, and Illustrate effective processor implementations of that encoding

XML Virtues XML has become the default format for the storage and interchange of information It has many virtues: simple, human readable, flexible, and a huge array of tools to support transformation, storage, reading, indexing, etc. Like any standard, it becomes more valuable as more things use it. This dynamic has driven its use to places not previously considered XML domains

Newer XML Applications Network protocols High speed web services Low power devices (cell phones, sensor networks, etc) Archiving large data sets DoD tactical messaging systems

XML Vices XML is also Verbose & bandwidth intensive Text-based; converting to binary is expensive (databinding) Parsers can consume significant power; batteries are not on the same improvement curve as CPUs

XML Vices: Bandwidth Text takes bandwidth Tags ( ) are a significant portion of the overall document size Gzip of XML documents is not always enough; we can get better compactness, and there are interactions with other issues Size is a major issue in tactical links

XML Vices: Databinding Databinding ties text XML to (usually) programming language objects Needs to be tied to something like a Java object public class Point { float x, y, z; } This involves parsing the text, converting to binary, and stuffing it into the object It’s a lot more efficient to simply send binary (though you need to be careful about endian issues)

XML Vices: Power Consumption XML is migrating to phones, sensor networks, etc. Batteries are on a slow improvement curve; a full XML parser can be somewhat expensive in terms of power. Doing gzip to get compactness adds to the power budget

Efficient XML This has led the W3C to create an Efficient XML Interchange (EXI) working group to agree on a standard, rather than continue to use multiple incompatible formats EXI is an alternative representation of XML that is more compact, faster to parse, consumes less power, and has better data binding characteristics It accomplishes this by giving up the text-based, human-readable representation in favor of a binary format It’s still XML--just a different representation of the same information

EXI Replace text tags (,, etc) with a shorter binary representation For schemas-described documents, we can use the information to handle numeric fields as binary values The resulting document compresses better than the original text document Better data binding than classic XML or gzipped XML. If you run the EXI through gzip, you’ll also get a smaller file than the original gzip’d XML Lower power consumption to parse

EXI Status Public working draft of specification published; probably go to “final call” in early Final call is the point at which it receives most of the outside scrutiny One commercial implementation (subject to specification changes) Open source Java implementation being worked on by Sun, Fujitsu, Siemens, NPS Lower power J2ME implementation is possible down the road

EXI DoD should adopt a standard, not a product. EXI is just another format for XML. If you want to go back to XML, or even go to another binary XML standard, simply convert back to XML XML Infoset Text XML Format EXI Format

Applications:Messaging Military messaging: conventional XML is 10-20X larger than existing binary message formats Bandwidth is limited and heavily in demand for other applications Bespoke message formats are brittle and not easily handled by other applications EXI can be ~10-30% larger than custom binary formats (depending on application)

Applications: Low Power Cell phone/PDA integration with military formats

Applications: Chat Chat/IM is playing a bigger role in the military XMPP is an XML based chat application adopted as a standard by DoD Chat messages are XML based, but go over military TCP/IP channels, which have limited bandwidth Should be possible to replace the existing XML streams with EXI streams

Applications: X3D X3D is an XML-based standard for 3d scenegraphs File sizes can get large; there’s a lot of information to represent in a 3D scene We may need to transfer this across networks (as in X3D-Earth)

EXI The benefits of XML: easily transcoded to conventional XML format, access to the vast XML toolset Alleviates some of XML’s problems by giving up human-readable text We gain compactness, databinding, fast parsing speed, and low power