T3kh1e retweeted
Notification system v1
Current capacity estimates:
~10-30M DAU
~100-300M notifs/day
~10-20K peak QPS
~200ms p99 latency
T3kh1e retweeted
17-page PDF explains Hidden Markov Models (HMM): web.stanford.edu/~jurafsky/s…
T3kh1e retweeted
fundamentals of product audit logs
→ auditlog.dev
T3kh1e retweeted
Adding this to my reading list: "Understanding the Limitations of Pubsub Systems" by Atul Adya, Phil Bogle, and Colin Meek (Databricks) - Adya's a prominent name in distributed systems, so curious to dig into this one.
dl.acm.org/doi/pdf/10.1145/3…
If you've already read this, what are your thoughts?
T3kh1e retweeted
celld might be the most important architecture project of the year.
Ryan Dahl's latest project brings Durable Objects, Cloudflare’s compute/SQLite primitive (which is perfect for building cloud agents) out of the orange cloud and into any environment.
For those of you who don’t spend your waking (and sleeping) hours perfecting cloud agents (ahem, standardcode.ai mentioned), let me fill you in on some of the challenges involved and why Durable Objects are such a breakthrough for agents:
1. Thread isolation. Every agent thread needs its own execution environment. Compute, memory, and storage need to be unique per agent, even per sub-agent. This has led many folks down the very dark and nasty path of “sandboxes”: Docker, Kubernetes, VPSs, and a slew of other unholy tooling altogether unfit for the job.
Durable Objects on the other hand, are like little primitives with distinct compute, their own memory, an HTTP handler, a WebSocket handler, and a SQLite database. A “cold” start is measured in tens of milliseconds, and you can run dozens of these in parallel on a single thread. Perfect for agents.
2. Storage. Agents produce a ton of data. So much data that logging becomes a significant bottleneck for any agentic platform. Durable Objects again solve this problem by distributing writes across distinct threads.
Each thread—or agent—can be feverishly writing logs and storing data in its local SQLite database without running into table locks, because each database is distinct to that thread.
3. I/O. Agents need to be connected to the outside world—and, ideally, to you. Durable Objects also solve this by providing a fetch handler that accepts HTTP requests and WebSocket connections, along with a unique hibernation API that allows the object to hold a connection while being shut down.
You can think of them almost like tiny little servers.
So why doesn’t everyone build on Durable Objects?
Honestly, more people should. Frankly, Cloudflare has struggled to explain this primitive to developers. But Durable Objects also have an Achilles’ heel: they only run on… Cloudflare.
Cloudflare is a great hosting provider, and I personally use their services all the time. But building a product that can run on only one hosting provider isn’t a proposition many CTOs want to sign up for.
Enter celld.
Now you can use the same primitive, with the same API and the same benefits, in any cloud, anywhere.
Thank you again, @rough__sea.
T3kh1e retweeted
Today we are releasing Cloudflare OS, a chatbot with connectors, just like every other tech company is doing.
Except actually, it's different. This is a remake of Sandstorm[.]io, my startup from 10 years ago, except this time built on Cloudflare Workers (the platform I've spent the last 9 years building) and deeply leveraging AI. This is more or less the culmination of my secret 10-year master plan.
This is a full-on personal app vibe coding platform, in which the sandbox is so secure that you can pretty much go wild -- the AI cannot introduce a significant security bug. We believe a company's security team can feel comfortable giving non-technical users permission to vibe code and then sleep soundly at night.
How is that possible? It's the Sandstorm security model, revisited. A "Gadget" is the same thing as a Sandstorm "Grain": a fine-grained app instance. For example, if you have a document editor app, each document runs as a separate instance of the app, in a separate sandbox (one "Gadget").
This means two things, both of which I think are Big Deals:
1. The platform can manage all access control, by controlling who can access the Gadget at all. There is no way the Gadget can accidentally leak itself to an attacker -- even an attacker who has access to other Gadgets based on the same app.
2. Since everyone is running their own copy of the code, everyone can freely *modify* their copy of the code.
Think about #2 a bit more.
What if, when you wanted a new feature in the software you are using, you could just prompt your agent to add it?
This doesn't work in the cloud Software-as-a-Service model, because you are not running your own copy of the app.
Sandstorm tried to change that 10 years ago, but the world wasn't ready, because not enough people had the skills or patience to actually modify their software. AI has changed that. Now you just ask the agent -- the same agent that you are using to help you interact with the Gadget can also modify the code of the Gadget.
And it is so fun.
github.com/cloudflare/cloudf…
T3kh1e retweeted
blog.cloudflare.com/cloudfla…
An open source agent workspace for your team.
It’s been incredible to see how different pockets of the company have been evolving these past few months over the many iterations of this. really proud of the team, and still so much to do!
if you’re interested, or know someone interested in working on something like this, I would love to hear from you! dms are open
T3kh1e retweeted
youtu.be/6o6Zf9vVl3w
4th in A small theory of collaborative mental work
Comm effectiveness drops as you lose body language, voice, drawing, cross-modality timing, question and answer.
(p.s. watch for fragments of the xedline to show up here and at patreon.com/c/AlistairCockbu…)
T3kh1e retweeted
cloudflare keeps building things that reduce their revenue 😂
this is awesome btw!
We are launching Workers Cache, a regionally tiered cache that sits directly in front of your Worker entrypoints. Infinitely composable, configured via standard HTTP headers. cfl.re/44IVyfI
T3kh1e retweeted
"Prioritization Happens In Layers".
by Ant Murphy
antmurphy.me/newsletter/prio…
T3kh1e retweeted
Replying to @mmisztal1980
I've just made my POC runtime public, with instructions on running it yourself if you wish :) It also has a link to the PR against roslyn for the CSX Syntax implementation github.com/MattParkerDev/Csx…
T3kh1e retweeted
Your website search can return zero results.
Even when the right article is already there.
Why?
Because readers often search for a problem.
Your site searches for exact words.
Someone may search for "database performance issues".
But your best article may use words like:
→ Query tuning
→ Indexes
→ Slow EF Core queries
The content is useful.
The words simply do not match.
This is where semantic search helps.
Instead of matching only text, it tries to match meaning.
The flow is simple:
1. Turn your content into embeddings
2. Store those embeddings in a vector index
3. Turn each search query into an embedding
4. Find the content with the closest meaning
I built this in .NET using Semantic Kernel, Amazon Bedrock, and Amazon S3 Vectors.
For a blog, documentation site, or small app, this is an interesting way to add smarter search without setting up a separate vector database.
Keyword search still has value.
But your users should not need to know the exact words you used before they can find the right answer.
See how the full implementation works: milanjovanovic.tech/blog/bui…
T3kh1e retweeted
Push-based systems come up in 90% of system design interviews.
Here's the exercise you should be able to solve:
Design a notification system for 100M users. Some have 50 followers. Some have 10M.
The instinct is to hold a WebSocket connection open to every active user and push updates as they arrive. Clean mental model. It collapses the moment a celebrity posts.
When someone with 10M followers posts, you push to 10M open connections simultaneously. Your message broker saturates. Your WebSocket servers fall over. The system fails at the exact moment it needs to work.
That's the fan-out problem. And it kills more interview answers than any other mistake.
The production answer: push and pull aren't binary. You pick based on follower count. Users with fewer than 1,000 followers get push fan-out. Each follower gets notified immediately.
Users with millions of followers get pull fan-out. Their feed assembles on read. Nobody gets a push. Followers see the post when they open the app.
Twitter built exactly this: push-on-write for small accounts, pull-on-read for large ones.
But fan-out is only half the problem.
Push means stateful connections. Your servers now need to know which connection lives on which machine. You can't route blindly. Most teams reach for Redis pub/sub here; the WebSocket server subscribes, the backend publishes, the message finds the right node.
Add a 3-second network drop and you have another layer: what did the client miss? Now you need sequence IDs, a message buffer, and reconnect logic that replays missed events.
"Push-based" became push with a pull fallback, a message broker, sticky routing, and a replay buffer.
Most engineers stop at the first diagram.
The ones who get the offer keep pulling the thread until the system breaks.
T3kh1e retweeted
For two decades, S3 has been an object store, but today it's something broader. S3 Files lets you mount any bucket as a filesystem—no copies, no sync scripts, no choosing between file and object. @andywarfield tells the full story, including the "filerectories" that almost made the cut. allthingsdistributed.com/202…
T3kh1e retweeted
🆕 The Popover API is Baseline, no JavaScript needed
Tooltips, dropdowns, and menus with just HTML attributes.
⋅ popover attribute on any element
⋅ popovertarget to wire the trigger
⋅ Accessible by default, no ARIA hacks
Learn more 👇
developer.mozilla.org/en-US/…
T3kh1e retweeted
One CSS property just killed the need for JavaScript in every FAQ accordion you've ever built.
Seriously.
The property is interpolate-size: allow-keywords
T3kh1e retweeted
HTML/JavaScript tip:
By useing the `commandfor` attribute on a button, you can point directly to an interactive element (like a `<dialog>` or a popover) and tell it what to do.
This is a billion-dollar idea!
This is an open-source tool that detects signs of burnout in employees before it becomes a problem.
The project is called On-Call Health, and here's how it works:
It combines two types of signals:
1. Objective data from tools like PagerDuty, Slack, GitHub, Linear, and Jira. Think of incident volume, after-hours pages, number of tasks, etc.
2. Self-reported check-ins. These are short surveys asking engineers how they actually feel.
Based on both, the application computes a burnout risk score.
For example, if you have someone on your team who's been troubleshooting multiple incidents outside working hours, the tool will signal you should check in with them.
Something that's really interesting:
The tool measures everything against individual and team baselines. It tracks trends over time rather than comparing people against each other.
They also use LLMs to summarize changes and give managers a quick readout before weekly reviews.
While none of this is medical advice, and scores are purely indicative, a tool like this can surface patterns that you wouldn't notice otherwise.
100% free. You can self-host it or use their hosted version.
I'm linking to it below:



































