Successfully reported this slideshow.

A Microservices Architecture That Emphasizes Rapid Development

2

Share

1 of 49
1 of 49

More Related Content

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

A Microservices Architecture That Emphasizes Rapid Development

  1. 1. A Microservices Architecture That Emphasizes Rapid Development
  2. 2. @robhruska
  3. 3. Customers ○Coaches ○Athletes ○Recruiters ○Video Coordinators ○Analysts ○Parents ○Alumni ○Fans
  4. 4. Hours of Coaching Video Watched / Week
  5. 5. Culturally Fast / Rapid ○Ship early, ship often; MVP ○Anyone can deploy, anytime ○Deploys, rollbacks are fast and easy ○Take on acceptable risk, learn from mistakes ○Low friction for service operation
  6. 6. If you wish to build an apple pie from scratch, you must first invent the universe. Carl Sagan “
  7. 7. Source: Adrian Cockroft - Battery Ventures (formerly Netflix) http://www.slideshare.net/adriancockcroft/evolution-of-microservices-craft-conference Slide 27
  8. 8. 800 100 Deploys / Week by Environment
  9. 9. ~ 46 contributors
  10. 10. organizations which design systems ... are constrained to produce designs which are copies of the communication structures of these organizations Melvin Conway “
  11. 11. public class RouteConfig : IRouteConfig { public IEnumerable<string> GetApplicationRoutes() { return new List<string> { "speedtest.*", "api/v2/speedtest/.*", "scripts/speedtest/.*", "bundles/speedtest/.*", "css/speedtest/speedtest.css", }; }
  12. 12. using Hudl.Bifrost.Location; using Hudl.Speedtest.Client.Services; var user = await ServiceLocator.Get<ISpeedTestResultService>() .GetLatestResultForUser(userId);
  13. 13. Architecture Flows With Organizational Structure
  14. 14. Deploys / Week, Basketball
  15. 15. Microservices Loosely coupled Service oriented Bounded contexts
  16. 16. speedtest 14 files < 1000 LOC 1 Page 0 APIs 1 Endpoint users recruit 222 files 44k LOC 3 Pages 8 APIs 78 Endpoints 1900 Files 400k LOC Dozens of pages & APIs 64 Endpoints
  17. 17. Tiny Small Medium Large Mega # Services by Size
  18. 18. + Tooling
  19. 19. Thanks! @robhruska github.com/robhruska @HudlEngineering hudl.github.io public.hudl.com/bits/

×