~/talk

FP Scala Meat & Potatoes...

Talkat Scale By The Bay 2018 · 2018-11-15..11-17· [scala]
slides:none on file

Demonstrates a working CRUD JSON REST API built with http4s, JSON codecs auto‑derived via Circe, and SQL via Doobie that parses POSTed JSON, inserts rows, and streams query results as a chunked JSON array using fs2 intersperse so it serves millions of users in constant memory. Shows constructing a client from a service for fast tests and the client↔service duality used to mock downstream services. Notes JDBC is blocking so a context shift or dedicated pool is required.

AI-written summary · about

  1. 0:00Introduction and goals
  2. 1:48HTTP as a pure function
  3. 5:03Building a simple HTTP service
  4. 9:02Lamest echo service demo
  5. 14:29Database interaction with Doobie
  6. 17:20Integrating HTTP and database
  7. 22:01Client-service duality
  8. 24:10Running the service in production
  9. 26:47Q&A and comparisons
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.