tencent cloud

피드백

Overview

마지막 업데이트 시간:2020-09-01 10:02:20

Based on the features of SCF, we recommend you:

  • Write function code in a stateless style to ensure that your code will not undergo any state maintenance. Both local storage and memory results may be lost; therefore, services such as COS and Redis/Memcached should be used to cache intermediate information and store the final computation results.
  • Instantiate any objects that may be reused (such as database connections) other than execution methods.
  • Configure +rx (read and execution) permission to your file in the uploaded ZIP package to ensure successful code execution.
  • Maximize the use of log/print statements in your code to provide sufficient information for debugging.
  • You can use external code management services (such as Git) for the purpose of version and audit management of core code, so as to ensure the code completeness (the version management feature will be available in the future).

Note:

In the subsequent specific practices, most of the functions are deployed in the form of function template. You can download the function templates and code for analysis and research.

문의하기

고객의 업무에 전용 서비스를 제공해드립니다.

기술 지원

더 많은 도움이 필요하시면, 티켓을 통해 연락 바랍니다. 티켓 서비스는 연중무휴 24시간 제공됩니다.

연중무휴 24시간 전화 지원