Instant is a real-time database you can use on the frontend. We give you the best of both Firebase and Supabase, a sync-engine with support for relations. This is the kind of tech that companies like Figma, Notion, and Linear build internally to power their products (Try out the demo)
We're looking for a founding full-stack engineer to join our team in San Francisco. We're looking for someone who:
We're looking to build the next Firebase. We want to make it easier for developers to build delightful applications.
We were part of the summer 2022 batch in YC and raised a $3.4M seed round from a slew of great angels like former Firebase CEO James Tamplin, Paul Graham, Greg Brockman, and Jeff Dean
Internally we have a hacker mentality — we build quickly, we are kind to each other, and relentlessly focused on making our users happy. We also love sharing our ideas with the broader community, with a slew of our essays making the top of HN [1] [2] [3]
If you like videos, you can watch Stopa, our CTO, talk about Instant at Clojure Conj
Our current stack looks like so:
Inside the SDK there's a client-side database which can run queries just the like the server does. The client-side DB is what makes it possible for Instant to work offline, and to get optimistic updates out of the box. And it's full of problems that make computer science textbooks come alive. Here are some opportunities for improvements we'd love your help on.
Better joins: the client runs a nested loop to implement joins. But as we increase how much we cache, nested loops could become a problem. Perhaps it's time to add hash joins!
Better indexes: we use a map of maps for our indexes. This works, but comparison queries will be less efficient then they have to be. Perhaps it's time to consider writing an OrderedSet
Better introspection: we built a state machine to manage how different events interact: websocket updates, connection changes, client / server changes. But it's quite hairy and hard to reason about. Can we make it easier to observe events and replay them? Perhaps we could look into the actor model or structured concurrency for inspiration.
Better local storage: we treat IndexedDB as a key values store and serialize large chunks of state. Can we serialize in smaller chunks instead?
Less re-renders: Right now queries can change more than is needed. We want every update to be finer-grained, so users have less re-renders.
There's also new surfaces to be built. Right now we have a GUI sandbox that lets you run queries and transactions. This can be very useful for debugging but there's a lot missing here. One of the biggest pain points users have is crafting and testing permissions. It would be great if we had a better experience for rapidly testing permission rules against data.
Sound interesting? If so here's a few more details :)
Our vision is to be the infrastructure for all apps of the future. If this jives with you we should really talk 🙂. Send us an email: founders@instantdb.com with a bit about yourself, and a project you've worked on.