Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Topics Compilers & runtimes

Concurrency

Threads, async/await, locks, lock-free structures, actors.

Search within Concurrency, or combine it with other topics →

November 2026

October 2026

September 2026

August 2026

July 2026

OLX Tech

Handling concurrency on the Web with Web Locks API

Case study 6 min +60 XP

OLX uses the browser's Web Locks API to stop multiple open tabs from each resuming the same large (up to 20GB) S3 upload after a restart. localStorage-plus-polling suffers from non-atomic writes and stale locks, and BroadcastChannel forces you to hand-roll a coordination protocol, whereas navigator.locks offers an atomic mutex that is released automatically when a tab closes or crashes.

June 2026

May 2026

March 2026

ClickHouse

Designing the new async-native ClickHouse Python client

Deep dive 12 min +120 XP

The new async-native clickhouse-connect client replaces the legacy thread-pool wrapper with aiohttp for network I/O and a half-sync/half-async design: an async producer streams response chunks into a bounded queue (10 chunks of up to 1MB) while the existing synchronous Native-format parser consumes them in an executor thread, with the same queue reversed for inserts.

January 2026

The quest for software engineering knowledge.

Look:
Layout: