Cette page n'est pas encore disponible dans votre langue. Nous nous efforçons d'ajouter d'autres langues. Nous vous remercions de votre compréhension.

On this page

Show all

What Is a Public Dependency?

Updated on 2023-06-19 GMT+08:00

Public dependencies are provided by Huawei Cloud. You can import them to your code on the function details page to implement service logic.

Public dependencies have the following advantages:

  • They provide an out-of-the-box ecosystem, eliminating the need to build and upload dependencies. You can focus on your code and service logic without worrying about the running environment.
  • FunctionGraph caches public dependencies for fast access. No network latency will be involved during cold start for accessing dependency files in storage services.
  • Public dependencies either smaller or larger than 300 MB can be easily imported and deleted, while private dependencies larger than 300 MB must be split for upload.
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback