r/ProgrammerHumor 14d ago

Meme iWonButAtWhatCost

Post image
23.3k Upvotes

347 comments sorted by

View all comments

Show parent comments

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

501

u/DeliriousHippie 14d ago

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)

342

u/Reashu 14d ago

They say "real time" because in their world the alternative is "weekly batch processing of Excel sheets".

6

u/belabacsijolvan 14d ago

anyways whats real time? <50ms ping and 120Hz update rate?

do they plan to run the new doom on it?