EMQX Cloud rolls out shadow service for convenient IoT data caching

EMQ, the software provider of open-source IoT data infrastructure has announced a notable value-added service for its fully managed MQTT messaging platform, EMQX Cloud. The new Shadow service provides out-of-the-box platform-side data caching, helping dev teams to accelerate the development process for many IoT use cases.

Previously, developers needed to transfer IoT data to third-party services through the data integration component of EMQX Cloud before they could conduct further data processing, analysis, and application development. The Shadow service avoids reliance on third-party services, allowing developers to centralise device data caching, modification, and viewing directly within EMQX Cloud. They can quickly create object models, device shadows, and other resources related to data reporting and distribution that reduce build times, latency, and transmission costs.

As the global IoT industry continues to experience unprecedented growth, quickly connecting IoT devices and platform applications to support rapid implementation and market validation is becoming key to shaping core competitiveness and achieving business innovation. However, in the case of message interactions between IoT devices and applications, it is very common that the device side network is unstable, low-power devices are dormant, and mobile applications do not consume data regularly. To ensure reliable interactions, caching or persisting data, such as the latest reported messages from devices or configuration parameters issued by applications, in the MQTT message access layer can be an important requirement.

EMQX Cloud Shadow service solves the above-mentioned issues, empowering companies to speed up development while enhancing the reliability of data processing. After activating the service, users can configure shadow models, access data through a standard API, and monitor usage without requiring third-party integrations.

The long-awaited Shadow service on EMQX Cloud was informed by real customer needs across the automotive, manufacturing, finance, and other smart industries deployed in EMQX environments. Many IoT applications can benefit from Shadow service, such as the interactions between smart home devices, low-power smart meter data collection and configuration, and telematics message pushing.

With the data caching capability of the Shadow service, users can develop many applications without configuring external storage and network connectivity. It’s especially suitable for tracking device status.

Application requests to get device status are complicated by several conditions:

  • Devices may go online and offline frequently because of network instability, so they cannot respond to application requests normally.
  • Devices may need to respond to requests from multiple applications simultaneously, straining their limited processing capacity.
  • Devices may transmit information even when there is no data consumer.
  • Devices may transmit the same information in response to every request, even though different applications need to read different parts of the device information.

With the use of device shadowing, the device state change only needs to be synchronised to the device shadow once. Regardless of whether the application is online, the number of requests, and whether the device is online, the current state of the device can be obtained from the device shadow cache, enabling the decoupling of the application and the device.

Applications can send commands to devices, but when a device is offline or the device goes online and offline frequently because of an unstable network, the commands will fail to be sent. Using the device shadow mechanism, the commands issued by the application can be stored in the device shadow with a timestamp. When the device goes online again, it can obtain the commands from the device shadow and determine whether to execute them according to the timestamp.

Furthermore, Shadow service provides both MQTT and REST API interfaces to add, delete, and check cached documents for easy invocation by MQTT devices and application services. The MQTT interface provided by the Shadow service is fully compliant with the MQTT standard, and the client can invoke the Shadow service as long without the need for a customised SDK and without platform binding.

With the fully managed MQTT messaging service provided by EMQX Cloud combined with the Shadow service, users can easily integrate MQTT device access and message caching, greatly accelerating the speed of IoT application development. The flexible message caching data structure in the Shadow service can also help later business expansion, providing a guarantee for continuous business development.

For a deep dive into this new function, read EMQ’s recent blog post.

At present, the Shadow service provides a 7-day free trial with up to 1 GB of data. Users can log in to EMQX Cloud and provision Shadow service through the “Value-added Service” module on the top main menu or the “Shadow Service” module on the left menu of the deployment screen.

Any questions about the Shadow service should be directed to cloud-support@emqx.io.

Comment on this article below or via Twitter: @IoTNow_OR @jcIoTnow

RECENT ARTICLES

Aeris to acquire IoT business from Ericsson

Posted on: December 8, 2022

Ericsson and Aeris Communications, a provider of Internet of Things (IoT) solutions based in San Jose, California, have signed an agreement for the transfer of Ericsson’s IoT Accelerator and Connected Vehicle Cloud businesses.

Read more

Telenor IoT passes milestone of 20mn SIM cards

Posted on: December 8, 2022

Telenor, the global IoT provider and telecom operator, has experienced rapid growth over the last years and ranks among the top 3 IoT operators in Europe and among the top IoT operators in the world. The positive development is due to an accelerated pace of new customers combined with a successful growth of existing customers’

Read more
FEATURED IoT STORIES

The IoT Adoption Boom – Everything You Need to Know

Posted on: September 28, 2022

In an age when we seem to go through technology boom after technology boom, it’s hard to imagine one sticking out. However, IoT adoption, or the Internet of Things adoption, is leading the charge to dominate the next decade’s discussion around business IT. Below, we’ll discuss the current boom, what’s driving it, where it’s going,

Read more

Talking Heads: The M2M Doctor is in the House

Posted on: December 26, 2013

Mobile health is M2M at its most rewarding. So says, Dan MacDuffie CEO of Wyless (left). And he should know, his managed services company has achieved 50% yearon- year growth recently and a growing portion of that is in mHealth and Wellness services. He’s certain we’re standing on the threshold of a new generation of health services that cut delivery costs, extend the reach

Read more

Talking Heads: mHealth gains ground as one-stop shops and M2M with ‘wired safety net’ bring efficient patient monitoring

Posted on: December 23, 2013

For years analysts have touted mobile healthcare as a huge opportunity for those offering machine-to-machine communication (M2M) services. Truth be told, the progress so far has been patchy, at best. So M2M Now asked Alexander Bufalino, SEVP Global Marketing at Telit, to describe the hurdles in the way of M2M mHealth, how they are now being overcome and what

Read more

Unlocking the total value of M2M

Posted on: December 19, 2013

Do you ever wonder why people and organisations invest in machine-to-machine communications (M2M) and the Internet of Things (IoT), asks Fred Yentz? Reasons may differ somewhat across industry segments but in most cases they fall in one or more of three categories: To make money, to save money or to be compliant. ILS Technology is squarely focused on helping

Read more

Paving the way to the Internet of Things

Posted on: December 17, 2013

Combining the ARM computing engine with location-awareness and wireless connectivity It’s set to be the Perfect Storm: The rapid growth of high-speed cellular networks and the introduction of IP version 6 which has enough IP addresses for every grain of sand on Earth. Add to this mix the proliferation of the ARM embedded computing architecture, now the de facto global

Read more

What’s the ‘real deal’ on the Internet of Things?

Posted on: December 16, 2013

The ‘Internet of Things’ buzzword appears to have picked up steam during the past several months as large players such as GE and Cisco have touted their stories on the growing number of connected devices. But, as Alex Brisbourne of KORE asks, how different, if at all, is the Internet of Things when compared with other connected device markets,

Read more

M2M Now Magazine December 2013 Edition

Posted on: December 5, 2013

M2M Now magazine explores the evolving opportunities and challenges facing CSPs across this sector. Our exclusive interviews pass on some key lessons learned by those who have taken the first steps in next gen Machine to Machine (M2M) services. In the latest issue: TALKING HEADS: Alexander Bufalino of Telit tells how one-stop shops and M2M with a ‘wired

Read more