airhacks.fm podcast with adam bien

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


Listen Later

An airhacks.fm conversation with Alvaro Hernandez (@ahachete) about:
discussion about LLMs generating Java code with BCE patterns and architectural rules,
Java being 20-30% better for LLM code generation than python and typescript,
embedding business knowledge in Java source code for LLM context,
stackgres as a curated opinionated stack for running Postgres on kubernetes,
Postgres requiring external tools for connection pooling and high availability and backup and monitoring,
StackGres as a Helm package and Kubernetes operator,
comparison with oxide hardware for on-premise cloud environments,
experimenting with Incus for system containers and VMS,
limitations of Ansible for infrastructure automation and code reuse,
Kubernetes as an API-driven architecture abstracting compute and storage,
Custom Resource Definitions (CRDs) for declarative Postgres cluster management,
StackGres supporting sharding with automated multi-cluster deployment,
13 lines of YAML to create 60-node sharded clusters,
three interfaces for StackGres including CRDs and web console and REST API,
operator written in Java with quarkus unlike typical Go-based operators,
Google study showing Java faster than Go,
GraalVM native compilation for 80MB container images versus 400-500MB JVM images,
fabric8 Kubernetes client for API communication,
reconciliation cycle running every 10 seconds to maintain desired state,
pod local controller as Quarkus sidecar for local Postgres operations,
dynamic extension installation without rebuilding container images,
grpc bi-directional communication between control plane and control nodes,
inverse connection pattern where nodes initiate connections to control plane,
comparison with Jini and JavaSpaces leasing concepts from Sun Microsystems,
quarter million lines of Java code in the operator mostly POJOs predating records,
PostgreSQL configuration validation with 300+ parameters,
automated tuning applied by default in StackGres,
potential for LLM-driven optimization with clone clusters for testing,
Framework Computer laptop automation with Ubuntu auto-install and Ansible and Nix,
five to ten minute full system reinstall including BIOS updates

Alvaro Hernandez on twitter: @ahachete

...more
View all episodesView all episodes
Download on the App Store

airhacks.fm podcast with adam bienBy Adam Bien

  • 5
  • 5
  • 5
  • 5
  • 5

5

7 ratings


More shows like airhacks.fm podcast with adam bien

View all
The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

288 Listeners

WSJ Tech News Briefing by The Wall Street Journal

WSJ Tech News Briefing

1,662 Listeners

The a16z Show by Andreessen Horowitz

The a16z Show

1,095 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

624 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

582 Listeners

Bits und so by Undsoversum GmbH

Bits und so

25 Listeners

c’t uplink - der IT-Podcast aus Nerdistan by c’t Magazin

c’t uplink - der IT-Podcast aus Nerdistan

8 Listeners

heiseshow by heise online

heiseshow

2 Listeners

REWORK by 37signals

REWORK

215 Listeners

AWS Podcast by Amazon Web Services

AWS Podcast

207 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

140 Listeners

LANZ & PRECHT by ZDF, Markus Lanz & Richard David Precht

LANZ & PRECHT

345 Listeners

Der KI-Podcast by ARD

Der KI-Podcast

17 Listeners

Foojay.io, the Friends Of OpenJDK! by Foojay.io

Foojay.io, the Friends Of OpenJDK!

0 Listeners

The Economics Show by Financial Times

The Economics Show

151 Listeners