PowerSync

1.5K posts

PowerSync banner
PowerSync

PowerSync

@powersync_

Sync engine for keeping backend databases in sync with in-app SQLite. Postgres | MongoDB | MySQL | SQL Server 🐘🌿🐬🛢️«-» 🪶

Distributed Katılım Mayıs 2023
784 Takip Edilen2.2K Takipçiler
arewa_coder
arewa_coder@arewa_coder·
@EOEboh You'll most probably need a Local database like sqlite and a sync engine. 🤷‍♂️
English
1
0
11
1.1K
Cap-EO 👨🏾‍💻
Cap-EO 👨🏾‍💻@EOEboh·
You're building an offline-first note-taking app Users need to store thousands of notes, search through them, and sync when back online. What's the actual tool for this job?
English
13
6
91
11.9K
PowerSync retweetledi
Kobie sync/acc
Kobie sync/acc@k081e·
A few months ago I tested LLMs as a prototyping accelerator... and ended up going down the rabbit hole of adding support for Convex to PowerSync... and ended up actually shipping it 🙈 If your users are asking for your Convex app to work offline, I'd love to hear your thoughts on this. Notes 👇
English
1
1
3
229
PowerSync retweetledi
Kobie sync/acc
Kobie sync/acc@k081e·
We shipped initial support for Convex as a source database. "Adding PowerSync to a Convex app gives you offline-first behavior, optimistic updates, and partial sync."
English
1
1
1
284
PowerSync
PowerSync@powersync_·
Evidence of how Sync Streams solve partial sync at scale - in this case a user is syncing 5B rows in their backend database to millions of rows in SQLite
PowerSync tweet media
English
1
0
3
563
PowerSync
PowerSync@powersync_·
Self-managed Private Endpoints are now available: - Connect your source database over private AWS networks - Zero public internet exposure - Fully self service - no need to contact support releases.powersync.com/announcements/…
English
0
0
2
255
PowerSync
PowerSync@powersync_·
In this fun video, Steven shows us how he created an experimental @MikroORM integration. For existing MikroORM users, PowerSync provides partial sync at scale: keep on-device SQLite synced with your backend database. PowerSync is designed for offline, real-time, and reactive use cases. For existing PowerSync users, you might want to check out MikroORM as another great option. From what we can tell, the latest version probably works on React Native and Web too.
English
1
3
5
816
PowerSync
PowerSync@powersync_·
We often speak to customers that are syncing massive (1GB+) volumes into SQLite This is something we'll have better support for over time, but a good workaround for now is to use the PowerSync SQLite Seeder community project
PowerSync tweet media
English
1
0
3
278
PowerSync
PowerSync@powersync_·
Partial, consistent sync at scale is one of the hardest problems solved by PowerSync. We first launched with a declarative system called Sync Rules, which synced a user’s entire dataset to their device on first connect. This fell short in use cases where you didn't want to or need to sync everything up-front. So we built Sync Streams: a system where clients can still sync everything up front, or subscribe lazily to exactly what they need, when they need it, using parameters. Sync Streams has been soaking in the wild for the past few months and is now GA / Stable. Thanks to everyone who helped us put it through its paces.
English
1
0
5
515
PowerSync
PowerSync@powersync_·
@rodydavis 👍 What's your sentiment on the overall stability of OPFS in Chrome?
English
1
0
0
31
Rody Davis
Rody Davis@rodydavis·
@powersync_ I do file blobs with OPFS and a POSIX metadata layer with indexedDB. That way I get super fast file/folder manipulation and can support symlimks while heavy ready/write blob streaming is done via OPFS and can even deduplicate.
English
1
0
0
140
PowerSync
PowerSync@powersync_·
Persistence on the web in prod?
English
1
0
3
445
PowerSync
PowerSync@powersync_·
If the app needs stronger guarantees, it can turn durability back up with PRAGMA synchronous=FULL or EXTRA. Then the VFS flushes more aggressively so recent commits are much more likely to survive crashes, but write performance drops. In plain English: NORMAL/OFF = faster but may lose latest writes; FULL/EXTRA = safer but slower.
English
1
0
1
134
PowerSync
PowerSync@powersync_·
The new OPFSWriteAheadVFS for wa-sqlite not only brings concurrent reads to SQLite on the web, but also makes write transactions faster! It does this by not insisting every commit hit the disk immediately. Instead of updating the main database file right away, it writes changes into side log files first. That is cheaper, so small write transactions finish much faster.
English
2
1
12
1.1K