Dr

DriftDB – an open source WebSocket backend for real-time apps

Hacker News

DriftDB – an open source WebSocket backend for real-time apps

Hey HN! I’ve written a bunch of WebSocket servers over the years to do simple things like state synchronization, WebRTC signaling, and notifying a client when a backend job was run. I realized that if I had a simple way to create a private, temporary, mini-redis that the client could talk to directly, it would save a lot of time. So we created DriftDB. In addition to the open source server that you can run yourself, we also provide https://jamsocket.live where you can use an instance we host on Cloudflare’s edge (~13ms round trip latency from my home in NY). You may have seen my blog post a couple months back, “You might not need a CRDT”[1]. Some of those ideas (especially the emphasis on state machine synchronization) are implemented in DriftDB. Here’s an IRL talk I gave on DriftDB last week at Browsertech SF[2] and a 4-minute tutorial of building a cross-client synchronized slider component in React[3] [1] https://news.ycombinator.com/item?id=33865672 [2] https://www.youtube.com/watch?v=wPRv3MImcqM [3] https://www.youtube.com/watch?v=ktb6HUZlyJs

Share card

Actual performance

367points
101comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Hacker NewsStrong engagement from HN community · Strong signals: open source, ide, io · Missing: https docs, excited, just released
89%89% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersFits the IH revenue-focused audience · Strong signals: created · Missing: supports, reddit linkedin, podcasting
76%76% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, apps, new · Missing: agents, macos, agent
72%72% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: apps, month, way · Missing: mobile apps, ios, personal
46%46% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: host · Missing: plus, platform, intuitive
35%35% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
14%14% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Op
Open-source and real-time orchestrator for distributed architectures70%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Open-source and real-time orchestrator for distributed architectures

Hacker News10
De
Dekart – open-source backend for Kepler.gl64%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Dekart – open-source backend for Kepler.gl

Hacker News1
He
HertzBeat – An open-source, real-time monitoring system52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

HertzBeat – An open-source, real-time monitoring system

Hacker News3
Gr
GraphQL lib for real-time apps63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GraphQL lib for real-time apps

Hacker News68
An
An Open-Source MySQL HTAP Database for OLTP, Real-Time Analytics47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

An Open-Source MySQL HTAP Database for OLTP, Real-Time Analytics

Hacker News1
Yl
Ylem – an open-source orchestrator for real-time data streaming85%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Ylem – an open-source orchestrator for real-time data streaming

Hacker News3
Wh
Why are we building an open source mobile backend?62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Why are we building an open source mobile backend?

Hacker News9
Ma
Mapus – An open source map tool with real-time collaboration67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Mapus – An open source map tool with real-time collaboration

Hacker News7
Pulsetracker
Pulsetracker53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Your backend for real-time location tracking

Indie Hackersapis
Pulsetracker
Pulsetracker58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Your backend for real-time location tracking

Indie Hackerscommitment-full-time