'What's the best approach for processing MQTT message in server side? [closed]

I am writing a web app to log MQTT Data in a database after processing then a dashboard will query the database and visualize the data.

I am using a python script, which runs all time with Paho MQTT Client to process and store MQTT data in a database.

I think there should be a better and scalable way to process MQTT payloads. Can anyone suggest a better way?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source