Optimizing Bandwidth Using MQTT 5 — Automotive Use Cases

MQTT v5 Feature Analysis For Connected Vehicles
  1. Consider 1 million vehicles sending 1 of each dataset packet each seconds totals to 10 million packets sent per sec to the application server! Application Crashed BOOM!
  2. Consider these 10 millions packets per second are sent with QOS-1 to make sure packets are acknowledged. This just added 10 million packets sent per sec from server! (4 bytes ACK * 10 million messages per sec) of overhead!
  3. Consider vehicles loosing connectivity often and needs frequent reconnections! If device is offline for 10 sec it will hold 100 messages and those might be useless after that time — Overhead!
  4. Consider topic strings of 50 char or more are sent each time for each packet adding (50 bytes * 10 million messages per sec) of overhead!
  5. Consider you have binary/encrypted/JSON/XML/Base64/UPER messages coming from devices. Where will you add these metadata? Only way is to add this info in payload — Overhead!
  6. Consider you want to send vehicle location in every single message as that is relevant each time server process. Will you send location in payload along with heartbeat/V2X/Diagnostic payload?
  7. Consider AWS IoT where you have to pay for each message sent and received!

Let’s target these issues by MQTT v5 features

Feature No 1 : Shared Subscriptions

Feature No 2: Flow Control

Feature No 3: Message Expiry

Feature No 4: Topic Aliases

Feature No 5: Payload Format Description & Content Type

Feature No 6: User Properties

--

--

--

Seasoned software engineer with an entrepreneurial spirit; Working on architecting and developing massively scalable, edge optimized automotive solutions.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Introducing GizaDAO

Migrate SharePoint Lists with custom Forms using Sharegate (Office365)

MySQL Searched CASE Expression — with examples

Let’s order a pizza in Go — Part 5

RegEx : A Match so good

Convert Adobe Flash to HTML5 and make your Web Application Future Proof | Zealous System

Check out the Microsoft talks at Oracle Code One!

Behind the scenes — docker run

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Saumil Kapadia

Saumil Kapadia

Seasoned software engineer with an entrepreneurial spirit; Working on architecting and developing massively scalable, edge optimized automotive solutions.

More from Medium

Installing Application for Golang developer After installing Ubuntu 22.04 LTS

How to: Retrieve Data from an External API Using Ruby on Rails

Field Parameters In Power BI Report Server

AdonisJS 5 — WebSocket”