Lightweight pub/sub implementation using AWS IoT Core as the communication layer (real-time messaging) between backend and a React Native frontend.

Motivation

A difficult time was had when searching for a lightweight solution to facilitate backend-frontend communication following a pubsub pattern using AWS services.

An approach via SNS/SQS/EventBridge + Lambda + DDB + API Gateway was considered, but unfortunately, factors such as the added setup time and the API Gateway soft limitations (postToConnection 10k RPS), were detrimental to its pick.

Luckily, this article was available and shed light into an implementation via the IoT family of services.

Next, this article put forward…

Pedro Marta

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