Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions
Rafi
@rafi
wtf did i just executed a postgres query with a psql cli against postgres running in webassembly via js
4 replies
2 recasts
17 reactions
artlu 🎩
@artlu
I also saw electric-sql pivot, away from sqlite and towards PGlite. I don't get it. PG is connections-based, while Sqlite spins up/down in JIT fashion. What do you gain with PGlite that offsets the mental dissonance? Is it basically, tons of dev tooling and dev familiarity?
1 reply
0 recast
1 reaction
Rafi
@rafi
I experiment with it right now for local development as my production end uses Postgres. I considered using SQLite but because frame.town gets much complex each week with external data ingestion, in-house stats I went with Postgres because of it’s connection-based nature (it’s easier to interface it from multiple machines), tooling for analytical workflow (timescaledb), and foreign data wrappers. With SQLite I’d have to implement all this myself.
1 reply
0 recast
0 reaction
artlu 🎩
@artlu
pretty cool use case, if I may summarize? it allows lightweight local development (no need for a Docker or a heavy db) plus sync is mostly handled for you. My local-first toys have started small rather than attempted to integrate with existing servers. Happy to learn from efforts going the other way! (s/o Evolu my favorite of multiple projects picking up the local-first sqlite ball)
1 reply
0 recast
0 reaction