Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
andai
45 days ago
|
parent
|
context
|
favorite
| on:
PostgreSQL for Everything
So if it needs to work offline, but it syncs with a server, then you use both? (And the schema becomes some kind of lowest common denominator?)
preg_match
45 days ago
|
next
[–]
I would probably do an event-source architecture, where you record events on the client and then push them to the server when you're reconnected. It has a lot of benefits, for instance, trivial auditing and free serialization.
theultdev
45 days ago
|
prev
[–]
yeah essentially, see electricsql
though they also have "pglite" running in wasm.
same concept though, sync slices to an embedded db.
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: