Your SlideShare is downloading. ×
0
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Building Services on and off Rails
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Building Services on and off Rails

6,071

Published on

Build Ruby services with Grape and Roar and embed into Rails or run standalone. Provides working examples of both.

Build Ruby services with Grape and Roar and embed into Rails or run standalone. Provides working examples of both.

Published in: Technology, Education
0 Comments
6 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
6,071
On Slideshare
0
From Embeds
0
Number of Embeds
13
Actions
Shares
0
Downloads
22
Comments
0
Likes
6
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Building Services on and off Rails
  • 2. SLIDES AT bit.ly/reverb-soa
  • 3. 3 TAKEAWAYS
  • 4. WHY WRITE SERVICES RECOMMENDED STACK EMBEDDED VS. STANDALONE
  • 5. WHY WRITE SERVICES RECOMMENDED STACK EMBEDDED VS. STANDALONE
  • 6. WHY WRITE SERVICES RECOMMENDED STACK EMBEDDED VS. STANDALONE
  • 7. Yan Pritzker, CTO Reverb.com github.com/skwp @skwp github.com/reverbdev @reverbdotcom
  • 8. Yan Pritzker, CTO Reverb.com github.com/skwp @skwp github.com/reverbdev @reverbdotcom On Rails since 2005 (0.13.4)
  • 9. RAILS IS EASY
  • 10. RAILS IS FUN
  • 11. RAILS IS BLOATED
  • 12. STARTUP 10-20s
  • 13. HOW DID WE GET HERE?
  • 14. MONOLITHS
  • 15. LOTS OF GEMS
  • 16. LOTS OF CONTROLLERS
  • 17. LOTS OF MODELS
  • 18. LOTS OF LIBS
  • 19. LOTS OF DOMAIN
  • 20. SOLUTION? SERVICES
  • 21. A SERVICE IS...
  • 22. BITS OF ISOLATED FUNCTOINALITY
  • 23. BEHIND A BIG WALL
  • 24. SPEAKING JSON
  • 25. WHY?
  • 26. SCALE YOUR TEAM
  • 27. SCALE DOWNTIME
  • 28. SCALE PERFORMANCE
  • 29. SCALE PRODUCTIVITY
  • 30. SCALE HAPPINESS
  • 31. DIVORCE FROM RAILS AND...
  • 32. FAST SPECS
  • 33. EXPERIMENT WITH FRAMEWORKS
  • 34. EXPERIMENT WITH LANGUAGES
  • 35. EXPERIMENT WITH ARCHITECTURE
  • 36. OUR STACK
  • 37. Grape API
  • 38. Grape API Roar Representers
  • 39. Grape API Roar Representers application/hal+json
  • 40. Grape API Roar Representers application/hal+json ActiveRecord
  • 41. Grape API Roar Representers application/hal+json Or Something Else
  • 42. DEPLOYMENT?
  • 43. EMBED IT!
  • 44. CREATE THE GEM
  • 45. WRITE GRAPE API
  • 46. PUT IT ON RAILS
  • 47. github.com/reverbdev/chimp Gemified Service Example
  • 48. EMBEDDING IS EASY
  • 49. AND YOU CAN DEVELOP IN ISOLATION
  • 50. BUT IT’S NOT IDEAL
  • 51. DEPENDENCY CONFLICTS
  • 52. CONSTRAINS RUBY VERSION
  • 53. ADDS TO APP BLOAT
  • 54. DEPLOY IT STANDALONE!
  • 55. THIN / UNICORN
  • 56. FOREMAN / UPSTART
  • 57. MINA / CAPISTRANO
  • 58. SERVICE SKELETON github.com/reverbdev/service-skeleton
  • 59. We’re Hiring! Rubyists/iOS/ Musicians

×