Best of Anton ZhiyanovJuly 2025

  1. 1
    Article
    Avatar of antonzAnton Zhiyanov·41w

    Redka: Redis re-implemented with SQL

    Redka is a Redis-compatible server and Go module that reimplements Redis functionality using SQL databases (SQLite or PostgreSQL) as the backend. It supports five core Redis data types (strings, lists, sets, sorted sets, hashes) and offers both standalone server and embedded library usage. While not matching Redis performance, Redka handles tens of thousands of operations per second and provides benefits like SQL introspection, embedded caching for Go apps, and simplified testing environments.

  2. 2
    Article
    Avatar of antonzAnton Zhiyanov·41w

    Gist of Go: Signaling

    Explores Go concurrency signaling mechanisms beyond channels, covering sync.Cond for condition variables, broadcasting to multiple goroutines, implementing publish/subscribe patterns, sync.Once for one-time execution, and sync.Pool for memory reuse optimization. Demonstrates practical examples of goroutine synchronization using condition variables with proper mutex handling, broadcasting signals to multiple subscribers, and memory-efficient object pooling.