I am facing a problem of a high latency rate. How can I make it real-time?
My stack is Python (reading some data from serial), InfluxDB (Data Store in DB) React (Front-end show data on a web app with API)
The cycle is Read Data, Store, and then Show Front-end data from API(DB).
Hi Muhammed Chances High latency could be because of the following reasons 1.Python API and Influx DB are not located in the same region. (Eg: API machine instance in US-west and InfluxDB machine instance in US-east).
2.Python API credentials connecting to influxDB via public IP(external) instead of private internal IP.
No Sir, I am working on local system I have 5~8 second latency, this too high if any alarm occur or anything happen. I want something like read and show, something like skip step to store in database , front-end query to DB and then show.
Firestore database will be a better option for front end query to database. but it does not support SQL.