Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Turso Makes Local-First and Multi-Tenant Apps Easier Than Ever

ByteGrad via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how Turso's libSQL database platform simplifies building local-first and multi-tenant applications through hands-on demonstrations and practical examples. Explore Turso's key features including Data Edge for global data replication, embedded replicas for offline functionality, and built-in multi-tenancy support that eliminates complex database architecture decisions. Build a complete expenses application while discovering how to create and manage Turso databases, perform read and write operations, and integrate with popular ORMs like Prisma and Drizzle. Master local development workflows with Turso's local replica capabilities and understand how Data Edge reduces latency by replicating data closer to users worldwide. Dive deep into multi-tenancy implementation strategies, learning when to use database-per-tenant versus shared database approaches and how Turso automates the creation of isolated databases for each new user. Discover advanced features including Turso's AI-powered analytics, point-in-time recovery for data protection, and vector embeddings support for AI applications, while gaining insights into optimizing SQLite performance for modern web applications.

Syllabus

00:00 Intro
00:48 Create database demo
01:15 Turso libSQL, Data Edge, Embedded Replicas, Local-First, Multi-Tenancy, Recovery, AI
03:36 Expenses app
04:21 Create Turso database & add data
06:15 Fetch data read
07:43 Prisma / Drizzle with Turso
08:03 Update data write
09:20 Turso AI-analytics
09:52 Local development
10:24 Replicate data Data Edge
11:49 Multiple round-trips
12:21 Local-First
14:45 Multi-Tenancy in Turso
15:26 Multi-Tenancy Benefits
18:22 Create database for each new user
25:55 Point-In-Time Recovery
26:23 AI / Vector embeddings in Turso
26:35 https://sqlite.new
26:50 highperformancesqlite.com?ref=bytegrad
26:58 Outro

Taught by

ByteGrad

Reviews

Start your review of Turso Makes Local-First and Multi-Tenant Apps Easier Than Ever

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.