Kezako ?

Routing and APIs, how to choose?

2 July 2024
Routing allows you to retrieve and process data emitted by your sensors, either directly within your application or by using one of our connectors to cloud service providers.

 Why use routing rather than an API?

Routing in PUSH mode offers a considerable advantage over API querying in PULL mode. Indeed, using APIs requires developing a solution that will regularly call the APIs to retrieve the data. This solution will then identify what has already been seen to record or process only the new data. In contrast, routing allows you to receive real-time messages that your sensors emit. The setup is then reduced, and all you have to do is record and/or process the data.

 

Advantages of routing include:

  • Data completeness. In the case of SPOT, messages are retransmitted over 48 hours progressively. For example, if your server is unavailable, messages will be retransmitted after 5 minutes, after 15 minutes, after 1 hour, and so on.
  • Flexibility in configuration. Variables are available on SPOT to customize different parts of your routing. For example, you can add the sensor ID in a URL for HTTP routing or even the name of the sensor group in the topic of your AWS IoT Core connector.
  • Adaptation to demanding connectors. Some connectors require specific data formatting to be able to process them. This is the case, for example, with Azure’s Power BI connector. The routing in SPOT adapts to the specific needs of each connector to ensure that you can use your data as quickly as possible.

What connectors are available?

There are two types of connectors: direct connectors to your applications and those to cloud service providers. HTTP and MQTT connectors allow you to send data directly to your applications, following the parameters you set on SPOT. This method is straightforward because a web server or an MQTT broker will be enough to receive your data.

For cloud service providers, you can easily integrate the data and use a whole range of tools for your analysis. SPOT is compatible with the following connectors:

  • AWS: IoT Core
  • Azure: Event Hubs, IoT Hub, IoT Core Services, Power BI.
  • Google: Pub/Sub, IoT Core

SPOT routing, an asset not to be overlooked

In a world where data has become one of the most valuable assets of companies, SPOT offers you a tool that allows you to receive and exploit your data in real-time, whether it’s in your tools on your servers or by using the solutions offered by cloud platforms: AI solutions, recording in a data lake, exploiting frames in functions like lambda. Objenious strives to provide you with a tool that allows you to reach your goals quickly and efficiently.