Save 37% off PRO during our Black Friday Sale! »

From pets to cattle to flock of birds

From pets to cattle to flock of birds

5c3807aaaf0ffefe6c75e3dbbb8588b5?s=128

Michael Hausenblas

January 30, 2016
Tweet

Transcript

  1. © 2016 Mesosphere, Inc. All Rights Reserved. FROM PETS TO

    CATTLE TO FLOCK OF BIRDS 1 Michael Hausenblas, Developer & Cloud Advocate | FOSDEM, Brussels | 2016-01-30
  2. © 2015 Mesosphere, Inc. All Rights Reserved. sys admin devops

    developer architect management QA/tester
  3. © 2016 Mesosphere, Inc. All Rights Reserved. EVOLUTION OF COMPUTE

    3 containers flock of birds
  4. © 2016 Mesosphere, Inc. All Rights Reserved. PETS VS CATTLE

    4 Pets are individuals that you give names and when they get ill you nurse them back to health. Cattle are anonymous, identical to other cattle you assign numbers and when they get ill → next one. http://www.theregister.co.uk/2013/03/18/servers_pets_or_cattle_cern/
  5. © 2016 Mesosphere, Inc. All Rights Reserved. APPLICATION LIFE CYCLE

    5
  6. © 2016 Mesosphere, Inc. All Rights Reserved. WHAT IS FLOCK

    OF BIRDS (FOB)? 6 https://medium.com/@mhausenblas/pets-vs-cattle-vs-flock-of-birds-12f1da3abfc3
  7. © 2016 Mesosphere, Inc. All Rights Reserved. FLOCK OF BIRDS

    CONCEPT 7 • Unit of compute: a function • Dynamically allocated resources for execution • Integration with other systems is crucial • Relation to … • PaaS • RPC λ C
  8. © 2016 Mesosphere, Inc. All Rights Reserved. CONTENDERS & USAGE

    8
  9. © 2016 Mesosphere, Inc. All Rights Reserved. AWS LAMBDA 9

    https://aws.amazon.com/lambda/
  10. © 2016 Mesosphere, Inc. All Rights Reserved. WEBTASK 10 https://webtask.io/

  11. © 2016 Mesosphere, Inc. All Rights Reserved. STACKHUT 11 https://stackhut.com

  12. © 2016 Mesosphere, Inc. All Rights Reserved. NANO LAMBDA 12

    http://nano-lambda.com/
  13. © 2016 Mesosphere, Inc. All Rights Reserved. WHAT IS FLOCK

    OF BIRDS GOOD FOR? 13 • Constraints devices (IoT) • Event-driven logic (IFTTT, hooks, etc.) • Mobile (stateless) apps • Distributed load testing (see Goad)
  14. © 2016 Mesosphere, Inc. All Rights Reserved. THINGS TO THINK

    ABOUT 14
  15. © 2016 Mesosphere, Inc. All Rights Reserved. STATE 15

  16. © 2016 Mesosphere, Inc. All Rights Reserved. DEBUGGING 16

  17. © 2016 Mesosphere, Inc. All Rights Reserved. SOME OTHER THINGS

    TO CONSIDER … 17 • network is the bottleneck • chaining • monitoring, logging • build your own?
  18. © 2016 Mesosphere, Inc. All Rights Reserved. Q & A

    18 • @mhausenblas • mhausenblas.info • @mesosphere