No, multiple functions cannot share a single copy of a library. Functions can generate significantly different workloads and require different levels of resource scaling. Therefore, Function Compute scales the resources of each function independently, and code packages cannot be shared among functions. Instead, you can store a shared library on an Apsara File Storage NAS (NAS) file system so that each function can load its required library when it starts.
How helpful was this page?
What might be the problems?