Closed flaneur2020 closed 5 months ago
cc @everpcpc
We already have DNS caching in HttpClient
using trust-dns
. The challenge is to implement global DNS caching across all OpenDAL operators or within your project.
Ok, opendal already expose this to user, we don't need to touch opendal.
This issue will be resolved by https://github.com/Xuanwo/reqwest-hickory-resolver
we runs an olap engine with opendal, while processing heavy bounch of analysis workloads, the highly concurrent s3 accesses will produce lots of dns resolve requests.
IMHO we can consider adding a small dns resolve cache on before requesting s3.