implementing microservices
play

implementing microservices Remmelt Pit @remmelt_ remmelt@info.nl - PowerPoint PPT Presentation

implementing microservices Remmelt Pit @remmelt_ remmelt@info.nl since 2003 12,000 auctions ~2M unique visitors/month modular site & admin & API trouble! scalability trouble! stability basically we wanted to go faster Rapid


  1. implementing microservices Remmelt Pit @remmelt_ remmelt@info.nl

  2. since 2003

  3. 12,000 auctions

  4. ~2M unique visitors/month

  5. modular site & admin & API

  6. trouble! scalability

  7. trouble! stability

  8. basically we wanted to go faster

  9. Rapid Provisioning Basic Monitoring Rapid App Deploys DevOps Culture — Martin Fowler

  10. tech challenge #1 getting started

  11. RTFM

  12. RTFM WTFM

  13. acceptance criteria: API endpoint: GET /highestbid → json Events: BidAcceptedEvent { ..., "bid_amount":12.34, ... }

  14. tech challenge #2 monolith first?

  15. distributed monolith — Tareq Abedrabbo

  16. tech challenge #3 building things

  17. #! /bin/sh IMAGE=bvaauctions/auction-query TAG=$(git rev-parse --short HEAD) docker run --rm \ -v "$PWD":/usr/src/project \ -w /usr/src/project \ -v "$HOME"/.m2:/root/.m2 \ maven:3.3-jdk-8 \ mvn -B clean verify docker build -t $IMAGE:$TAG . docker push $IMAGE:$TAG

  18. tech challenge #4 monitoring

  19. tech challenge #5 hidden complexity

  20. ls -l | grep "str" | wc -l

  21. services with the guts on the outside — Gartner

  22. tech challenges 1. getting started → start small 2. monolith first? → iterate quickly 3. building things → automate 4. monitoring → aggregate & visualise 5. hidden complexity → be aware

  23. TODO —chaos monkey —failure modes (simulate slow network) —mesos/coreos/kubernetes? —kpi monitoring —bulkheads, circuit breakers —e2e testing with fake data in production

  24. Q?

Recommend


More recommend