-
Notifications
You must be signed in to change notification settings - Fork 70
Description
Hello,
I've been trying out the Faasm platform and would like to ask a couple questions concerning caching.
I tried to update a Python function that has already been uploaded but haven't found a way to do it.
When I query the upload service directly, I get the new function code, but if I run the Python function or read its file content (/pyfuncs/python/test/function.py), the file contents remain that of the old version.
I've tried various flushing methods (inv func.flush from the cpp container, inv flush.all with faasm-cli, restarting the cluster) without success.
I'd like to know how to flush the cached code of a Python function.
I've also tried C++ functions.
After updating a function, the flushing (with func.flush) works, but only for the first execution of that function.
The second execution of the function reverts to the old code.
I had to restart all workers to completely flush the function.
Is there an alternative method to flush C++ functions without having to restart the worker?
I'm on Faasm 0.9.9 at the moment.