dispatchrun / dispatch-py

Python package to develop applications with Dispatch.
https://pypi.org/project/dispatch-py/
Apache License 2.0
56 stars 3 forks source link

Use min_results when polling #92

Closed chriso closed 8 months ago

chriso commented 8 months ago

The local coroutine scheduler (#52) now uses the min_results setting from https://github.com/stealthrocket/dispatch-sdk-protobuf/pull/14 to improve polling latency & throughput.

Most users should find the default polling configuration satisfactory. Power users can instantiate their own scheduler and play around with the settings to tune latency & throughput. I've documented the available settings for these users.