Skip to content
dethlex

Digital garden

Working notes, tended over time. Some are fresh seedlings, some have been growing for a while, a few are evergreen.

seedling
— a fresh, rough idea
growing
— tended and expanding
evergreen
— mature and reliable

seedling

Trident 660, first thousand kilometers

Notes after a month with Triumph's little triple on Cyprus roads — what the spec sheet doesn't tell you about heat, hairpins and the sound at 7000 rpm.

2 min#motorcycles#offline

evergreen

Why ClickHouse wants your inserts in batches

Every INSERT into MergeTree creates a part on disk. Feed it row-by-row and you trade write throughput for a merge storm — batch, or let async inserts batch for you.

3 min#clickhouse#performance

growing

Lock-free config reloads in Go with atomic.Pointer

When 100k RPS worth of goroutines read a lookup table that reloads every minute, RWMutex is the wrong tool. Build the new snapshot aside and swap one pointer.

2 min#go#concurrency#performance