Predict the output
How many points a day does this fleet produce?
devices, every_s = 50_000, 10
per_day = devices * (86_400 // every_s)
print(f"{per_day:,}")Hint 1 of 1
86,400 seconds in a day.
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A 432,000,000
Correct. 8,640 points per device per day × 50,000 devices.
A day has 86,400 seconds, so a reading every 10 s is 8,640 points per device. Times 50,000 devices that is 432 million rows a day, which is why time-series stores partition and downsample.
Why not the others?
- B
4,320,000. That's for 500 devices. - C
5,000. That's per second. - D
43,200,000. Off by ten: one point every 10 s is 8,640 a day.