Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

How to set the expiration time of shared data ? #386

Closed
yangkaa opened this issue Jun 12, 2023 · 2 comments
Closed

How to set the expiration time of shared data ? #386

yangkaa opened this issue Jun 12, 2023 · 2 comments

Comments

@yangkaa
Copy link

yangkaa commented Jun 12, 2023

Hello, I am now using shared data to store some key-value pairs, but I am worried that unlimited saving of key-value pairs will cause high memory usage.

So is there an option for me to specify the expiration time of the key-value pair, or is there a way to empty the contents of the shared data (I have only found ways to set up shared data and get shared data)

@mathetake
Copy link
Member

Currently, this cannot be supported due to the lack of functionality in the low-level specification of Proxy-Wasm. Please follow the thread here proxy-wasm/spec#32

@yangkaa
Copy link
Author

yangkaa commented Jun 13, 2023

Thanks for your answer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants