One Lock to Rule Them All
How to simplify migrations thanks to postgres advisory locks using rust and sqlx. Observing the locks with bpftrace.
tags
How to simplify migrations thanks to postgres advisory locks using rust and sqlx. Observing the locks with bpftrace.
SQLx prepares and caches every query you run, transparently, in an LRU that belongs to the connection rather than the pool. This post traces the Postgres wire protocol with bpftrace to watch what is happening under the hood.
How does a programming language inspire purpose? In this post, I share my journey of discovering rust's guiding principle—'empowering everyone to build reliable and efficient software'—and how it helped me uncover my own 'why.' From my unconventional start in technology to finding tools that align with my values, this story explores the profound connection between rust's philosophy and my growth as a developer. Along the way, I also highlight some of the best resources that make Rust accessible and empowering for everyone.
Analyzing the CPU usage of the system using various tools like uptime, vmstat, mpstat, turbostat, perf, eBPF based tools, runqlat, runqlen.
How to find stuff in the terminal like files, patterns in files, git and shell history and more.
Discover the benefits of using NixOS for building a personal, federated blog in my latest series. Follow along as we explore its simplicity and efficiency.