Writing & Videos — Page 11

Page 11 of 15: older articles, tutorials, and videos.

October 2025

Oct 15
Building a Redis clone in Go - Part 19 (INFO command) thumbnail
YouTube

Building a Redis clone in Go - Part 19 (INFO command)

The INFO command is the last major piece of my Redis clone, and in this part I build out the server, client, and memory sections of its response.

Watch →
Oct 13
Building a Redis clone in Go - Part 18 (MONITOR command) thumbnail
YouTube

Building a Redis clone in Go - Part 18 (MONITOR command)

I fix a missing mutex unlock bug in my Go Redis clone, refactor the code into focused files, and then implement the MONITOR command so one client can receive every command other clients run.

Watch →
Oct 11
Building a Redis clone in Go - Part 17 (allkeys-lru and allkeys-lfu) thumbnail
YouTube

Building a Redis clone in Go - Part 17 (allkeys-lru and allkeys-lfu)

I implement Redis's allkeys-lru and allkeys-lfu eviction policies in my Go Redis clone by sorting sampled keys with the metadata already stored on each item, then reusing my evict-until-memory-freed loop.

Watch →
Oct 08
Building a Redis clone in Go - Part 16 (Fixing AOF file sync) thumbnail
YouTube

Building a Redis clone in Go - Part 16 (Fixing AOF file sync)

I fix AOF file sync in my Go Redis clone by making every array read share one buffered reader instead of creating a fresh reader each time, which was causing replay to restore only the first key.

Watch →
Oct 06
Building a Redis clone in Go - Part 15 (Evicting Keys & allkeys-random eviction) thumbnail
YouTube

Building a Redis clone in Go - Part 15 (Evicting Keys & allkeys-random eviction)

I implement the allkeys-random eviction policy for my Go Redis clone by sampling a bounded set of keys and deleting until memory is freed.

Watch →
Oct 03
Building a Redis clone in Go - Part 14 (Managing Memory & Evictions) thumbnail
YouTube

Building a Redis clone in Go - Part 14 (Managing Memory & Evictions)

I add real memory management to my Go Redis clone: every key now reports its approximate footprint, and the server refuses writes once it hits a configured max-memory limit.

Watch →
Oct 01
Building a Redis clone in Go - Part 13 (Database Transactions) thumbnail
YouTube

Building a Redis clone in Go - Part 13 (Database Transactions)

I implement Redis-style database transactions in my Go Redis clone, adding MULTI, EXEC, and DISCARD command handlers and a transaction queue that holds commands until execution.

Watch →
Hassan Aziz pointing up

Dude, you’re at the bottom of my landing page.

Just book a call already if you’re that interested.

You scrolled all the way here.

Book a free call on Calendly