ABSTRACT
How should Erlang talk to the outside world? --- this question becomes interesting if we want to build distributed applications where Erlang is one of a number of communicating components.We assume these components interact by exchanging messages --- at this level of abstraction, details of programming language, operating system and host architecture are irrelevant. What is important is the ease with which we can construct such systems, and the precision with which we can isolate faulty components in such a system. Also of importance is the efficiency (both in terms of CPU and bandwidth requirements) with which we can send and receive messages in the system.One widely adopted solution to this problem involves the XML family of standards (XML, XML-schemas, SOAP and WSDL) --- we argue that this is inefficient and overly complex and propose basing our system on a simpler binary scheme called UBF (Universal Binary Format). The UBF scheme has the expressive power of the XML set of standards --- but is considerably simpler.UBF has been prototyped in Erlang --- the entire scheme (equivalent in semantic power to the XML series of standards) was implemented in a mere 1100 lines of Erlang. UBF encoding of terms is also shown to be more space efficient than the existing "Erlang term format". For example, UBF encoded parse trees of Erlang programs are on average about 60% of the size of the equivalent ETS format encoding which is used in the open source Erlang distribution.
- J. L. Armstrong. Ubf --- home page, 2002.]]Google Scholar
- J. L. Armstrong and T. Arts. A practical type system for erlang --- erlang user conferense, 2002.]]Google Scholar
- T. Bray, J. Paoli, C. M. Sperberg-McQueen, and E. M. (Eds). Extensible markup language (xml) 1.0 (second edition), october 2000, http://www.w3.org/tr/2000/rec-xml-20001006, 2000.]]Google Scholar
- E. Christensen, F. Curbera, G. Meredith, and S. Weerawarana. Web services description language (wsdl) 1.1, march 2001, http://www.w3.org/tr/2001/note-wsdl-20010315/, 2001.]]Google Scholar
- D. Connolly, B. Bos, Y. Koike, and M. Holstege. http://www.w3.org/2000/04/schema_hack/, 2000.]]Google Scholar
- D. C. F. (Ed). Xml schema part 0: Primer, may 2002. http://www.w3.org/tr/2001/rec-xmlschema-0-20010502/, 2002.]]Google Scholar
- M. Gudgin, M. Hadley, J.-J. Moreau, and H. F. Nielsen. Soap version 1.2 part 1: Messaging framework, december 2001, http://www.w3.org/tr/2001/wd-soap12-part1-20011217, 2001.]]Google Scholar
- M. Gudgin, M. Hadley, J.-J. Moreau, and H. F. Nielsen. Soap version 1.2 part 2: Adjuncts, december 2001, http://www.w3.org/tr/2001/wd-soap12-part2-20011217., 2001.]]Google Scholar
- ISO/IEC. Osi networking and system aspects --- abstract syntax notation one (asn.1). ITU-T Rec. X.680 --- ISO/IEC 8824-11, ISO/IEC, 1997.]]Google Scholar
- D. R. J. Oikarinen. RFC 1459: Internet relay chat protocol, May 1993.]] Google Scholar
Digital Library
- B. Martin and B. J. (Eds). Wap binary xml content format, june 1999, http://www.w3.org/tr/wbxml, 1999.]]Google Scholar
- E. Nilo Mitra. Soap version 1.2 part 0: Primer, december 2001, http://www.w3.org/tr/2001/wdsoap12-part0-20011217, 2001.]]Google Scholar
- OMG. Common Object Request Broker Architecture (CORBA)---v2.6.1 Manual. The Object Management Group, Needham, U.S.A, 2002.]]Google Scholar
- R. Srinivasan. RFC 1832: XDR: External data representation standard, Aug. 1995.]] Google Scholar
Digital Library
- H. S. Thompson, D. Beech, M. Maloney, and N. M. (Eds). Xml schema part 1: Structures. w3c recommendation, may 2001. http://www.w3.org/tr/2001/rec-xmlschema-1-20010502/, 2001.]]Google Scholar
Index Terms
- Getting Erlang to talk to the outside world
Recommendations
Closed world data exchange
Data exchange deals with translating data structured in some source format into data structured in some target format, given a specification of the relationship between the source and the target and possibly constraints on the target; and answering ...
Ticket to Talk: Supporting Conversation between Young People and People with Dementia through Digital Media
CHI '18: Proceedings of the 2018 CHI Conference on Human Factors in Computing SystemsWe explore the role of digital media in supporting intergenerational interactions between people with dementia and young people. Though meaningful social interaction is integral to quality of life in dementia, initiating conversation with a person with ...
XPath satisfiability with downward and sibling axes is tractable under most of real-world DTDs
WIDM '12: Proceedings of the twelfth international workshop on Web information and data managementThis paper aims at finding a subclass of DTDs that covers real-world DTDs but still has non-trivial tractability for XPath satisfiability problem. Known subclasses of DTDs, such as duplicate-free DTDs proposed by Montazerian et al. and disjunction-...





Comments