Plattformübergreifende Resilienz in agilen Umgebungen durch Logische Replikation
Implementing strong cross-platform resiliency in agile environments with logical replication
Friday, June 26 at 11:00–11:50
-
Data platform architect and long-term Postgres user.
Resiliente Plattformen können mit kompletten Ausfällen von Infrastrukturen umgehen, ohne dabei die Daten kritischer Applikationen zu verlieren. In unserem Fall müssen wir sicherstellen, dass der Datenverlust in einem solchen Szenario nicht mehr als 15 Minuten (RPO 15) beträgt. Resilienz ist besonders herausfordernd in agilen Umgebungen, in denen Applikationen ihre Schemas häufig und zu beliebigen Zeitpunkten ändern können. Die naheliegende Lösung, physische Replikation, wird durch Infrastrukturanbieter im Rahmen von Plattform-as-a-Service in der Regel nicht unterstützt. In diesem Vortrag stellen wir vor, wie logische Replikation eingesetzt werden kann, um den geforderten Grad an Resilienz zu erreichen, und wie wir mit Schemaänderungen durch Applikationen umgehen.
Resiliency means that data of critical applications are not lost even in cases of extended and complete downtime of infrastructure providers. In particular, we have to guarantee that no more than 15 minutes worth of data are lost in such a scenario. The issue is exacerbated by the fact that applications may release schema changes at any point in time, without the possibility to enforce release windows. The obvious solution - physical replication - is not possible because it is not supported by the infrastructure provider. In this talk we show how logical replication in Postgres can be used to implement the required level of resiliency and how we deal with the fact that DDL-statements are not replicated.