Disable ads (and more) with a premium pass for a one time $4.99 payment
The scenario involves a motion sensor that writes 300 items every 30 seconds, with each item being 5 KB. To determine the appropriate read throughput, it's essential to first calculate the frequency of the writes.
Given that 300 items are written every 30 seconds, this translates to 10 items being written every second (since 300 items divided by 30 seconds equals 10 items per second). When considering read throughput, it is typically recommended to match or exceed the write throughput to ensure that there’s enough capacity to handle potential read requests without causing a bottleneck.
For this specific situation, if the sensor writes 10 items per second, setting the read throughput to 10 items per second will allow you to effectively retrieve the data being written in real time. However, a higher setting is usually preferred to accommodate peaks in read requests and maintain performance, which leads to the correct answer being set at 10 items per second.
Selecting a read throughput of 10 items per second directly correlates with the write frequency, ensuring that the system can handle the same rate of data access, thereby maintaining smooth data interaction in real scenarios.