Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

2 years, YC, 5 team members, and 2000 commits later: Instant is now open source!

365,598 görüntüleme • 2 yıl önce •via X (Twitter)

11 Yorum

Stopa profil fotoğrafı
Stopa2 yıl önce

Instant is modern Firebase [1]. You write relational queries in the shape of the data you want and Instant handles all the data fetching, permission checking, and offline caching. Here's the code: [1] @JamesTamplin backs us

Stopa profil fotoğrafı
Stopa2 yıl önce

We also support ephemeral updates, like cursors, or who's online, and ship with four SDKs: Javascript, React, React Native, and Node. How does it look? Here's a barebones chat app in about 10 lines:

Stopa profil fotoğrafı
Stopa2 yıl önce

We built Instant because writing web apps today is full of schleps. Just basic CRUD: models, endpoints, stores, and optimistic updates. Try multiplayer, and you get stateful servers. Support offline mode, and you think about IndexedDB. It doesn't have to be like this

Stopa profil fotoğrafı
Stopa2 yıl önce

In 2021, we realized that these schleps are actually database problems problems in disguise! If you had a database on the client, you wouldn't need to think about stores, selectors, endpoints, or local caches: just write queries. If these queries were multiplayer by default, you wouldn't have to worry about stateful servers. And if your database supported rollback, you'd get optimistic updates for free.

Stopa profil fotoğrafı
Stopa2 yıl önce

So we built Instant. Instant gives you a database you can use in the client, so you can focus on what’s important: building a great UX for your users, and doing it quickly.

Stopa profil fotoğrafı
Stopa2 yıl önce

How does it all work? At a high level, we're a relational sync engine. Our architecture is inspired by Asana's Luna, Figma's LiveGraph, and Datomic. More details on the github:

Stopa profil fotoğrafı
Stopa2 yıl önce

Under the hood, we store all user data as triples in one big Postgres database. A multi-tenant setup lets us offer a free tier that never pauses.

Stopa profil fotoğrafı
Stopa2 yıl önce

Want to get started? We built a pretty cool demo for you: you can try Instant without even signing up! Check it out:

Samuel (not Sam) Stroschein profil fotoğrafı
Samuel (not Sam) Stroschein2 yıl önce

> If you had a database on the client, you wouldn't need to think about stores, selectors, endpoints, or local caches: just write queries. How does instant differ from running sqlite or pglite on your client with a sync engine like electricsql?

Jarred Sumner profil fotoğrafı
Jarred Sumner2 yıl önce

congrats!

Stopa profil fotoğrafı
Stopa2 yıl önce

Thank you Jarred! We're big fans of bun; I love seeing how fast you guys ship.

Benzer Videolar