Automatic BufferAccumulator draining
Author: kubiak-jplCreated Sep 28, 2026Updated Sep 28, 2026
| F´ Version | 4.3.0 |
| Affected Component | BufferAccumulator |
Feature Description
Add a command for BufferAccumulator to continuously drain buffers, while tracking the number of outstanding buffers that have been sent, but not returned through the BufferAccumulator. Every time a buffer is returned, BufferAccumulator would automatically drain a new buffer, allowing up to N buffers to be outstanding.
Rationale
Draining large numbers of buffers at once can result in queue overflows. The alternative is to sequence a series of BA_DrainBuffers commands, but this is cumbersome and generally results in subpar performance.
The example I currently have in mind is draining DataProduct buffers accumulated during an activity to a DpWriter. \\
Source: nasa/fprime