Are database migrations good? Probably, but are we using them in the right way? In this post, I write about how I think about migrations and what I'm doing to mitigate some of their shortcomings.
Feature flags can give more control over an application. Explore LaunchDarkly's new data about how they're being used in this episode of The New Stack Makers podcast. #featuremanagement #featureflags #DevOps
System Overview GPS Operated by the United States Air Force. Global coverage available since April 1995. Space segment includes 32 satellites arranged into 6 orbital planes, each with a minimum of …
P99 CONF: Sharpening our Axes to Battle Latency Misery
Engineers spoke of their hard-fought performance battles and lessons learned across infrastructure, programming languages and measuring performance. #SRE #observability #P99CONF
While working on a demo for processing change events from Postgres with Apache Flink,
I noticed an interesting phenomenon:
A Postgres database which I had set up for that demo on Amazon RDS, ran out of disk space.
The machine had a disk size of 200 GiB which was fully used up in the course of less than two weeks.
Now a common cause for this kind of issue are replication slots which are not advanced:
in that case, Postgres will hold on to all WAL segments after the latest log sequence number (LSN) which was confirmed for that slot.
Indeed I had set up a replication slot (via the Decodable CDC source connector for Postgres, which is based on Debezium).
I then had stopped that connector, causing the slot to become inactive.
The problem was though that I was really sure that there was no traffic in that database whatsoever!
What could cause a WAL growth of ~18 GB/day then?
As of late, concerns about the future of Twitter have caused many of its
users to seek alternatives. Amid this upheaval, an open-source
microblogging service called Mastodon has received a great deal of
attention. Mastodon is not reliant on any single company or central
authority to run its servers; anyone can run their own. Servers communicate
with each other, allowing people on different servers to send each other
messages and follow each other's posts. Mastodon doesn't just talk to
itself, though; it can exchange messages with anything that speaks the ActivityPub protocol.
There are many such implementations, so someone who wants to deploy their own
microblogging service enjoys a variety of choices.