Offline-first, multiplayer SQLite

  Рет қаралды 13,943

Aaron Francis

Aaron Francis

Күн бұрын

Пікірлер: 39
@bluesbr09
@bluesbr09 6 ай бұрын
I can’t remember the last time I was having so much fun listening to someone, period. Carl is so intoxicatingly passionate, I love it! And you are so good at extracting that passion for us all to see. That combined with your enthusiasm has resulted in my favorite tech talk to date. Thank you very much for this Carl and Aaron!
@aarondfrancis
@aarondfrancis 6 ай бұрын
Right! He's excited about what he's doing and that's exciting to listen to
@emanuelturis4132
@emanuelturis4132 6 ай бұрын
Wow! One of the best tech interviews/podcast episodes that I've seen, ever. And I'm only at minute 30. This is crazy good! Thanks Aaron!
@aarondfrancis
@aarondfrancis 6 ай бұрын
I'm so glad you're enjoying it! I really love having these chats
@brentspotswood
@brentspotswood 6 ай бұрын
00:00 Intro and Background 01:56 What is SQLSync 02:30 Amplify 05:08 SQLSync Use Case 07:35 Multiplayer Explained 09:41 Durable Objects 12:00 Compare to PartyKit 13:08 Local First 22:46 SQLSync Terminology 24:28 SQLSync Replication Flow 27:33 Virtual File System 33:51 Transactions in WASM 39:41 Sync to Coordinator 43:22 Conflict Resolution as Business Logic 52:03 Sync to Clients 1:01:12 Goals for SQLSync 1:04:14 Scaling Limitations 1:07:30 Graft Storage Engine 1:14:47 Graft as a SQLite Extension 1:17:08 What's Next
@aarondfrancis
@aarondfrancis 6 ай бұрын
Thank you! I'll add those
@emcell2
@emcell2 Ай бұрын
I love that! Exactly what I'm looking for at the moment. Thanks for the great work!
@jit-r5b
@jit-r5b 6 ай бұрын
Finally an intro that is actually not annoying!!
@siya.abc123
@siya.abc123 6 ай бұрын
I'm glad I'm here before 100K subs. Aaron will be the biggest Laravel/PHP influencer and he is gonna make it all relevant. Most of us were tuned to hate on PHP without ever using it. He is fixing that
@aarondfrancis
@aarondfrancis 6 ай бұрын
You're kind to say so!
@robrobob
@robrobob 6 ай бұрын
Man, this is cool! Always awesome to see what people are building. I'm busy with a multi-tenant project right now and considering how trivial it is to create a new SQLite db in code, it's looking like a really good option.
@gnatinator
@gnatinator 6 ай бұрын
Sadly still single writer- no horizontal write scaling- the holy grail for SQLite. Happy to see more SQLite coverage!
@agelessstranger1919
@agelessstranger1919 6 ай бұрын
Wow, fantastic interview. both these guys are very smart. a pleasure to hear them discuss this complex topic. (although i'm not sure i got it all... ;)) thanks for sharing!
@kasmanialisaad
@kasmanialisaad 6 ай бұрын
Absolutely loving all the SQLite content. 👏
@JohnoScott
@JohnoScott 6 ай бұрын
yep, fantastic interview
@maik8143
@maik8143 6 ай бұрын
Great interview!
@KentCDodds-vids
@KentCDodds-vids 6 ай бұрын
This is very cool
@aarondfrancis
@aarondfrancis 6 ай бұрын
Thanks Kent! There is sooo much going on in the SQLite world. What a blast
@davidsiewert8649
@davidsiewert8649 6 ай бұрын
1) As in all P2P/Sync Databases, how do you do Authentication and Authorization? Imagine you are writing a banking app. 2) how do you prevent people from seeing other peoples balance/info (that is not explicitly shared)? 3) how do you prevent duplication of transactions/money? 4) how do you prevent transactions without consent (impersonation)?
@100timezcooler
@100timezcooler 5 ай бұрын
Im working on turning my application into a local/mobile first PWA and always wondered how hard it would have been to roll my own solution to syncing offline and online state. Might see if sqlsync could help with that. sounds like just what i need tbh
@pxkqd
@pxkqd 6 ай бұрын
Can this be used peer to peer from browser to browser? Or does it need a server coordinator for two clients to sync?
@aarondfrancis
@aarondfrancis 6 ай бұрын
As far as I understood it needs one central source of truth
@David-iq1kd
@David-iq1kd 4 ай бұрын
When would you choose SQLSync over ElectricSQL?
@BradleyBernard
@BradleyBernard 6 ай бұрын
Me trying to listen to this on the plane: 😵 any thoughts on making podcast versions of these? Would be nice to have :)
@aarondfrancis
@aarondfrancis 6 ай бұрын
Yes, I shall consider it! I think it's a great idea.
@BarakaAndrew
@BarakaAndrew 6 ай бұрын
WebAssembly code within the db, that would be kinda sick if it can also work with transactions.
@isaachagoel7344
@isaachagoel7344 6 ай бұрын
This sounds identical to Replicache as far as the ideas and APIs go (but implemented differently)
@stevendavis7628
@stevendavis7628 6 ай бұрын
Aaron... I'm an old, dusty programmer and I'm looking to ship fast. Laravel and PHP look like the answer. (A programmers job is to write as little code as possible to solve a problem..right?) ... Besides your channel ;), ...any good recommendations for books and such to get up to speed fast? ..and read the manuals of course. Steve
@aarondfrancis
@aarondfrancis 6 ай бұрын
I would *definitely* recommend laracasts.com. By far the best way to get up to speed!
@stevendavis7628
@stevendavis7628 6 ай бұрын
@@aarondfrancis - thank you. I enjoyed the geeking out...definitely slick tech. I'm not sure I love it for actual game multi-player as you've got potential problems at the Business layer (above logical and physical) both with synch issues and hacking and cheating (my old areas).
@fredguth1315
@fredguth1315 6 ай бұрын
Could this work with duckdb?
@aarondfrancis
@aarondfrancis 6 ай бұрын
I'm not sure! I sent your question to Carl and he said he'd pop over. You might ask in their discord too!
@panggilmeiam
@panggilmeiam 6 ай бұрын
I am also create Native libSQL Native Extension for PHP, Turso Driver Laravel, and Turso Doctrine DBAL!
@aarondfrancis
@aarondfrancis 6 ай бұрын
Heck yeah you are! You're doing great work
@yeahaddigirl
@yeahaddigirl 6 ай бұрын
SQL + sync =? SynQL
@badpotato
@badpotato 6 ай бұрын
I would also like to know, what kind of drug Carl Sverre is on...
@michaelscofield2652
@michaelscofield2652 6 ай бұрын
One more SQLite shilling video and I’m gone man
@aarondfrancis
@aarondfrancis 6 ай бұрын
That's ok! Teaching is not shilling. Learning is not shilling. I'm going to talk about things I find interesting and enjoy and I invite you to tune in or out as you see fit. No pressure to stick around!
@michaelscofield2652
@michaelscofield2652 6 ай бұрын
When you actively promote some mid company like Turso it becomes shilling for me.
Production SQLite with Turso and libSQL
1:02:53
Aaron Francis
Рет қаралды 12 М.
Migrating from Postgres to SQLite with Kent C. Dodds
57:02
Aaron Francis
Рет қаралды 15 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Scaling the Linear Sync Engine
1:06:08
Linear
Рет қаралды 20 М.
SQLite: How it works, by Richard Hipp
1:39:27
Prof. Dr. Jens Dittrich, Big Data Analytics
Рет қаралды 15 М.
Strange Stories From The Stage S01 E03 Parker Dean
1:04:35
Todd Strange
Рет қаралды 24
James Arthur - ElectricSQL, A local first sync engine
58:52
devtools-fm
Рет қаралды 2,1 М.
SQLite's WAL mode is fast fast
9:25
Aaron Francis
Рет қаралды 20 М.
Distributed SQLite with Litestream and LiteFS
54:37
Aaron Francis
Рет қаралды 13 М.
DHH discusses SQLite (and Stoicism)
54:00
Aaron Francis
Рет қаралды 103 М.
Why SQLite is Taking Over with Brian Holt & Marco Bambini
50:31
Learn Database Normalization - 1NF, 2NF, 3NF, 4NF, 5NF
28:34
Decomplexify
Рет қаралды 2,1 МЛН
You don't need NoSQL (use MySQL)
31:26
PlanetScale
Рет қаралды 76 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН