Skip to main content

Push technology on the Internet

All web applications are pull-based in nature, in effect meaning that the client (your browser) can request more data from a server, the server cannot send data voluntarily to the client. 

Thus while a client can ask the server for the body of a known email, the server is unable to inform the client of any newly arrived emails unless the client specifically asks. 

Hence, for data that may change without interaction from the current user (eg prices, bids, chat, email) the client must poll the server to discover any changes to the data set. Currently, this is how most of the web applications work.

Comet
Comet is a Ajax based technology which overcomes the push-limitation of the web by using the ability of a server to hold poll requests until either a timeout or an event occurs, so that the server can send a response at any time to communicate an event to the client.

A very nice layman intro to Ajax-Push or Comet technology can be found here.

For more info:
Jabber
One technology which rivals Comet is the XMPP protocol aka Jabber - the popular IM service enabler. Extensible Messaging and Presence Protocol (XMPP) is an open, XML-inspired protocol originally aimed at near-real-time instant messaging (IM) applications.
But this was recently expanded into the broader realm of message oriented middleware - like RSS readers, Twitter (or Jaiku) or VoIP. Technically speaking, XMPP is a technology for streaming Extensible Markup Language (XML) elements in order to exchange structured information in close to real time between any two network-aware entities.

How it works
XMPP lets one party signal to any XMPP server that it is available to receive any new information that's being delivered. When any other party sends new content through the XMPP server, the message is passed on immediately and automatically to all recipients who are marked as available.
For more info:
.

Comments

Popular posts from this blog

How will travel industry transform post-Covid

Unlike philosophers, journalists and teenagers, the world of entrepreneurship does not permit the luxury of gazing into a crystal ball to predict the future. An entrepreneur’s world is instead made of MVPs (Minimum Viable Product), A/B Tests, launching products, features or services and gauging / measuring their reception in the market to arrive at verifiable truths which can drive the business forward. Which is why I have never written about my musings or hypothesis about travel industry – we usually either seek customer feedback or launch an MVPised version and gather market feedback. However, with Covid-19 travel bans across the globe, the industry is currently stuck – while a lot of industry reports and journalistic conjectures are out, there’s no definitive answer to the way forward. Besides there is no way to test your hypothesis since even the traveller does not know what they will do when skies open. So, I decided to don my blogger hat and take the luxury of crystal gazing...

A Guide to Privacy on Social Media [apps]

The recent announcement by WhatsApp to update its privacy terms - and 'accept or leave the app' stance - led to an exodus of users from Whastapp to competing, privacy-conscious apps such as Telegram or Signal. A week after the exodus began, Whatsapp clarified its stance - and WhatsApp's CEO went about providing a long Twitter clarification . And then, many returned, many who considered moving stayed put on Whatsapp. This post is meant for those who are still sitting on the fence - it clarifies questions like: What is this all about? What do I do? Is Whatsapp safe? I've heard Telegram is Russian - so how is it safer than Whatsapp? I can't move because my business contacts are on Whastapp - how do I secure myself? PS: I've modeled this post based on several conversations I've had with friends and family on this subject, dealing with the chain of questions they ask, then objections they raise, then clarifications they seek - and finally the change resistance ...

Learning from 11 years in KPMG

It is only when we give up what we have is when we can embrace the new! I quit my job at KPMG one year ago - 22 January 2016 was my last day with the firm. As I reflect back on that day, it felt more like a graduation day! The eerie mix of nostalgia, excitement, anxiety and blues of missing your friends. KPMG was not just my first job but also a place where I learnt everything that I represent professionally. KPMG is one of the institutions I deeply respect and love – and relationships I have built here will stay with me for my lifetime. In my entrepreneurial career as well, I am often reminded more of all the great things I have learnt over my 11 years in KPMG. An year gone by, I realize these learnings have stayed with me and apply equally to the world outside KPMG. Almost all would apply to those working in role of (internal or external) consultants but several are generic and can be applied across professions. I have tried to change the text so that the learnings sound ...