Beyond URL Matching: Mastering the Spray/Akka-Http Routing DSL
summary
Concrete examples of route code, composition and deployment show how to build a high‑performance REST API with Spray/Akka‑HTTP: actor‑backed servers listening on a port, spray-testkit for request/unit tests, explicit handling of rejections and gzip, custom directives such as HTTPS enforcement, nonblocking calls to databases using futures and conditional responses, and JSON marshalling with spray‑json. Claims include real production usage over multiple years and working example apps; the demos show what fails, what needs manual rejection handling, and what actually runs in production.
AI-written summary · about
chapters (25)
- 0:00Intro
- 1:57Brief instructions
- 3:13Spray SB
- 5:12Why Spray
- 6:43Basic Examples
- 9:26Testing
- 11:34Actor
- 13:29Request
- 16:58Side effects
- 18:16Composing process
- 19:44Directors
- 21:04Highlevel directives
- 21:57Rod
- 23:02Complete
- 24:29Wrapper
- 26:31Vision
- 29:56Supported Methods
- 31:23Composing
- 33:40Support
- 35:15Protection
- 39:22Headers
- 41:43Directives
- 46:25Teachers
- 51:07Summary
- 51:50Rejection
related talks
01h 32mFrom Spring + Java to Spring + Akka - A Journey of Discovery
42mIntegration testing of REST services using Akka Http
42mLet’s Have Some Effective REST!
26mModern HTTP Routing
46mLet’s have some effective REST!
46mREST next level: writing business-oriented web APIs
52mBeyond the Buzzword: A Reactive Web Application in Practice
33mYour HTTP endpoints are data, as well!
