$30 off During Our Annual Pro Sale. View Details »

Glue 2015: Microservices - More than just a buzzword.

Glue 2015: Microservices - More than just a buzzword.

John Sheehan

May 21, 2015
Tweet

More Decks by John Sheehan

Other Decks in Technology

Transcript

  1. Microservices:
    Blah, blah, blah...
    John Sheehan
    Co-founder, CEO
    @Runscope

    View Slide

  2. View Slide

  3. API
    Performance
    Monitoring

    View Slide

  4. 40,000+
    developers
    use Runscope

    View Slide

  5. MICROSERVICES
    "Simultaneously existing on all
    points in the hype lifecycle."

    View Slide

  6. Glue 2014: 0
    Glue 2015: 12!

    View Slide

  7. View Slide

  8. View Slide

  9. View Slide

  10. View Slide

  11. View Slide

  12. "Microservices is just SOA."

    View Slide

  13. Some of what's new in software
    development since SOA was cool:
    Node.js
    DevOps Docker
    AWS
    GitHub
    JSON APIs
    NoSQL
    Go
    Stack Overflow
    Hadoop
    jQuery CI/CD

    View Slide

  14. MICROSERVICES =
    SOA 2.0 + DevOps

    View Slide

  15. MICROSERVICE ARCHITECTURE (MSA)
    A style of service-oriented architecture that
    emphasizes decentralization and deliverability.
    MICROSERVICE
    Self-contained service with single “job to be done”
    and exposed via an API. The atomic unit of an MSA.

    View Slide

  16. We are
    not Netflix

    View Slide

  17. MICROSERVICES
    at Runscope

    View Slide

  18. 2 YEARS AGO
    3 internal services
    5 people shipping code

    View Slide

  19. TODAY
    60+ internal services
    11 people shipping code

    View Slide

  20. MICROSERVICES
    LESSONS LEARNED

    View Slide

  21. Invest in
    Infrastructure
    MICROSERVICE LESSON LEARNED

    View Slide

  22. 7,789
    Deployments in 2014
    50+
    Per work day

    View Slide

  23. If you don't invest in
    INFRASTRUCTURE
    don't invest in
    MICROSERVICES

    View Slide

  24. View Slide

  25. View Slide

  26. View Slide

  27. View Slide

  28. Pick Right Stack
    for Each Service
    MICROSERVICE LESSON LEARNED

    View Slide

  29. Don't Share Datastores
    Between Services
    MICROSERVICE LESSON LEARNED

    View Slide

  30. Embrace the Network!
    MICROSERVICE LESSON LEARNED

    View Slide

  31. Failure is not
    an Exception
    MICROSERVICE LESSON LEARNED

    View Slide

  32. Isolate
    Breakage
    MICROSERVICE LESSON LEARNED

    View Slide

  33. Pick a Uniform
    Interface
    MICROSERVICE LESSON LEARNED

    View Slide

  34. Build Client Tools
    MICROSERVICE LESSON LEARNED

    View Slide

  35. • Service discovery
    • service://identity/...
    • Retry failed GETs
    • Run HTTP requests asynchronously
    • Log with Runscope Traffic Inspector
    Smart Client

    View Slide

  36. Make it Easy to
    Create New Services
    MICROSERVICE LESSON LEARNED

    View Slide

  37. Built-in healthcheck/heartbeat endpoints
    Automatic, realm-aware service registry
    Common logging and metrics framework
    Simplified dependency management
    Smart Service

    View Slide

  38. Test Across Teams
    at Service Boundaries
    MICROSERVICE LESSON LEARNED

    View Slide

  39. Monitor Everything
    MICROSERVICE LESSON LEARNED

    View Slide

  40. ✓ Availability ✓ Performance ✓ Correctness
    Any Public or Private API
    API Testing & Monitoring

    View Slide

  41. We’re hiring!

    View Slide