Skip to content

feat: Implement comprehensive HPA for SubStream Protocol Backend#197

Merged
elizabetheonoja-art merged 1 commit into
SubStream-Protocol:mainfrom
sandrawillow001-afk:feature/hpa-implementation
Apr 26, 2026
Merged

feat: Implement comprehensive HPA for SubStream Protocol Backend#197
elizabetheonoja-art merged 1 commit into
SubStream-Protocol:mainfrom
sandrawillow001-afk:feature/hpa-implementation

Conversation

@sandrawillow001-afk
Copy link
Copy Markdown
Contributor

  • Add CPU-based HPA for main backend (70% threshold, 3-50 replicas)
  • Add Redis queue-based HPA for Soroban workers (1000 items threshold, 2-20 replicas)
  • Implement external metrics adapter for Redis queue monitoring
  • Create comprehensive Helm chart with HPA integration
  • Add K6 load tests for HPA verification
  • Optimize database connection pooling for scale-up events
  • Add startup time testing and optimization
  • Create detailed DevOps runbook for HPA management
  • Implement scale-down stabilization to prevent thrashing
  • Add Prometheus monitoring and alerting rules

Addresses issue #167: Horizontal Pod Autoscaling (HPA) via CPU and Redis Metrics
closes #167

- Add CPU-based HPA for main backend (70% threshold, 3-50 replicas)
- Add Redis queue-based HPA for Soroban workers (1000 items threshold, 2-20 replicas)
- Implement external metrics adapter for Redis queue monitoring
- Create comprehensive Helm chart with HPA integration
- Add K6 load tests for HPA verification
- Optimize database connection pooling for scale-up events
- Add startup time testing and optimization
- Create detailed DevOps runbook for HPA management
- Implement scale-down stabilization to prevent thrashing
- Add Prometheus monitoring and alerting rules

Addresses issue SubStream-Protocol#167: Horizontal Pod Autoscaling (HPA) via CPU and Redis Metrics
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 26, 2026

@sandrawillow001-afk Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@elizabetheonoja-art elizabetheonoja-art merged commit b42aca2 into SubStream-Protocol:main Apr 26, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Horizontal Pod Autoscaling (HPA) via CPU and Redis Metrics

2 participants