5min chapter

Metamuse cover image

78 // Local-first, one year later

Metamuse

CHAPTER

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

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode