17
Devops + Erlang Location Transparency Michael Bakkemo Noah Gift @Loggly

Devops + Erlang Location Transparency

  • Upload
    ayala

  • View
    41

  • Download
    0

Embed Size (px)

DESCRIPTION

Devops + Erlang Location Transparency. Michael Bakkemo Noah Gift @ Loggly. Loggly Stack. EC2 Mongo Python Erlang Java Solr Javascript. Cloud Pain: Six Months of Alerts. Problem: Process Management In The Cloud. They all Fail. Or rather…. They all Fail. Or rather…. - PowerPoint PPT Presentation

Citation preview

Page 1: Devops  +  Erlang  Location Transparency

Devops + Erlang Location Transparency

Michael BakkemoNoah Gift@Loggly

Page 2: Devops  +  Erlang  Location Transparency

Loggly Stack

• EC2• Mongo• Python• Erlang• Java• Solr• Javascript

Page 3: Devops  +  Erlang  Location Transparency

Cloud Pain: Six Months of Alerts

Page 4: Devops  +  Erlang  Location Transparency

Problem: Process Management In The Cloud

Page 5: Devops  +  Erlang  Location Transparency

They all Fail

Or rather….

Page 6: Devops  +  Erlang  Location Transparency

They all Fail

Or rather….

Page 7: Devops  +  Erlang  Location Transparency

What We Used Before

• Supervisord(Python based process management tool)– We added a new tool that forked off child

processes…..• It blew up• Didn’t restart things reliably• Not cluster aware• Doesn’t have good monitoring or logging integration

Page 8: Devops  +  Erlang  Location Transparency

Why Not Other Process Management Solutions

• Armstrong Corollary on Greenspun's 10th Rule of Programming

• We need to heavily customize it• Pick the right tool for the job• A few us knew Erlang….

Page 9: Devops  +  Erlang  Location Transparency

Armstrong Corollary on Greenspun's 10th Rule of Programming

All sufficiently complicated distributed systems contain ad hoc, informally-specified, bug-ridden, slow implementation of half of Erlang –and if they don't they are probably severely mis-designed.

Page 10: Devops  +  Erlang  Location Transparency

Doesn’t OTP Do That?

Page 11: Devops  +  Erlang  Location Transparency

Doesn’t OTP Do That?

• YES!

Page 12: Devops  +  Erlang  Location Transparency

Doesn’t OTP Do That?

• YES!– Kinda, for Erlang processes only

Page 13: Devops  +  Erlang  Location Transparency

Doesn’t OTP Do That?

• YES!– Kinda, for Erlang processes only

Page 14: Devops  +  Erlang  Location Transparency

Doesn’t OTP Do That?

• YES!– Kinda, for Erlang processes only

• YES!

– Oh, crap…

Page 15: Devops  +  Erlang  Location Transparency

Doesn’t OTP Do That?

• YES!– Kinda, for Erlang processes only

– Ick…

Page 16: Devops  +  Erlang  Location Transparency

Doesn’t OTP Do That?

• YES!– Kinda, for Erlang processes only

– Ick…– That shim needs to be smart

Page 17: Devops  +  Erlang  Location Transparency

Doesn’t OTP Do That?

Let’s talk about Loom…….