2 ms·
You could implement backpressure by either adding a buffer (which you already have here) or by rejecting requests optionally with more data on how hard and long
by spockz 5y ago
You could implement backpressure by either adding a buffer (which you already have here) or by rejecting requests optionally with more data on how hard and long to back off.
- jadbox 5y agoIf you can tolerate (debounced) data loss in the buffer, a ring buffer works really well with predictable memory and performance.