GitHub user erickguan added a comment to the discussion: Concurrent support for
opendal list
A neat API. `partition` and `concurrent` work great with multiple requests.
Also, s3 directories are mostly designed when developers want performance.
I check the s3 list objects v1/v2 APIs, which return common prefixes. Thinking
aloud with the API. What if users are listing:
```rust
let result = op
.list_with("di")
.partitions(["r", "m"])
.concurrent(3)
.await?;
```
Use s3 as an example, we will request:
- `di`
- `dir`
- `dim`
This will result in some repetitive entries. So I assume this API must be used
when listing a `dir/`. A little incoherent when `.partitions` doesn't have
effect when not listing a directory but also doesn't hurt.
GitHub link:
https://github.com/apache/opendal/discussions/6115#discussioncomment-13088176
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]