Open
Description
PgRowPublisherOperation
accepts Flow.Subscriber
that requests a number of data signals n
(typically rows) via Subscription.request(n)
. PgRowPublisherOperation
should consider demand to:
- Determine a reasonable fetch size (probably a good suggestion to introduce
fetchSize(long rows)
onRowPublisherOperation
in ADBA spec) - Request only
n
rows from a cursor (when using cursored fetching) - Request next
n
rows as soon asSubscriber
requests additional rows
Typically, it's hard to fetch exactly n
rows, but the point here is to fetch more or less n
rows to satisfy demand and pre-buffer some additional rows (smart prefetching) to reduce latency between I/O and processing.
Metadata
Assignees
Labels
No labels
Activity