Concept:
- Node - a smallest unit within a cluster to provide compute capablity
- Nodetype - a logical naming of the tier / layer in the architecture so it can easily tag to the node, e.g. Webtier (UI + API) and ServiceTier(Backend)
Highlevel SF
SF provide whole stack for managing deployment of containers (regardless if it node or docker) and provided high availability support using cluster, upgrade individually.
Below example is a aution microservice which have different architectual layers.
- Website (stateless)
- API(stateless)
- Auction (stateful)
Traditionally each tier will take up one node and form a cluster, SF provides flexiblity of placement where you can group layers in same node in the same
Code Structure
A root level of Application project will be created accompany with creating a new sf project for individual service, either it is stateless or stateful service.
时间: 2024-10-04 03:24:11