Damien Tanner
๐ค SpeakerAppearances Over Time
Podcast Appearances
That's really important in voice as well.
There's kind of often quite big spikes, like 9 a.m., everyone's calling up.
Everyone's calling up somewhere that's got a voice agent and asking to book an appointment or something.
You get these big spikes.
You want to be able to scale.
And you need to scale very quickly because you don't want people waiting around.
And if you throw tons of users on the same system and you start overloading it, then suddenly people get this problem where the agent starts responding in three seconds instead of one second.
And it sounds weird.
But yeah, Cloudflare gives you an incredible amount of that for no effort.
And I think compared to Lambda and stuff, it's also pretty... It's just a HTTP interface to your worker.
There's nothing in front.
And you can do web sockets very nicely.
And there's this crazy thing called durable objects, which I think is a...
is a bad name.
And it's also kind of a weird piece of technology, but it's a, you know, a little JavaScript runtime that, um, is, has a, is persistent basically, and has a little Escalite database attached to it.
And it is, I don't know what the right word of it's kind of like
It's not the right word for JavaScript, but it's basically, think of it like ThreadSafe.
So you can have it take a bunch of WebSocket connections and do a bunch of SQL writes to its SQL light database it has attached.
And you don't have to do any kind of special stuff dealing with concurrency and atomic operations.
So you can, you know, the simple example is just have like a, implement a rate limiter or a counter or something like that.