Thursday, 11 October 2012

Thought about real-time -- Web services

Here is the question: How to provide real time updates through web services?

That is a good question. Yet, there are no answers when we look at the OGC web services standards.

Of course, it is always possible to use polling with WMS, WFS or even with a KML service. But polling has a huge performance cost.

The HTML 5 specification brings a cool concept, web sockets which would allow push notification. But we are not there just yet.

So how could it be achieved? Well, look at the all the real-time social services available online! How do they achieve that over the web?

The answer is long polling. But it comes at the cost of interoperability since implementing long polling requires changes to the services specification.

The real answer has to come from the standard bodies.

Thanks for reading, let me know what you think!

No comments:

Post a Comment