RSSAmplifier

Rezha Julio · Feb 9, 2026

Over-Engineering a Clap Button, Again

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

In the previous post , I built a clap button for this blog using Cloudflare Workers and KV. It worked. Mostly. The problem was concurrency. KV is an eventually consistent key-value store. When two people clap at the same time, both reads return the same value, both increment by one, and one clap disappears. Read-modify-write on KV is not atomic. For a blog that gets three readers on a good day,…

Read on rezhajul.io

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.