Metadata
Services are using following types of storage:
- Relational Database (RDB) - PostgreSQL (opens in a new tab) or SQLite (mainly for testing purposes)
- Redis (opens in a new tab)
- Blob storage - Shared File System or S3
Component Service
Service is using RDB and Blob storage as data storage.
RDB tables:
Table | Description |
---|---|
components | Components data - id, name |
component_versions | Version specific components data - version, component metadata |
See RDB migrations (opens in a new tab) for more details.
Blob storage is used to store components binary data.
Worker Service
Service is using RDB as data storage.
RDB tables:
Table | Description |
---|---|
api_definitions | API definitions data |
api_deployments | API deployments data |
See RDB migrations (opens in a new tab) for more details.
Shard Manager
Service is using Redis as data storage. Redis is used to store shard assignments.
Shard assignments are stored in one record with key shard:shard_manager_state
.
Component Compilation Service
Service is using Blob storage as data storage.
Worker Executor
See the persistence page for more details about how the worker state get persisted.