opendal icon indicating copy to clipboard operation
opendal copied to clipboard

Allow control concurrent connections

Open Xuanwo opened this issue 2 years ago • 3 comments

Xuanwo avatar Jul 13 '22 13:07 Xuanwo

curl seems the best choice we can have: timeout, redirect policy, max_connections, max_connections_per_host

Consider https://docs.rs/isahc/latest/isahc/struct.HttpClientBuilder.html

Xuanwo avatar Jul 13 '22 14:07 Xuanwo

should we consider Qos? one big query with low priority may starves the high priority queries.

FANNG1 avatar Jul 14 '22 01:07 FANNG1

should we consider Qos?

Seems interesting. Maybe we can design a QoS layer to distribute requests to different clients.

Xuanwo avatar Jul 14 '22 03:07 Xuanwo

Implemented in #545

We are observing this feature now and may expose an API for users in the future.

Xuanwo avatar Aug 26 '22 08:08 Xuanwo