Software Develpor (ioT) at Vappar·
Needs advice
on
InfluxDBInfluxDBPythonPython
and
ReactReact

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).

READ LESS
2 upvotes·14.8K views
Replies (2)
Software Design Engineer at AN10·

Hi,

If you are trying to pull a huge amount of data from DB. You can enable pagination to pull data in chunks and while pulling data from DB on pull required information(the selected item that you want to show on the frontend.)

READ MORE
1 upvote·362 views
Software Architect at Northern Gas and Power·

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.

READ MORE
1 upvote·2 comments·240 views
Muhammad Asif Azam
Muhammad Asif Azam
·
December 18th 2020 at 8:20PM

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.

·
Reply
Anand Babu Vinayagam
Anand Babu Vinayagam
·
January 4th 2021 at 5:36AM

Firestore database will be a better option for front end query to database. but it does not support SQL.

·
Reply
Avatar of Muhammad Asif Azam

Muhammad Asif Azam

Software Develpor (ioT) at Vappar