How to pretend we don't have a database
summary
The talk explains Slick, a Scala library that lets you write database queries using the same collection-like API as in-memory lists and sets. It covers how Slick implements this approach, evaluates how well it mimics working with in-memory collections, and discusses whether using Slick is worthwhile for typical Scala applications.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:05Database approaches
- 3:10Traditional DB problems
- 5:44In-memory collections
- 9:42Data access challenges
- 13:34Scala collection ops
- 19:17Hiding DB access in Scala
- 22:24Query layer architecture
- 27:03Metadata and query conversion
- 31:16Macros experiment
- 35:06Macros limitations
- 37:54Document DB alternative
- 40:30SQL translation
- 41:31Summary
related talks
45mImplementing the Active Slick
48mCompositional, Expressive, Performant Database Queries: Choose 3
47mTransactional Event Sourcing Using Slick (Audit Log for Free!)
24mRex "Doobie": A Functional JDBC That Doesn't Hide SQL
44mWriting a Database in Scala.js
40mTransactional Event Sourcing using Slick audit log for free
01h 29mWorking with Databases and Groovy
30mPrograms as Values Pure Composable Database Access in Scala
