Skip to main content

State Management

Stateful services, databases, caching, and data management

Overview

Stateful services and data management for Kadaikodi.

Repository

Services

ServicePurpose
PostgreSQLPrimary database
RedisCaching and sessions
NATSMessage queue (if applicable)

Database

  • Engine: PostgreSQL 15+
  • Migrations: Managed via Prisma/Alembic
  • Backups: Automated daily backups

Configuration

Docker Compose configurations for local development and deployment manifests for production.

Data Management

  • Migration scripts
  • Seed data
  • Backup/restore procedures