airhacks.fm podcast with adam bien

Building a Production-Ready Postgres Kubernetes Operator in Java with Quarkus and GraalVM

Jan 10, 2026
Alvaro Hernandez, a software engineer and creator of StackGres, dives into the fascinating world of Postgres on Kubernetes. He discusses how LLMs can generate efficient Java code and why Java outshines Python and TypeScript in this context. Alvaro introduces StackGres as a curated stack for PostgreSQL, highlights its powerful automation capabilities, and explores its supportive interfaces. The conversation also touches on the benefits of Quarkus and GraalVM for container efficiency, the challenges of infrastructure automation, and the evolution of Java's role in modern development.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

Workshop Demo: LLMs Mimic Developer Style

  • In a workshop Alvaro surprised attendees by showing LLMs generating Java following BCE patterns with minimal prompts.
  • Attendees were amazed because the LLM produced code that matched the developer's style and structure.
INSIGHT

Sharding Automated Into Simple YAML

  • StackGres automates complex sharding by creating multiple fully-managed clusters per shard and a coordinator, reducing months of manual effort to a few YAML lines.
  • Automation scales complex topologies like 60-node sharded clusters in minutes.
INSIGHT

Java Is Viable For Kubernetes Operators

  • StackGres operator is implemented in Java/Quarkus rather than Go, proving Java can be productive for cloud-native control planes.
  • Operators only need HTTP client/server functionality, which Java handles well with Quarkus and Fabric8.
Get the Snipd Podcast app to discover more snips from this episode
Get the app