Can SQLite be Used in Real Projects?

  Рет қаралды 4,952

Ben Davis

Ben Davis

Күн бұрын

Пікірлер: 41
@lifeofdandotme
@lifeofdandotme 9 ай бұрын
Great video! Good to see you choosing the right tool for the job and great job explaining the underlying tech (sqlite) instead of just making this a Turso video. It is good for everyone to understand what underpins their cloud solutions. You are right about sqlite performance as well. Sqlite can be very performant, especially in WAL mode. If you are using Turso, you could potentially spin up a separate sqlite db/file for each user. This has added benefit of both performance and the ability to truly delete a person's data from your service if they request it without having to do some kind of crazy query to find and remove the data from a single db. Ty for the video. :)
@lifeofdandotme
@lifeofdandotme 9 ай бұрын
Also, at 3min in you made me feel so old lol. "This is the way a lot of OLD APPs work" :P
@bmdavis419
@bmdavis419 9 ай бұрын
Yea per user DB is a crazy feature I definitely should have mentioned!
@clearove4699
@clearove4699 9 ай бұрын
bro is quickly turning into my favorite software youtuber, man i just love your content keep going.
@DenserNiebanalny
@DenserNiebanalny 9 ай бұрын
Lemme ask, using Bun and still processing env traditionally? Whiy is that?
@bmdavis419
@bmdavis419 9 ай бұрын
Because I'm dumb, good call lol I did not know it could do that
@pjc825
@pjc825 9 ай бұрын
So does this allow concurrent writes by different users of is it just basically single user update with multiple concurrent readers? So you would still have to use MySQL or PostgreSQL if you want to have concurrent writes by different users, is that correct?
@jaayzero724
@jaayzero724 9 ай бұрын
What are your thoughts on Solidjs as a framework?
@LorenzSascha
@LorenzSascha 9 ай бұрын
What are your thoughts on the write performance of SQLite? We have used SQLite in the past in many projects and the read performance is amazing fast but the biggest roadblock was for us the write performance. Unfortunately, the implementation of b*-trees can play against you.
@patronovski
@patronovski 4 күн бұрын
you should use SQLite in WAL-mode
@FalconTheFries
@FalconTheFries 9 ай бұрын
Any reason why you switched from clerk / turso to supabase in your weights-ai app?
@bmdavis419
@bmdavis419 9 ай бұрын
honestly I just wanted to try more stuff lol, I like both
@FalconTheFries
@FalconTheFries 9 ай бұрын
@@bmdavis419 cool, thanks for responding
@neoplumes
@neoplumes 9 ай бұрын
I just use a persistent volume + file system
@tekoh
@tekoh 9 ай бұрын
Turso seems to have an insane free tier compared to the other ‘big’ db hosts
@bmdavis419
@bmdavis419 9 ай бұрын
yea its absurd, almost made me nervous but if you look at their infra it actually makes sense
@FabuBrik
@FabuBrik 9 ай бұрын
for now...
@JoeyJurjens
@JoeyJurjens 9 ай бұрын
I think sqlite is great, but for a development/staging environment. I wouldn't use it in production. I'll stick with postgres for that, which is installed on my vps and not some service I have to pay for.
@scott_itall8638
@scott_itall8638 9 ай бұрын
What is your current setup? VPS > Docker > Postgres?
@scott_itall8638
@scott_itall8638 9 ай бұрын
Pocketbase?
@MadeInJack
@MadeInJack 9 ай бұрын
Interested in the comparison as well
@bmdavis419
@bmdavis419 9 ай бұрын
The big thing pocketbase gives is a client SDK, which I personally don't need or want. I really like having a server
@choanlpoto
@choanlpoto 9 ай бұрын
I host all my db with a usb key and a raspberry pi. No free tier, no update on paying plan and I own my data.
@bmdavis419
@bmdavis419 9 ай бұрын
Based
@tobyCornish
@tobyCornish 9 ай бұрын
This will be the solution... until the next solution
@bmdavis419
@bmdavis419 9 ай бұрын
🫡
@PTBKoo
@PTBKoo 9 ай бұрын
Cloudflare d1 > turso
@HoussamElbadissi
@HoussamElbadissi 9 ай бұрын
Really? I use Cloudflare Pages (and love them), but never considered their "database" solutions, thinking they were just for caching or smth like that. Is D1 any good as a primary database for an app? And is it easy to move out to something else if needed (is it just SQL or proprietary?)
@bmdavis419
@bmdavis419 9 ай бұрын
It looks promising, but I really like libsql and how open source the turso stuff is, and its not really baked into anything like cloudflare seems to be
@coffeeintocode
@coffeeintocode 9 ай бұрын
Still can’t be used outside of workers can it?
@cotyhamilton
@cotyhamilton 9 ай бұрын
SQLite always wins
A Legendary Web Framework is Reborn... In Rust
9:49
Code to the Moon
Рет қаралды 103 М.
SQLite's WAL mode is fast fast
9:25
Aaron Francis
Рет қаралды 25 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
The Perfect Dependency - SQLite Case Study
19:32
Tom Delalande
Рет қаралды 83 М.
Svelte 5 Ruined Svelte (and that's why I love it)
12:37
Ben Davis
Рет қаралды 14 М.
i didn't know these Svelte tips
18:56
Nev the Dev
Рет қаралды 6 М.
Picking a Database is Hard...
17:43
Ben Davis
Рет қаралды 5 М.
Turso First Impressions - Worth The Hype?
11:27
CodeBrew
Рет қаралды 10 М.
Robotics Software Engineer Roadmap 2025! (Get Started in Robotics Today!)
12:38
Kevin Wood | Robotics & AI
Рет қаралды 8 М.
Life After SQL (EdgeDB Is Fascinating)
15:40
Theo - t3․gg
Рет қаралды 59 М.
Build a Database Per User App with Turso
12:56
Jamie Barton
Рет қаралды 1 М.
Sqlite Is Getting So Good
28:52
ThePrimeTime
Рет қаралды 221 М.
How I've Gotten Better at Coding
13:14
Ben Davis
Рет қаралды 4,8 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН