~/talk

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

Talkat RubyC 2019 · 2019-09-14..09-15· [ruby-on-rails]
links:none on file
slides:none on file

One year and a half of Hanami in production powers a REST API with 140 API actions and 400 Trailblazer operations, split into multiple apps and about 50 repositories across six databases (Postgres, Cassandra, Redis, Influx, ClickHouse, etc.). ROM.rb proves too limited so the stack switches to Sequel, keeping repositories as the single place for DB writes while returning Sequel models for reads. Auth starts with JWT then moves to JWE sessions; background jobs use RabbitMQ + Sneakers; WebSockets use AnyCable; Puma + hanami.boot serves production with ~300–400MB for 8 threads.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:50What is Hanami and its core concepts
  3. 3:56Why choose Hanami over Rails
  4. 6:50Challenges of adopting Hanami
  5. 8:35Building a large Hanami application
  6. 10:44Integrating Trailblazer with Hanami
  7. 12:08JWT authentication in Hanami
  8. 13:33Webpack integration with Hanami
  9. 14:55Sidekiq and background jobs
  10. 15:42Repository pattern and ROM.rb struggles
  11. 17:53Switching to Sequel for repositories
  12. 20:05Working with multiple databases
  13. 21:52Dependency injection with dry-container
  14. 23:20Caching strategies in Hanami
  15. 24:04Running Hanami in production
  16. 25:12Custom CLI and deployment challenges
  17. 26:15Testing strategies and tools
  18. 27:40Testing controllers and policies
  19. 28:27WebSockets with AnyCable
  20. 29:52Service architecture with RabbitMQ
  21. 30:34Hanami apps and monorepo concept
  22. 32:45Building a JRuby service with Hanami
  23. 35:20Future of Hanami and framework evolution
  24. 37:55Architecture lessons from Hanami
  25. 41:36When to choose Hanami over Rails
  26. 44:10Component-based Rails alternatives
  27. 46:19Summary and final thoughts
  28. 49:36Q&A session
~/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.