Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos...

43
Chaos: The Last Stand Against Our Robot Overlords Nathan Äschbacher @gen_nja

Transcript of Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos...

Page 1: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

Chaos: The Last Stand Against Our Robot Overlords

Nathan Äschbacher @gen_nja

Page 2: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

Freezing Robot Problem: Once the environment surpasses a certain level of dynamic complexity, the path planner decides that all forward paths are unsafe.

Page 3: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the
Page 4: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the
Page 5: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the
Page 6: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the
Page 7: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the
Page 8: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

01101 26262

Page 9: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

When are the models done?

01101

Page 10: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

Eleventy-Bazillion

Miles

Page 11: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

How do you know the software is safe?

01101

Page 12: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

¯\_(ツ)_/¯

Page 13: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

How do you know the software is safe?

26262

Page 14: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

MISRA

Page 15: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

HARDrealtime

Page 16: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

26262

Page 17: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the
Page 18: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

But the AI isn’t deterministic, so…?

26262

Page 19: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

¯\_(ツ)_/¯

Page 20: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

ಠ_ಠ

Page 21: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

2626201101

Page 22: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

Formal Methods

Model Checking

Deductive Verification

Local Testing

Property-Based

Fuzz

Unit / Acceptance

Implementation

Integration Testing

Chaos

Mutation

Page 23: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

It’s not all about introducing chaos to the system. It’s about the chaos inherent in the system itself.

Chaos Engineering is about engineering practices that help us surface those systemic effects.

-- Casey Rosenthal Traffic & Chaos Manager

Netflix

Page 24: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

Control

Decision

Perception

Page 25: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the
Page 26: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the
Page 27: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

ಥ_ಥ

Page 28: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

+

Page 29: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the
Page 30: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the
Page 31: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the
Page 32: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

-- Principles of Chaos

“”

Chaos strongly prefers to experiment directly on production traffic.

-- Chaos Engineering the Book

“ We don’t expect engineers to inject noise into the sensors of self-driving cars containing unsuspecting passengers!

Page 33: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

”-- Chaos Engineering

the Book

However, we suspect most users are not working on these kinds of safety-critical systems.

Page 34: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the
Page 35: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the
Page 36: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the
Page 37: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the
Page 38: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

Over-Engineering

Page 39: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

Unit Software FEA ?ChaosIntegratio

n

Property-Base

d

Formal M

ethods

Fuzz

Page 40: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the

Good ol’ Engineering

Page 41: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the
Page 42: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the
Page 43: Chaos The Last Stand Against Our Robot Overlords (1) · -- Principles of Chaos “ ” Chaos strongly prefers to experiment directly on production traffic.-- Chaos Engineering the