PostgreSQL Internals: 3 Things to Know About UPDATE Statements
I recently finished reading PostgreSQL 14 Internals by Egor Rogov. It is one of the great books that teach applied computer science without watering down the difficult parts.
One particularly interesting topic is PostgreSQL’s execution of UPDATE statements. Updates in relational databases are inherently complex. They can be affected by conflicts, anomalies, and deadlocks. However, some behavior is specific to PostgreSQL. This can lead to surprises.
1. Write Amplification PostgreSQL generally does not update rows in-place.
read more
Professionalism in Software Engineering
Having worked as a software engineer for a few years, it turns out software engineering is a profession like many others: you are part of a team with fellow humans, and working to achieve something in a collaborative fashion.
I find it important that we enjoy working with each other. I would like to be a reliable, cooperative, and helpful coworker. In short, I would like to be a professional (but never boring) version of myself.
read more
Launch Your API on AWS Free Tier — A Step-By-Step Guide
Recently, I was trying to deploy a backend API for my favorite party game Ryggio on Amazon Web Services (AWS). To my surprise, a comprehensive1 deployment guide was missing—which motivated this attempt to create one.
This guide attempts to include everything for your API to be production-ready, including:
Basic configuration of Amazon Elastic Beanstalk How to use a custom domain Securing your API using TLS encryption (HTTPS) The best of all this: Apart from the domain, you can get all of this for free2 using AWS Free Tier.
read more