Your REST APIs Should Take a Well-Deserved Rest

admin - August 10, 2016

Over the past few years many people – I amongst them – have spent countless hours convincing you that RESTful interfaces can (and have) changed the face of application integration. But it’s 2016, and as ever, market forces now dictate that REST and HTTP aren’t suitable or effective in every integration scenario.

In previous blogs we’ve highlighted some limitations, and potential pitfalls of REST. In this blog I want to discuss a way to overcome these limitations using realtime messaging – and in particular Diffusion Cloud.

Regular readers will know the Diffusion SDKs make it really easy to integrate realtime messaging with backend systems. Importantly, changes to the backend are rarely required so any legacy interface – or indeed RESTful interface – can easily be turned into a streaming realtime API.

 

Across many REST interfaces, it’s common to see clients poll continuously as they check for changes in data they are interested in. This creates significant load on the API Gateway layer, or the backend service directly and often means the integration tier has been sized to support entirely redundant traffic – which is unnecessarily costly. By using realtime messaging from Push Technology, we can massively reduce the need for polling.

By creating a publisher in Diffusion Cloud that connects to a RESTful API, only a single connection to the backend API is required. The Push server will periodically poll the backend, but will only send data to the client applications when a relevant change it detected.

 

Please get in touch with us on twitter if you’d like to hear more about how your RESTful interfaces can be made realtime. Or take a look at our latest JSON efficiency eBook, which shows where your apps and backend could be struggling to manage data they don’t need to!

Want to see how easy it is to get started with Diffusion Cloud? Sign up for a free demo here.

free-demo


The Diffusion Intelligent Data Platform manages, optimizes, and integrates data among devices, systems, and applications. Push Technology pioneered and is the sole provider of real-time delta data streaming™ technology that powers mission-critical business applications worldwide. Leading brands use Push Technology to fuel revenue growth, customer engagement, and business operations. The products, Diffusion® and Diffusion Cloud™, are available on-premise, in-the-cloud, or in a hybrid configuration, to fit the specific business and infrastructure requirements of the applications operating in today’s mobile obsessed, everything connected world. Learn how Push Technology can reduce infrastructure costs, and increase speed, efficiency, and reliability, of your web, mobile, and IoT application.

Learn More: View Blog Posts and Developer Resources

Share:

Check out these other resources

Info

Info Center

Case Studies, White Papers, and Tech Talk notes relating to Diffusion and the customers benefiting from using it.

Info

Quick Start Guide

Step-by-step guide to getting started fast with Diffusion or Diffusion Cloud.

Info

Diffusion Cloud

Get the facts and the details about our Diffusion Cloud platform.