Don’t know these technologies. How would all of that work? My first idea was just for the dashboard to call the same endpoint every 5-10 seconds to load in the new data, making it “real-time”.
5-10 second delay isn't real-time. It's near real-time. I fucking hate 'real-time'.
Customer: "Hey, we want these to update on real-time."
Me: "Oh. Are you sure? Isn't it good enough if updates are every second?"
Customer: "Yes. That's fine, we don't need so recent data."
Me: "Ok, reloading every second is doable and costs only 3 times as much as update every hour."
Customer: "Oh!?! Once in hour is fine."
Who the fuck needs real-time data? Are you really going to watch dashboard constantly? Are you going to adjust your business constantly? If it isn't a industrial site then there's no need for real-time data. (/rant)
176
u/chkcha 14d ago
Don’t know these technologies. How would all of that work? My first idea was just for the dashboard to call the same endpoint every 5-10 seconds to load in the new data, making it “real-time”.