Reducing Polling of Your Existing API Using Streamdata.io

I’ve partnered with Streamdata.io, resulting in me getting more acquainted with their API solutions, and telling the story of that process here on API Evangelist. I figured I would dive right in and start with the basics of what Streamdata.io does–turning your existing web API into a real-time stream. Streamdata.io acts as a reverse proxy that translates REST API polling into a stream of data. Instead of constantly polling your API for changes, your API clients will poll Streamdata.io and get a JSON Patch update if anything has changed, and reducing the impact of the requests your clients will make to your API.

When thinking about what Streamdata.io does it is easy to get caught up on the real time and streaming nature of what they do, but the most immediate value they bring to the table is about making your relationship with your API clients more efficient. Streamdata.io reduces the costs associated with operating your API, stepping in between you and your demanding clients, and act as a buffer that will reduce the load on your servers. Eliminating one of the biggest headaches for API providers, and reigning in the behavior by our most demanding, and demanding clients. https://goo.gl/W1b4vX #DataIntegration #ML

Mule Application Development: Effective Caching

ICYDK: In any integration project, caching is a crucial part of the design. Certain data are very unlikely to change for a period of time. In those situations, we do not want to retrieve the data everytime from a data source, such as a database, file, etc.

Mule Anypoint Platform provides two key caching mechanisms. One is context registry, which basically is a Java HashMap inside the MuleContext object. We can use the registry to store and retrieve data. The other is cache scape, which stays inside a flow or sub-flow. When the system hits the component, it checks its cache. If it has the key, it will return the value. Otherwise, it will invoke the cache scope, which typically will retrieve data from data sources. For more details about the cache component, please refer to Mule documentation here. https://goo.gl/KyDKeH #DataIntegration #ML