×
Copy
Open
Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
Blithe Rocher OSCON May 18, 2016 ` MICROSERVICES WAR STORIES
Slide 2
Slide 2 text
@BLITHE
Slide 3
Slide 3 text
No content
Slide 4
Slide 4 text
MICROSERVICES So…
Slide 5
Slide 5 text
A MONOLITH vs.
Slide 6
Slide 6 text
MICROSERVICES
Slide 7
Slide 7 text
WHY ARE MICROSERVICES SO POPULAR?
Slide 8
Slide 8 text
INDEPENDENT DEPLOYMENT & SCALABILITY 1 REASON
Slide 9
Slide 9 text
1 REASON
Slide 10
Slide 10 text
1 REASON
Slide 11
Slide 11 text
1 REASON
Slide 12
Slide 12 text
1 REASON
Slide 13
Slide 13 text
1 REASON
Slide 14
Slide 14 text
1 REASON
Slide 15
Slide 15 text
COMPARTMENTALIZE TEAMS & RESPONSIBILITIES 2 REASON
Slide 16
Slide 16 text
TECHNICAL DESIGN FREEDOM 3 REASON
Slide 17
Slide 17 text
FAULT TOLERANCE 4 REASON
Slide 18
Slide 18 text
WHY ME?
Slide 19
Slide 19 text
MAKING MISTAKES & LEARNING FROM THEM Experience
Slide 20
Slide 20 text
STORY TIME
Slide 21
Slide 21 text
SUPPORTING NEW CONTENT TYPE 1 STORY Story
Slide 22
Slide 22 text
STORY: Supporting New Content Type
Slide 23
Slide 23 text
STORY: Supporting New Content Type
Slide 24
Slide 24 text
STORY: Supporting New Content Type
Slide 25
Slide 25 text
CONTENT-TYPE: TEXT/HTML ☹ STORY: Supporting New Content Type
Slide 26
Slide 26 text
STORY: Supporting New Content Type
Slide 27
Slide 27 text
STORY: Supporting New Content Type
Slide 28
Slide 28 text
STORY: Supporting New Content Type PROBLEM?
Slide 29
Slide 29 text
STORY: Supporting New Content Type REMEDIES
Slide 30
Slide 30 text
REMOVING A FEATURE FLAG 2 STORY Story
Slide 31
Slide 31 text
UI Authorization Service STORY: Removing Feature Flags
Slide 32
Slide 32 text
DELETING CODE Yay! STORY: Removing Feature Flags
Slide 33
Slide 33 text
PROBLEM? STORY: Removing Feature Flags
Slide 34
Slide 34 text
REMEDIES STORY: Removing Feature Flags
Slide 35
Slide 35 text
TIGHTLY COUPLED SERVICES 3 STORY Story
Slide 36
Slide 36 text
STORY: Tightly Coupled Services Microservice A Database Microservice B
Slide 37
Slide 37 text
STORY: Tightly Coupled Services ALL THE WAY DOWN Headaches
Slide 38
Slide 38 text
STORY: Tightly Coupled Services PRODUCTION
Slide 39
Slide 39 text
STORY: Tightly Coupled Services Microservice A Database Microservice B
Slide 40
Slide 40 text
STORY: Tightly Coupled Services Microservice A Database Microservice B
Slide 41
Slide 41 text
STORY: Tightly Coupled Services Microservice A Database Microservice B
Slide 42
Slide 42 text
STORY: Tightly Coupled Services DEVELOPMENT
Slide 43
Slide 43 text
STORY: Tightly Coupled Services SERVICES NOT ISOLATED, ALL NEED TO BE RUNNING
Slide 44
Slide 44 text
STORY: Tightly Coupled Services Microservice A Database Microservice B
Slide 45
Slide 45 text
STORY: Tightly Coupled Services AUTOMATED TESTING
Slide 46
Slide 46 text
STORY: Tightly Coupled Services Microservice A Database Microservice B
Slide 47
Slide 47 text
STORY: Tightly Coupled Services VCR RECORDING Solution?
Slide 48
Slide 48 text
STORY: Tightly Coupled Services API Responses - 1992
Slide 49
Slide 49 text
STORY: Tightly Coupled Services VCR GEM STORY: Tightly Coupled Services
Slide 50
Slide 50 text
STORY: Tightly Coupled Services PROBLEM?
Slide 51
Slide 51 text
STORY: Tightly Coupled Services REMEDIES
Slide 52
Slide 52 text
STORY: Tightly Coupled Services
Slide 53
Slide 53 text
STORY: Tightly Coupled Services
Slide 54
Slide 54 text
STORY: Tightly Coupled Services BUNDLE EXEC RAKE TEST:REAL
Slide 55
Slide 55 text
STORY: Tightly Coupled Services BUNDLE EXEC RAKE TEST:MOCK
Slide 56
Slide 56 text
STRING VS INTEGER 4 STORY Story
Slide 57
Slide 57 text
STORY: String vs. Integer
Slide 58
Slide 58 text
STORY: String vs. Integer
Slide 59
Slide 59 text
STORY: String vs. Integer
Slide 60
Slide 60 text
ONE ENDPOINT TO RULE THEM ALL STORY: String vs. Integer
Slide 61
Slide 61 text
STORY: String vs. Integer
Slide 62
Slide 62 text
STORY: String vs. Integer
Slide 63
Slide 63 text
STORY: String vs. Integer
Slide 64
Slide 64 text
STORY: String vs. Integer
Slide 65
Slide 65 text
STORY: String vs. Integer
Slide 66
Slide 66 text
STORY: String vs. Integer
Slide 67
Slide 67 text
STORY: String vs. Integer
Slide 68
Slide 68 text
STORY: String vs. Integer
Slide 69
Slide 69 text
PROBLEM? STORY: String vs. Integer
Slide 70
Slide 70 text
REMEDIES STORY: String vs. Integer
Slide 71
Slide 71 text
SUMMARY & TAKE AWAYS
Slide 72
Slide 72 text
THANKS! Questions? @Blithe
Slide 73
Slide 73 text
No content