AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Differences Between Event-Based and State-Based Views of the World
In a traditional database, you have a state-based view of the world and it's pull. We're operating on a model that is, I think in the long run, is and could be superior. And so we use this event-based approach. It does take a little bit of work if you want to do queries, like select all cart where it contains pencils or whatever. That becomes more challenging. But it's not too bad in my mind. Then there's also this push versus pull thing. So it's relatively easy on standard servers when you get a pull request, which says, give me the cart with this ID. Well, you go to your index on disk