YOW West 2016: "A Rose By Any Other Name: Monoglot Microservices"
-
Upload
andy-marks -
Category
Technology
-
view
25 -
download
1
Transcript of YOW West 2016: "A Rose By Any Other Name: Monoglot Microservices"
Organised around
business capabilities
Productsnot
projects
Smart
endpoints and
dumb pipes
Decentralised governance
Decentralised data
management
Infrastructureautomation
Design for failure
Evolutionary design
Componentisationvia services
http://martinfowler.com/articles/microservices.html
Smart endpoints and dumb
pipes
Organised around
business capabilities
Productsnot
projects
Smart endpoints and dumb
pipes
Decentralised
governance
Decentralised data
management
Infrastructureautomation
Design for failure
Evolutionary
design
Componentisationvia services
http://martinfowler.com/articles/microservices.html
Evolutionary design
Decentralised governance
Shopping Cart
public void save(){
try {
db.persist(this);
} catch (Exception ex){
ex.printStacktrace();
// That should fix it!
}
}
BANG!
Shopping Cart
public void save(){
try {
db.persist(this);
} catch (SQLNonTransientException ex){
// Authentication failure, etc.
} catch (SQLTransientException ex){
// Timeout, etc.
} catch (SQLRecoverableException ex){
// Connection reset, etc.
} catch (Exception ex){
ex.printStacktrace();
}
}
BANG!
P(F) = 0.0000009
A B
E
DC
P(F) = 0.000045
P(F) = 0.000020P(F) = 0.000020
P(F) = 0.00000317
P(F) = 0.0000312
P(F) = 0.0000007
P(F) = 0.0000098P(F) = 0.0000014
[P(F) = Probability of Failure]
A B
EP(F) = 0.000045
P(F) = 0.000020
P(F) = 0.00000317
P(F) = 0.0000312
P(F) = 0.0000007
P(X or Y) = P(X) + P(Y)