Leviatom Docs
  • Leviatom Introduction
    • What is Leviatom
    • What We Do
    • Key Features
  • Technical Design
    • Blockchains
    • Trusted Computing
    • Roles
    • Service Deployment
    • Transaction Processing
  • Testnet
    • Testnet Introduction
Powered by GitBook
On this page
  1. Technical Design

Service Deployment

PreviousRolesNextTransaction Processing

Last updated 1 year ago

A Registry contract will be deployed on the chain in advance, which manages all the function information. The manager contract is associated with a function, and it is a one-to-one relationship. It manages which workers can deploy the function, as well as the function code, version, and other information. As shown below:

When a worker needs to deploy a function developed by a developer, it needs to register its own worker address to the manager contract. The manager will generate a deployment event. After the worker’s FaaS cluster receives this event, it parses the event and starts the service. The sequence diagram is as follows: