posted a writeup.
how i built pastel, a real-time multiplayer skribbl, in rust.
covered:
- postcard wire codec, rust/ts byte parity
- one tokio actor per room
- bots that draw real human sketches
and much more...
[link in comms]
5 months ago i sketched out a distributed lock sdk. today i shipped enough of it that i think it's actually usable.
it's called lowkey. distributed locks in go.
- CP over AP, because for locks, wrong answers are worse than no answers.
- raft for consensus, fencing tokens to keep stale clients from corrupting state, monotonic clocks because wall time lies.
> p50 of 2.87ms, p99 under 6ms.
the trick that bought most of the speed: not everything needs raft. lease renewals run leader-only, so heartbeats skip the consensus round-trip. acquires and releases still go through the log because those actually change state.
[github link in comments]
Hiring a growth marketing Intern.
I need a cracked cool Intern.
You’ll work across:
-Meta Ads
-Analytics & performance tracking
-Ad copywriting
-Creative strategy & growth experiments
An interest in finance and the stock market is a plus.
Application link in the comments