Marc Nützel
  • Home
  • About
  • Skills
  • Recent Posts
  • Projects
  • Experiences
  • Posts
  • Working With Me
  • Tags
  • Activemq
  • Agents
  • Ai
  • Aks
  • Anti-Corruption-Layer
  • Architecture
  • Argo-Rollouts
  • Argocd
  • Aws
  • Azure
  • Azure-Service-Bus
  • Backend
  • Careers
  • Ci-Cd
  • Claude-Code
  • Code-Review
  • Cost-Optimization
  • Cqrs
  • Ddd
  • Deployments
  • Developer-Experience
  • Devops
  • Docker
  • Domain-Driven-Design
  • Ecs
  • Eks
  • Event-Sourcing
  • Flyway
  • Gitlab
  • Gitops
  • Groovy
  • Helm
  • Integration
  • Java
  • Jira
  • Jms
  • Junit
  • Kafka
  • Kotlin
  • Kubernetes
  • Lambda
  • Legacy-Modernization
  • Messaging
  • Microservices
  • Migration
  • Migrations
  • Postgresql
  • Production
  • Productivity
  • Sap
  • Security
  • Service-Bus
  • Software-Engineering
  • Spock
  • Spring-Boot
  • Strangler-Fig
  • Team
  • Test-Data
  • Testing
  • Tooling
Zero-Downtime Schema Migrations: The Expand/Contract Pattern in Practice
Zero-Downtime Schema Migrations: The Expand/Contract Pattern in Practice

Every zero-downtime migration horror story starts the same way: someone deployed a schema change and an application change in the same release, and for the duration of the rollout there was a window where old application instances ran against the new schema, or new instances ran against the old one. Rolling deploys guarantee this window exists. The only question is whether your schema change survives it. The expand/contract pattern is the answer, and it’s less exotic than it sounds.

  • postgresql
  • flyway
  • migrations
  • backend
Monday, November 9, 2026 | 5 minutes Read
The Transactional Outbox on PostgreSQL
The Transactional Outbox on PostgreSQL

Writing to the database and publishing to a broker cannot be made safe by ordering them. Whichever one goes first, there is a moment where it has happened and the other has not, and processes die in moments like that. The previous post got past all of this in a single clause: we publish integration events to other services through an outbox table and a relay. That clause hides the part people actually get wrong.

  • postgresql
  • messaging
  • kafka
  • azure-service-bus
  • java
  • architecture
Monday, October 26, 2026 | 7 minutes Read
Event Sourcing on PostgreSQL: No Kafka Required
Event Sourcing on PostgreSQL: No Kafka Required

Every time I mention event sourcing, someone asks which message broker we run underneath it. The honest answer is none. The event store for the platform I work on, a system of record for property units and metering-device lifecycles, is a PostgreSQL table with a handful of indexes. No Kafka, no EventStoreDB, no exotic infrastructure. Just a relational database doing what it has always been good at: storing rows durably and letting you query them.

  • event-sourcing
  • postgresql
  • cqrs
  • java
  • kotlin
  • architecture
Monday, September 28, 2026 | 7 minutes Read
Navigation
  • About
  • Skills
  • Recent Posts
  • Projects
  • Experiences
  • Working With Me
  • Leistungen (DE)
  • Impressum
  • Datenschutz
Contact me:
  • me@marc-nuetzel.de