~/talk

Keep it Lite, Make It Rich: SQLite Goes Native in Node

Talkat NodeTLV 2025 · on Tuesday, 2025-12-16· [nodejs, databases]
links:none on file
slides:none on file

Builds a small Node library that captures Martian atmospheric metrics and persists them to a single-file SQLite database using Node's new native SQLite binding, comparing sqlite3, better-sqlite3 and the built-in option. Demonstrates native synchronous API with prepared statements, explicit transactions to guarantee ACID transactions, and file-backed storage for historic queries. Shows a working example using DB.aggregate with JS reducers (v24 feature) and notes benchmarks that make the sync path about 10x faster than async, with long queries offloaded to workers so the main thread stays responsive.

AI-written summary · about

  1. 0:00Introduction and mission
  2. 2:03Speaker introduction
  3. 3:09Data collection requirements
  4. 4:36Challenges on Mars
  5. 7:46Why SQLite fits
  6. 9:56SQLite library options
  7. 11:44Node SQLite native solution
  8. 13:31Building the database
  9. 15:18Saving data with transactions
  10. 16:41Fetching and querying data
  11. 17:26Running JavaScript in SQL
  12. 18:51Synchronous vs asynchronous
  13. 20:38Cross-worker execution
  14. 21:43Mindset and use cases
  15. 22:48Conclusion and call to action
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.