Replies: 6 comments
-
Can you explain a bit? What's the benefit if the backends return ordered items? (NOTE: s3 returns item in utf-8 binary order). |
Beta Was this translation helpful? Give feedback.
-
Then we can check, if a related object exists in streaming way. Say, i have an object |
Beta Was this translation helpful? Give feedback.
-
What's the different with The thing you prefer is the following? if op.can_list_ordered() {
check_by_path()
} else {
check_by_stat()
} |
Beta Was this translation helpful? Give feedback.
-
Yes, when listing a dir, one can know if an overrider exists or not in streaming way, with out making |
Beta Was this translation helpful? Give feedback.
-
We need something like At the same time, we plan to
They will make the |
Beta Was this translation helpful? Give feedback.
-
Indeed. Such Metadata cache sounds great. But sometimes, one may have to depend only on live metadata, if object store is being used by different nodes in a cluster in their own processes. May be ability to plug external cache, that can also stat/list efficiently like redis will be useful in such cases. |
Beta Was this translation helpful? Give feedback.
-
Few backends like S3 explicitly returns alphabetically ascending ordered items in their list apis, as public api. And backends like rust-fs explicitly mentions order is arbitrary.
There are few invariants one can use for ordered backends. Hece it will be helpful to have a capability flag in accessor metadata.
Beta Was this translation helpful? Give feedback.
All reactions