Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to Mesos

Introduction to Mesos

Abstracted Infrastructures - Apache Mesos w/ Micah Hausler - 5/19/16
Servers are great, but sometimes you need more than one. Or ten. Or a hundred. Are your servers really fully utilized? We’ll walk through through setting up a Mesos cluster and how bin-packing applications can optimize server use and simplify your (server) configuration.

http://www.meetup.com/chadevs/events/230792434/
https://www.youtube.com/watch?v=PdSmMT0IGx4
https://github.com/micahhausler/mesos-docker

Micah Hausler

May 19, 2016
Tweet

More Decks by Micah Hausler

Other Decks in Programming

Transcript

  1. you

  2. “We need a portal that we can be updated constantly

    and provide customers and partners an interactive experience to promote our brand!” - marketing
  3. happy web servers running your site happy database serving your

    site web server running that portal CPU: 80% CPU: 80% CPU: 20%
  4. • Introduced in 2010 - UC Berkley • “Sixty-four cores

    or 128 cores on a single chip looks a lot like 64 machines or 128 machines in a data center” -Benjamin Hindman • A Data Center Operating System
  5. Mesos Master <slave1, 4cpu, 4gb mem, 40 gb disk, ports[80,443,…]…>

    <slave1, 4cpu, 4gb mem, 40 gb disk, ports[80,443,…]…> Mesos Salve 1 Mesos Salve n Framework A +
  6. Mesos Master <slave1, 4cpu, 4gb mem, 40 gb disk, ports[80,443,…]…>

    <slave1, 4cpu, 4gb mem, 40 gb disk, ports[80,443,…]…> Mesos Salve 1 Mesos Salve n Framework A Job 1 Job 2 +
  7. Mesos Master <slave1, 4cpu, 4gb mem, 40 gb disk, ports[80,443,…]…>

    <slave1, 4cpu, 4gb mem, 40 gb disk, ports[80,443,…]…> Mesos Salve 1 Mesos Salve n Framework A <task 1, slave1, 2cpu, 1gb, …> <task 2, slave1, 1cpu, 2gb, …> Job 1 Job 2 +
  8. Mesos Master <slave1, 4cpu, 4gb mem, 40 gb disk, ports[80,443,…]…>

    <slave1, 4cpu, 4gb mem, 40 gb disk, ports[80,443,…]…> Mesos Salve 1 Mesos Salve n Framework A <task 1, slave1, 2cpu, 1gb, …> <task 2, slave1, 1cpu, 2gb, …> <framework A, task 1, slave1, 2cpu, 1gb, …> <framework A, task 2, slave1, 1cpu, 2gb, …> Job 1 Job 2 +
  9. Mesos Master <slave1, 4cpu, 4gb mem, 40 gb disk, ports[80,443,…]…>

    <slave1, 4cpu, 4gb mem, 40 gb disk, ports[80,443,…]…> Mesos Salve 1 Mesos Salve n Framework A <task 1, slave1, 2cpu, 1gb, …> <task 2, slave1, 1cpu, 2gb, …> <framework A, task 1, slave1, 2cpu, 1gb, …> <framework A, task 2, slave1, 1cpu, 2gb, …> Task 1 Task2 Job 1 Job 2 +
  10. other features. • slave roles • weighted resource assignments •

    framework resource reservations • maintenance API • multi-disk/partition assignment • slave recovery • startup file fetcher • oversubscription • quota (reserve resources for not-yet-created framework tasks)
  11. Micah Hausler @micahhausler [email protected] thanks! skuid is hiring • Site

    Reliability Engineers • NodeJS Backend Engineers • Frontend Engineers • Quality Engineers • System Engineers