StreamHub runs on Java/Spring Boot services, Postgres, Redis, Kafka, and S3 on AWS EKS. That stack wasn't picked because it's "best" — it matched the team's expertise, hiring pool, and the need for mature ecosystem tooling at streaming scale.
Decision framework
Five lenses for every choice
- Team skill: What can you ship and operate in 90 days with your current team?
- Scale target: 1K QPS and 1M QPS need different databases and queues.
- Operational burden: Managed services vs self-hosted — engineer time is the hidden cost.
- Ecosystem: Libraries, hiring pool, community support, cloud integration.
- Migration cost: Today's choice becomes tomorrow's legacy — prefer boring technology.
Language and runtime
| Aspect | Java / Kotlin (Spring Boot) | Go |
|---|---|---|
| StreamHub fit | Primary backend — team expertise, mature ecosystem | Edge services, high-concurrency proxies |
| Throughput | Excellent with virtual threads (Java 21+) | Excellent goroutine concurrency |
| Startup time | Slower cold start (~2–5 s) | Fast (~100 ms) — better for scale-to-zero |
| Hiring | Large pool for enterprise backends | Strong in infra/DevOps roles |
| When to pick | Complex business logic, large teams | CLI tools, sidecars, lightweight services |
StreamHub fit
Java / Kotlin (Spring Boot)Primary backend — team expertise, mature ecosystemGoEdge services, high-concurrency proxiesThroughput
Java / Kotlin (Spring Boot)Excellent with virtual threads (Java 21+)GoExcellent goroutine concurrencyStartup time
Java / Kotlin (Spring Boot)Slower cold start (~2–5 s)GoFast (~100 ms) — better for scale-to-zeroHiring
Java / Kotlin (Spring Boot)Large pool for enterprise backendsGoStrong in infra/DevOps rolesWhen to pick
Java / Kotlin (Spring Boot)Complex business logic, large teamsGoCLI tools, sidecars, lightweight services
The rest of this guide is part of Pro
Free covers every fresher guide in full. Pro unlocks Senior, Staff and Architect guides across every track.
Still to come · 4 sections
- Database selection
- Cache and queue
- Cloud and deployment
- Buy vs build
Test yourself
Answer these before moving on — recall is what makes it stick.