"Crystal and Kemal: Simply Fast"
summary
Crystal compiles to native code with LLVM, offers static types, method overloading, union types and generics, and runs cheap fibers with CSP-style channels. Kemal is a minimal middleware-first web framework with built-in static serving, WebSocket support and shards for libraries. A real API ported from Rails drops dozens of unicorn workers to one 23 MB process, maintains ~140 ms latency under load versus Rails' 700–1500 ms (about 10x faster) and uses roughly 200x less memory, staying up for 1.5 years.
AI-written summary · about
chapters (16)
- 0:00Introduction to Crystal
- 1:47Crystal's unique features
- 10:32Crystal's concurrency model
- 15:56Crystal community and benchmarks
- 16:40Introducing Kemal framework
- 17:22Kemal's design principles
- 22:12Kemal's web server features
- 24:01Kemal's middleware system
- 27:59Kemal request lifecycle
- 29:45Kemal session and testing
- 31:33Kemal's flexible architecture
- 32:57Kemal production stacks
- 34:00Kemal deployment
- 35:08Kemal in production case study
- 39:36Kemal adoption and resources
- 40:43Q&A and community support
related talks
39mCrystal: A language for humans and computers
30mIntroducing the Crystal Programming Language
28mCrystal: The Programming Language
11mIntroducing the Crystal Programming Language
55mCrystal for Rubyists
28mIntroducing the Crystal Programming Language
33mThe Power of Crystal: A language for humans and computers
30mHow Ruby forged Crystal
