Syncing SQLite and Postgres?
HTML-код
- Опубликовано: 23 мар 2023
- Thanks to Electric SQL for sponsoring this showcase.
Being able to sync between local SQLite databases and cloud or bare metal Postgres is an exciting prospect and Electric SQL has a plan for doing that.
Supporting local-first applications without losing access to tried and true SQL-based relational databases is just super practical to me.
My code that the examples are done with is open and available. Use it as you like:
github.com/lawik/electric-sam...
github.com/lawik/electric-sid...
I've had a lot of fun with it as evidenced by the four livestreams:
ruclips.net/user/liveuGNgAiLj0SM
ruclips.net/user/livey71uOUPXioA (the best one, globally distributed SQLite on Fly.io)
ruclips.net/user/liveLOR_ReuAfWU
ruclips.net/user/live-mCYURMoHro
You can read more Electric SQL below:
Electric SQL site: electric-sql.com/
Demos: electric-sql.com/demos/
Docs: electric-sql.com/docs/overvie...
Discord community: / discord
Source code on GitHub: github.com/electric-sql Наука
Love the vibe man, very cool. Looking forward to the Elixir story with this tool
More on that.. soon?
Thanks so much for the showcase. This is very exciting for all the reasons you mentioned in the end and I'm excited to explore its application in my own app, servicing construction management in areas with spotty connections. 👍
Glad to hear it resonates!
I implemented something similar to what you are explaining, but in different design.
It works as a charm.
Very good
Love the hoodie ;)
Finally!
Can we get a tutorial for a bare-bones setup with deployment on railway and connection to express and React app, that would help most people understand all the steps necessary to get up and running.
I think you would have most luck by talking to the Electric SQL folks on their discord :)
We need more open source shills. This was great.
Thanks man :)
electric-sql is awesome! what is the performance for e-commerce large volume of web app and native app write/read?
The performance will be local SQLite as far as the user is concerned.
Great work. Can one have several offline SQLite dbs each syncing with a unique PostgreSQL schema?
Electric SQL are making all sorts of interesting updates. Check their site and ask on their discord. Not sure and they will give better answers.
Thanks@@underjord . Will do as you have adviced
"Electrify the audience"
this is like CouchDB and PouchDB but Elixilised!!!!
Would this work on flutter with nodejs server?
I expect so. I know there is work on a Dart client which would help the Flutter case. Don't know the status of it. I recommend asking on the Discord.
Please talk a bit louder
I think my voice was on the mend from some plague at this point. But I'll consider it.