Golang runtime implementation method based on serverless architecture

The invention belongs to the technical field of cloud platform containers, and discloses a Golang runtime implementation method based on a serverless architecture, which comprises the following steps: acquiring a source code, compiling and generating an executable binary file based on the source cod...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: MO ZHENYONG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention belongs to the technical field of cloud platform containers, and discloses a Golang runtime implementation method based on a serverless architecture, which comprises the following steps: acquiring a source code, compiling and generating an executable binary file based on the source code, and writing the binary file into a basic mirror image; obtaining an API (Application Program Interface) of the Runtime, and providing a function registration capability for a user in an SDK (Software Development Kit) form, namely opening for the user to register a function and defining an entry point of the function; a life cycle callback function is registered based on an entry point, so that a user can execute specific operation before and after the function is executed, a reflection technology is not used, the execution speed and performance are better than those of an SDK using reflection, the SDK reduces dependence of an application program and complexity of deployment, the size of the SDK is further reduce