Glue 2015: Microservices - More than just a buzzword.

Glue 2015: Microservices - More than just a buzzword.

54b75f6fbf4434162bfcda6b0cb9b86b?s=128

John Sheehan

May 21, 2015
Tweet

Transcript

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

  2. None
  3. API Performance Monitoring

  4. 40,000+ developers use Runscope

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

  6. Glue 2014: 0 Glue 2015: 12!

  7. None
  8. None
  9. None
  10. None
  11. None
  12. "Microservices is just SOA."

  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
  14. MICROSERVICES = SOA 2.0 + DevOps

  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.
  16. We are not Netflix

  17. MICROSERVICES at Runscope

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

  19. TODAY 60+ internal services 11 people shipping code

  20. MICROSERVICES LESSONS LEARNED

  21. Invest in Infrastructure MICROSERVICE LESSON LEARNED

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

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

  24. None
  25. None
  26. None
  27. None
  28. Pick Right Stack for Each Service MICROSERVICE LESSON LEARNED

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

  30. Embrace the Network! MICROSERVICE LESSON LEARNED

  31. Failure is not an Exception MICROSERVICE LESSON LEARNED

  32. Isolate Breakage MICROSERVICE LESSON LEARNED

  33. Pick a Uniform Interface MICROSERVICE LESSON LEARNED

  34. Build Client Tools MICROSERVICE LESSON LEARNED

  35. • Service discovery • service://identity/... • Retry failed GETs •

    Run HTTP requests asynchronously • Log with Runscope Traffic Inspector Smart Client
  36. Make it Easy to Create New Services MICROSERVICE LESSON LEARNED

  37. Built-in healthcheck/heartbeat endpoints Automatic, realm-aware service registry Common logging and

    metrics framework Simplified dependency management Smart Service
  38. Test Across Teams at Service Boundaries MICROSERVICE LESSON LEARNED

  39. Monitor Everything MICROSERVICE LESSON LEARNED

  40. ✓ Availability ✓ Performance ✓ Correctness Any Public or Private

    API API Testing & Monitoring
  41. We’re hiring!