Overview
Migrate to AWS SDK v3 with connection pooling and add Redis-backed state cache.
Target: 200-500ms state lookups → <50ms (70% cache hit rate)
Tasks
2.1 AWS SDK v3 Migration
Files:
2.2 State Cache Layer
New files:
src/cache/state-cache.ts
src/cache/redis-client.ts
Cache TTLs:
| Resource |
TTL |
| S3 bucket |
60s |
| RDS instance |
30s |
| EC2 instance |
30s |
| IAM role |
300s |
2.3 GCP/Azure Parity
Dependencies
ioredis: ^5.3.0
@aws-sdk/client-s3: ^3.500.0
@aws-sdk/client-rds: ^3.500.0
@aws-sdk/client-ec2: ^3.500.0
Timeline
Week 2-3
Part of: Multi-Agent Scaling Roadmap (Pro Feature)
Overview
Migrate to AWS SDK v3 with connection pooling and add Redis-backed state cache.
Target: 200-500ms state lookups → <50ms (70% cache hit rate)
Tasks
2.1 AWS SDK v3 Migration
@aws-sdk/client-*packagesFiles:
src/state/aws/*.ts2.2 State Cache Layer
ioredisdependencyNew files:
src/cache/state-cache.tssrc/cache/redis-client.tsCache TTLs:
2.3 GCP/Azure Parity
Dependencies
Timeline
Week 2-3
Part of: Multi-Agent Scaling Roadmap (Pro Feature)