-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Expires
support for OpenDAL
#5623
Comments
How are Expires mapped to other services, e.g., S3? |
However, its behavior is related to client-side caching:
|
@Xuanwo I'd like to take this on. |
Hi @kaplanelad, I have taken this feature into consideration for a while and think we can approve it this way. Public API
Raw API
At current time, we only need to support services that will really expire keys like redis and memcache. And I feel like it's the time to implmenet redis support without the kv adapter. Many new features can be added in redis. |
Hi, OpenDAL currently doesn't support this. One possible approach might be to add
Expires
support, we can translateExpires
tottl
internally for redis.Originally posted by @Xuanwo in #5622 (comment)
Users can write data like
op.write_with(key).expires(time).await
.The text was updated successfully, but these errors were encountered: