Common memory context in compute-edge module for fastly service.
I read that Lucet instansiate wasm module for each request and destroy it after use.
It means any global memory data in our rust code will not be accessible for further requests.
Is there any way to achieve this in rust code?
I also read about edge-dictionary where we can store data in key value pair of strings. and that will be avaiable across all wasm instances but if our stored data is big then this will be costly operation to read it for each request.
Please sign in to leave a comment.
Comments
0 comments