~/talk

A year with Hanami in production: the Good, the Bad and some Recipes

Talkat GrillRB 2019 · 2019-08-31..09-01· [ruby-on-rails]
links:none on file
slides:none on file

A year-long Hanami production run builds a JSON SPA with 140 API actions and ~350 operations across ~50 entities, using Trailblazer operations for business logic, GJWT then JWT sessions gem for auth, and a multi-database setup spanning Postgres, Redis, Cassandra, Influx and more — six databases in practice — which proves powerful but costly. Rom-rb causes six months of friction (poor docs, single-connection limits) so ActiveRecord plus custom repositories replaces it. Background work uses Sidekiq and AnyCable (Ruby+Go) successfully; JRuby plus Celluloid handles many threads. Tests use Minitest/fabricators; production runs on Puma with manual DB connection handling.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:15What is Hanami and why consider it
  3. 5:50Hanami architecture and differences from Rails
  4. 10:56One year with Hanami in production
  5. 12:22Integrating Trailblazer with Hanami
  6. 15:59Building REST API with Hanami
  7. 18:51Authentication and JWT in Hanami
  8. 20:56Frontend integration and Webpack
  9. 21:18Background jobs with Sidekiq
  10. 22:00Hanami repositories and database handling
  11. 25:34Switching from ROM to ActiveRecord
  12. 28:23Multi-database setup in Hanami
  13. 31:41Dependency injection with dry-container
  14. 33:27Caching strategies in Hanami
  15. 35:41Running Hanami in production
  16. 37:10Custom CLI tools in Hanami
  17. 38:55Testing in Hanami
  18. 41:02Authorization with Pundit-like gems
  19. 42:48WebSockets with AnyCable
  20. 45:47Microservices and RabbitMQ
  21. 47:39Hanami container applications
  22. 49:28Exotic Hanami usage with JRuby
  23. 54:30Future of Hanami and framework ideals
  24. 59:27Framework structure and DDD principles
  25. 1:03:48Summary and final thoughts
~/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.