Welcome!

Agile Computing Authors: Carmen Gonzalez, Zakia Bouachraoui, Pat Romanski, Elizabeth White, William Schmarzo

Related Topics: Agile Computing, Cognitive Computing

Agile Computing: Blog Feed Post

Facepalm: Google Wave Choice of XMPP Not the Death of HTTP

Google didn’t kill HTTP. Neither did Colonel Mustard or Professor Plum. In fact, HTTP is still very much alive

Okay, folks, it’s time to stop declaring the death of protocols/technologies prematurely. Please? Especially when such proclamations are clearly not representative of reality.

From ElasticVapor :: Life in the Cloud
In Google's announcement what I found most fascinating was the protocol they choose for the basis of their new realtime vision. It wasn't
HTTP but instead XMPP was selected as the foundation for this decentralized and interoperable vision. What this means in very simple terms is Google has declared the HTTP protocol is dead, an inefficient relic of the past. A protocol that was never designed with the requirements for the reality of a global realtime cloud. [emphasis added]

Not-again-picardIf you dig into the Google WAVE Embed API code far enough, you’ll get to a core RPC/gadget library that clearly indicates the API is still taking advantage of HTTP. It’s using XMLHttpRequest as expected and handles all the ugliness of setting up and handling the calls. Following is some code from the init function, but there are plenty of other places where HTTP requests are made and callbacks subsequently called, indicating Google is making full use of HTTP as a transport protocol for XMPP in order, one assumes, to support the browser as a client. The fact that Google offers an “Embed API” for browsers and touts the ease with which waves can be integrated into web sites and pages indicates broad support for HTTP without digging into the code, but it’s always nice to dig in and verify that something new and exciting isn’t happening “under the covers.”

function init(configuration){config=configuration
["core.io"]||{} var httpMethod=params.METHOD||"GET"; if(params.AUTHORIZATION&¶ms.AUTHORIZATION!
=="NONE"){auth=params.AUTHORIZATION.toLowerCase(); st=shindig.auth.getSecurityToken() }else{if(httpMethod===
"GET"&&refreshInterval===undefined){refreshInterval=3600

Code snippets have been extracted to show use of HTTP and is not the full code. My apologies for the formatting, but that’s the way it came out of the source file. And if you’re a stickler for meaningful variable names, do not go digging around in this one because it will make your head explode. Really. 

duh_canGiven Google’s extensive support for gadgets/widgets/whatever intended for use within websites then it only makes sense that they’d still be using HTTP because XMPP, while a great protocol, isn’t natively supported by any browser at this time. So Google has to have some way to ensure that browsers – the primary mechanism for communicating with services over the Internet today – could take advantage of its latest and greatest.

Google has obviously chosen XMPP for its application layer data exchange because it’s open, extensible, or maybe that’s just where the dart  landed when they discussed their options. But let’s face facts: HTTP is the de facto application layer transport protocol of the Internet and it’s highly unlikely that a company that’s built its fortunes upon that fact is suddenly going to turn around and abandon it. HTTP is the only almost-surefire method of traversing firewalls in any kind of bi-directional communication exchange between clients and servers, and routinely carries on its back any number of “layer 7+” protocols such as SOAP, JSON, and XML.

While XMPP can – and is – implemented directly atop TCP (and is in fact designed to be so) it often makes use of  HTTP for many of its core XML dependencies, such as the definition of namespaces and relevant schemas.

The browser is not going away and, in fact, seems to be gaining more and more support as the de facto client platform of the Internet and, by extension, “the cloud.” It is highly unlikely, then, that any provider of software – cloud or not – would even attempt to kill HTTP in favor of some other transport layer protocol.

The chance that Google, whose fame and fortune has been made piggybacked on HTTP and its use, would knowingly and willingly kill HTTP in its choices is even more unlikely.

Follow me on Twitter View Lori's profile on SlideShare friendfeedicon_facebook AddThis Feed Button Bookmark and Share

Related blogs & articles:

Read the original blog entry...

More Stories By Lori MacVittie

Lori MacVittie is responsible for education and evangelism of application services available across F5’s entire product suite. Her role includes authorship of technical materials and participation in a number of community-based forums and industry standards organizations, among other efforts. MacVittie has extensive programming experience as an application architect, as well as network and systems development and administration expertise. Prior to joining F5, MacVittie was an award-winning Senior Technology Editor at Network Computing Magazine, where she conducted product research and evaluation focused on integration with application and network architectures, and authored articles on a variety of topics aimed at IT professionals. Her most recent area of focus included SOA-related products and architectures. She holds a B.S. in Information and Computing Science from the University of Wisconsin at Green Bay, and an M.S. in Computer Science from Nova Southeastern University.

IoT & Smart Cities Stories
Every organization is facing their own Digital Transformation as they attempt to stay ahead of the competition, or worse, just keep up. Each new opportunity, whether embracing machine learning, IoT, or a cloud migration, seems to bring new development, deployment, and management models. The results are more diverse and federated computing models than any time in our history.
At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with expanded DevOpsSUMMIT and FinTechEXPO programs within the DXWorldEXPO agenda. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of business. Only 12% still survive. Similar percentages are found throug...
At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with expanded DevOpsSUMMIT and FinTechEXPO programs within the DXWorldEXPO agenda. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of business. Only 12% still survive. Similar percentages are found throug...
Dion Hinchcliffe is an internationally recognized digital expert, bestselling book author, frequent keynote speaker, analyst, futurist, and transformation expert based in Washington, DC. He is currently Chief Strategy Officer at the industry-leading digital strategy and online community solutions firm, 7Summits.
Digital Transformation is much more than a buzzword. The radical shift to digital mechanisms for almost every process is evident across all industries and verticals. This is often especially true in financial services, where the legacy environment is many times unable to keep up with the rapidly shifting demands of the consumer. The constant pressure to provide complete, omnichannel delivery of customer-facing solutions to meet both regulatory and customer demands is putting enormous pressure on...
IoT is rapidly becoming mainstream as more and more investments are made into the platforms and technology. As this movement continues to expand and gain momentum it creates a massive wall of noise that can be difficult to sift through. Unfortunately, this inevitably makes IoT less approachable for people to get started with and can hamper efforts to integrate this key technology into your own portfolio. There are so many connected products already in place today with many hundreds more on the h...
The standardization of container runtimes and images has sparked the creation of an almost overwhelming number of new open source projects that build on and otherwise work with these specifications. Of course, there's Kubernetes, which orchestrates and manages collections of containers. It was one of the first and best-known examples of projects that make containers truly useful for production use. However, more recently, the container ecosystem has truly exploded. A service mesh like Istio addr...
Digital Transformation: Preparing Cloud & IoT Security for the Age of Artificial Intelligence. As automation and artificial intelligence (AI) power solution development and delivery, many businesses need to build backend cloud capabilities. Well-poised organizations, marketing smart devices with AI and BlockChain capabilities prepare to refine compliance and regulatory capabilities in 2018. Volumes of health, financial, technical and privacy data, along with tightening compliance requirements by...
Charles Araujo is an industry analyst, internationally recognized authority on the Digital Enterprise and author of The Quantum Age of IT: Why Everything You Know About IT is About to Change. As Principal Analyst with Intellyx, he writes, speaks and advises organizations on how to navigate through this time of disruption. He is also the founder of The Institute for Digital Transformation and a sought after keynote speaker. He has been a regular contributor to both InformationWeek and CIO Insight...
Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...