frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Which is the best sync engine?

5•olivieropinotti•1d ago
Hey HN!

For a new app I'm developing I'd like to give it the fast and responsive feel that apps like Linear have. By having real-time querying, syncing and write operations.

I'm no expert on the matter, so feel free to educate me. I have looked into a couple of options such as Convex, ElectricSQL, Zero, Liveblocks, etc..

I feel like they always come short in a couple of ways and the best way to summarize that is their modularity.

What I would love in a sync engine:

- Being able to use my database (Postgres, AWS RDS)

- Being able to form and execute queries in my backend (suppose I have frontend in Next.js (Vercel) with an API route to my FastAPI server (AWS ECS) where I have all of my auth / permission middleware, etc.)

- Have a simple and familiar way to declare the schemas to the sync engine (like re-using SQLalchemy's or Drizzle's schemas)

- A simple SDK to form queries that uses SQL

Further, I wonder how such a system would work with connection pooling, sharding, replication etc.

Does something like this exist? Or what are the major challenges that prevent this from existing?

Comments

OmarFaruk0x01•16h ago
I think you can use Tanstack DB in this case. It fits what you need ideally, if I'm not wrong. It's a wrapper over Electric. However, it's currently in beta, so you can check it out. It's too handy and simple

https://tanstack.com/db/latest/docs/overview

0xblinq•5h ago
Dexie is my favorite, although I haven’t tried them all of course.
gethly•1h ago
https://vitess.io/

https://www.cockroachlabs.com/

https://www.pingcap.com/

Tell HN: Merry Christmas

1359•basilikum•13h ago•320 comments

Ask HN: Payload in Amazon "Shipped" Emails

2•krautburglar•1h ago•1 comments

Ask HN: Did any projects succeed with crowdfunding?

3•asim•2h ago•1 comments

Ask HN: Good uses cases for Fabrice's microquickjs

10•fud101•10h ago•2 comments

Ask HN: At 34, can I aspire to being more than a JavaScript widget engineer?

11•yesitcan•7h ago•9 comments

Looking for Decent Conversation?

89•kmstout•16h ago•13 comments

Ask HN: HarmonyOS Open Source Development

2•rumpelstiel•4h ago•0 comments

Tell HN: Merry Christmas

86•franze•1d ago•53 comments

Ask HN: What are the best engineering blogs with real-world depth?

428•nishilpatel•2d ago•127 comments

Google Cloud Run cost me $4,676 in 6 weeks with zero traff

38•creativesage•17h ago•24 comments

Ask HN: How many HN'ers Celebrate Christmas vs. ?

11•gist•11h ago•10 comments

Stronk.app – open-source gym lifts journal

59•apatheticonion•1d ago•29 comments

Ask HN: Why isn't there competition to LinkedIn yet?

55•antfie•2d ago•56 comments

Ask HN: Why isn't everyone talking about (and using) Cerebras?

6•ray__•13h ago•0 comments

Could the optimal vibe coder be fundamentally different from the optimal SWE?

3•inshard•14h ago•2 comments

Tell HN: Merry Christmas

17•teruakohatu•1d ago•4 comments

Ask HN: My mother was scammed out of all her savings. What should I do?

129•scapbi•2d ago•66 comments

Ask HN: Oberon et al., vs. Rust

16•mikethe•2d ago•30 comments

Ask HN: Why is Hacker News red? Christmas?

11•onesandofgrain•11h ago•11 comments

Ask HN: What developer tool do you wish existed in 2026?

19•allenleee•3d ago•18 comments

Ask HN: What did you lose forever because you had no backup?

15•postit•1d ago•15 comments

GitHub is returning Gateway Time-outs

9•pera•21h ago•6 comments

Ask HN: Which is the best sync engine?

5•olivieropinotti•1d ago•3 comments

Ask HN: Can you patent prompts?

12•rcarmo•1d ago•17 comments

Cloudflare Stream + Backblaze vs. GCP for Short Form Video?

3•slroger•1d ago•7 comments

Ask HN: Do you have an exit plan for Slack?

7•gtirloni•17h ago•4 comments

Ask HN: How do you use the "waiting time" while Claude (other LLMs) is working?

7•pedrodelfino•19h ago•5 comments

Ask HN: Anybody here ever write apps for Windows Phone?

3•ge96•1d ago•2 comments

I built two dozen single-file HTML tools that run offline and need no back end

17•ajtracysk•3d ago•13 comments

SSH Tiny.christmas

9•cyanbane•17h ago•1 comments