Writing & Videos — Page 12

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

September 2025

Sep 18
Building a Redis clone in Go - Part 7 (SAVE and BGSAVE) thumbnail
YouTube

Building a Redis clone in Go - Part 7 (SAVE and BGSAVE)

I implement the SAVE and BGSAVE commands in my Go Redis clone, after tightening the RDB layer: a read lock in saveRDB so snapshots don't race with writes, an os.O_TRUNC flag so every save overwrites stale data, os.Open…

Watch →
Sep 15
Building a Redis clone in Go - Part 6 (DEL, EXISTS, KEYS, & Concurrency) thumbnail
YouTube

Building a Redis clone in Go - Part 6 (DEL, EXISTS, KEYS, & Concurrency)

I fix the concurrency bug that crashed my Go Redis server the moment a client disconnected, then implement the DEL, EXISTS, and KEYS commands.

Watch →
Sep 13
Building a Redis clone in Go - Part 5 (RDB Data Persistence) thumbnail
YouTube

Building a Redis clone in Go - Part 5 (RDB Data Persistence)

I implement RDB data persistence for my Go Redis clone by snapshotting the in-memory store to disk and reloading it on server start.

Watch →
Sep 10
Building a Redis clone in Go - Part 4 (Append-only Data Persistence) thumbnail
YouTube

Building a Redis clone in Go - Part 4 (Append-only Data Persistence)

I implement append-only file persistence for my Redis clone in Go, showing how Redis can durably replay SET commands from disk instead of relying only on in-memory state.

Watch →
Sep 08
Building a Redis clone in Go - Part 3 (Concurrent Server, Config Parser) thumbnail
YouTube

Building a Redis clone in Go - Part 3 (Concurrent Server, Config Parser)

I add concurrency to my Go Redis clone by wrapping the store in a sync.RWMutex — ReadLock for GET, Lock for SET — so multiple clients can hit the same commands without race conditions, then build a parser for a minimal…

Watch →
Sep 05
Building a Redis clone in Go - Part 2 (GET, SET, Writing to client) thumbnail
YouTube

Building a Redis clone in Go - Part 2 (GET, SET, Writing to client)

I build the actual data layer of my Go Redis clone: GET and SET handlers over an in-memory map, plus a Writer abstraction that serializes my Value structs into RESP so I never hand-construct plus signs and CRLF pairs…

Watch →
Sep 04
Building a Redis clone in Go - Part 1 (TCP server, RESP protocol) thumbnail
YouTube

Building a Redis clone in Go - Part 1 (TCP server, RESP protocol)

I build the first working layer of a Redis clone in Go: a TCP server on port 6379 that speaks enough RESP to parse real redis-cli commands.

Watch →
Sep 01
How to pick perfect icon libraries thumbnail
YouTube

How to pick perfect icon libraries

I explain how to pick an icon library for a design project by comparing real icon sets and the tradeoffs that matter.

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