All Products
Search
Document Center

Function Compute:If I have 10 functions that will use the same public library, can I upload a single copy of the library that my functions can share?

Last Updated:Aug 20, 2025

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 File Storage NAS (NAS) file system so that each function can load its required library when it starts.