Logical units are the foundation of a unitized architecture. Each logical unit is called a zone. You can deploy your system in different types of logical units based on your business needs.
RZone (Region Zone): Used for deploying critical business systems that are sharded by user dimension. Core business and data are unitized. After sharding, data is balanced across units. Each unit is designed to be self-contained, has its own data, and can handle all business processes internally. A zone can contain multiple RZones.
GZone (Global Zone): Used for deploying systems that are not sharded by user dimension. RZones depend on GZones. GZones provide non-shardable data and services, such as configuration services. The database can be shared with RZones, and it supports multi-tenant data isolation. Only one global GZone exists, and you can configure its traffic weight.
CZone (City Zone): Used for deploying systems that are not sharded by user dimension and are frequently accessed by RZones. CZones are designed to reduce cross-region communication latency. They are ideal for read-heavy, write-light, and non-shardable services. Typically, each city has one set of applications and data, which is a snapshot of the GZone.

Manage logical units
When you create a workspace group, the system automatically plans the logical units and deployment units. Before publishing application services, you can add, modify, or delete logical units as needed.
Log on to the SOFAStack console. In the left navigation pane, click Global Settings in the lower-left corner to navigate to the workspace group page.
Click the card for the workspace group that you want to modify. This opens the Workspace Group Details page.
Click the Unit Architecture tab. Then, add or delete logical units as needed:
Add: Click Add. In the dialog box that appears, select Logical Unit and enter the following configuration information:
Logical Unit Type: Displays the current logical unit type. This parameter cannot be modified.
Zone: Select the zone where the unit resides.
Logical Unit Name: Enter a custom name for the logical unit. You can only add logical units of the RZone type.
NoteThe logical unit name must meet the following constraints:
It must start with
RZ, contain only uppercase letters and digits, and have no spaces.The length must be 3 to 10 characters.
Follow the naming convention:
Abbreviated logical unit type + Number. For example,RZ03.
Delete: Click Edit to make the architecture topology editable. Click the delete icon, and then click Confirm in the dialog box that appears.
NoteYou must delete all deployment units from a logical unit before you can delete it. Otherwise, an error occurs.