Solutions to the problem of gathering and processing data in large-scale wireless sensor networks in the industrial IoT.
The rapid growth of wireless SCADA networks based on technologies like LoRa and 6LoWPAN has given birth to the problem of gathering and processing data from thousands of sensors and replicating this data to the cloud and to devices based on ARMv7+.
This report addresses ways and methods of solving this problem, including solutions for low-speed gateways and devices in industrial IoT networks.
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Master-Master Replication and Scaling of IoT Data Between Devices and Cloud
1. Vasiliy Soshnikov, Sr. Software Engineer, Mail.Ru Group
Master-Master Replication and Scaling of an
Application between each of the IoT-Devices
and the Cloud
5. Requirements
• The system should sync data between each IoT-
devices
• The system should getting data from IoT-devices
• The system should sync data IoT-devices and the
cloud
6. User / App server
App server
HTTP / HTTPS / WebSockets Internet
7. Internet / IoT devices
App-server
IoT-device #1
IoT-device #2
Internet
World
?
8. Internet / IoT devices
App-server
IoT-device #1
IoT-device #2
Internet
World
MQTT
9. Internet / IoT devices
App-server
IoT-device #1
IoT-device #2
Internet
World
Even HTTP(S)
10. Internet / IoT devices
App-server
IoT-device #1
IoT-device #2
Internet
World
Some protocols
11. Internet / IoT devices
App-server
IoT-device #1
IoT-device #2
Internet
World
Async replication!
14. Databases
• Sqlite - no replication, no concurrent access
• Redis - only M-S replication
• MySQL and PgSQL - they to heavy for the small
device
• Tarantool - M-M replication, M-S replication
• Or any DB with M-M replication
18. Solved!
• Use toolchain files for CMake.
• Don’t use unsigned and other types with specified
sizes; the libc has concrete types, like uint32_t.
• Port auto-test, you should expect that your auto-
test may be executed under a IoT-device.
21. Gateway
• MIPS-based
• WAN-antenna on board
• 6lbr-gateway software installed
• 6lbr-gateway converts the radio-waves into the
IPv6-package and back.
27. What is next?
• 6lbr-gateway gives a possibility to create mesh-
network
• 6lbr-gateway and Tarantool tied via MQTT-broker.
• But! Tarantool doesn’t work with MQTT!