Size storage at a batch-to-stream interface

A sensor hub and a receiving controller are connected through a gateway. The gateway's buffer capacity is the maximum number of records it can hold simultaneously, including the record currently being forwarded.


During a finite integration test, the hub delivers five instantaneous batches of 30 records at times 0.00, 0.20, 0.40, 0.60 and 0.80 s. The gateway is initially empty. It forwards one record every 0.010 s whenever records are available, starting the first transfer at time 0.00 s. Each record remains stored until its transfer finishes. If a transfer finishes at a batch arrival time, process that completion before adding the new batch. Assume no other delays or record losses.


Each stored record requires 80 bytes for its payload and 16 bytes of storage overhead. No other memory allocation is required.


A sensor hub sends batches through a gateway buffer to a receiving controller.


Find the minimum buffer capacity in records and the corresponding memory capacity in bytes for this finite test. Then suppose batches continue every 0.20 s indefinitely: find the minimum constant forwarding rate, in records/s, that prevents the stored record count from growing without bound. Assume the gateway can sustain the selected rate continuously when records are available. Give all three answers as exact integers.

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More System Integration Questions: