1. Tier Overview
2. Startup Tier
Target: Teams evaluating KaireonAI or running low-volume production workloads with fewer than 100 requests per second.2.1 Compute
2.2 Data Stores
2.3 Cost Breakdown
2.4 Limitations
- No database failover. A PostgreSQL pod restart causes brief downtime.
- Not suitable for workloads requiring high availability or disaster recovery.
- Pipeline throughput is limited to a single worker.
3. Growth Tier
Target: Production deployments serving 100 to 1,000 requests per second with availability requirements.3.1 Compute
3.2 Data Stores
3.3 Cost Breakdown
3.4 Key Improvements Over Startup
- Managed database with automated backups and point-in-time recovery.
- Horizontal Pod Autoscaler for the application tier.
- Multi-AZ node placement for compute resilience.
- Dedicated Redis for consistent cache performance.
4. Enterprise Tier
Target: High-volume production deployments exceeding 1,000 requests per second with strict availability, compliance, and multi-region requirements.4.1 Compute
4.2 Data Stores
4.3 Cost Breakdown
4.4 Key Improvements Over Growth
- Multi-AZ RDS with synchronous replication and automatic failover.
- Read replicas to offload analytics and reporting queries.
- ElastiCache cluster mode for horizontal cache scaling.
- Pod Disruption Budgets ensure rolling updates never drop below minimum replicas.
- Cluster Autoscaler adjusts node count based on pending pod demand.
5. Component Sizing Guide
5.1 Next.js Application Pods
5.2 Pipeline Workers
5.3 PostgreSQL
5.4 Redis
6. Monitoring Thresholds and Scaling Triggers
Use the following thresholds to determine when to scale up or transition to the next tier.6.1 Compute Scaling Triggers
6.2 Database Scaling Triggers
6.3 Cache Scaling Triggers
7. When to Upgrade Tiers
Startup to Growth
Upgrade when any of the following conditions persist for more than one week:- Sustained RPS exceeds 80.
- Database connection count regularly exceeds 80.
- Application pod CPU consistently above 70%.
- Downtime from in-cluster database restarts is unacceptable.
- Business requires automated backups or point-in-time recovery.
Growth to Enterprise
Upgrade when any of the following conditions persist:- Sustained RPS exceeds 800.
- Decision latency P99 approaches the 200ms SLO limit.
- Compliance requirements mandate Multi-AZ database or encryption at rest.
- Read replica is needed to offload analytics workloads.
- Cache evictions occur despite proper TTL tuning.
- Business requires 99.9% or higher availability with automatic failover.
8. Cost Optimization Tips
- Reserved Instances: Purchase 1-year reserved instances for predictable node types to save 30-40%.
- Spot Instances: Use spot instances for pipeline worker nodes (stateless, tolerant of interruption).
- Right-sizing: Review CloudWatch/Prometheus metrics monthly. Downsize over-provisioned instances.
- Storage tiering: Use gp3 for general workloads, io2 only when IOPS-bound.
- Data transfer: Keep services in the same AZ where possible. Use VPC endpoints for AWS services.
- Scheduled scaling: Scale down non-production environments outside business hours.