How to Fail With SOA: Anti-patterns for Service-Oriented Architecture
Patterns of fail
-
Upload
gleicon -
Category
Technology
-
view
4.659 -
download
0
description
Transcript of Patterns of fail
![Page 1: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/1.jpg)
Patterns of Fail
Don't know, don't care
![Page 2: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/2.jpg)
Why do we fail ?
![Page 3: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/3.jpg)
Failure
Failure is an option - most people working hard or seriously will have failures to account for. The most interesting and character defining trait of these people is how they recovered.
Advocates for Competence based interviewing teach do concentrate on mistakes as learning experiencies.
Honesty rings a bell - What was the last time you f* up and how you made up to that ?
![Page 4: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/4.jpg)
Fail
There is failure, and there is FAIL
- Project managers managing HTML pages - Fail- Methodologies sold as silver bullet - Fail- Excess Excitement - Fail- Less code, more tests - Fail- Architecture of CRUD - Fail- Failure and then failure again - FAIL- Fall, Rise and Fail - EPIC FAIL
![Page 5: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/5.jpg)
Behind the fail
![Page 6: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/6.jpg)
Bikeshedding
Parkinson's Law of Triviality is C. Northcote Parkinson's 1957 argument that organisations give disproportionate weight to trivial issues.
(http://en.wikipedia.org/wiki/Parkinson's_Law_of_Triviality)
![Page 7: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/7.jpg)
![Page 8: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/8.jpg)
http://uncyclopedia.wikia.com/wiki/Paper_clip
![Page 9: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/9.jpg)
Entrepreneurs Once upon a time there was
a 30-ish year-old vagrant who never had a job. He had
never done a thing.
He thought he was fucking clever so he started trying to
convince people by doing magic stuff to impress dumb
folks around the way.
Not Jesus folks, meet the CULT OF REWORK
![Page 10: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/10.jpg)
![Page 11: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/11.jpg)
Entrepreneurs - Cult of Rework
![Page 12: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/12.jpg)
Entrepreneurs - Cult of Rework
![Page 13: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/13.jpg)
Behavioral Patterns
Lazy observer - Object to be realized some dayChain of irresponsibility (single irresponsibility principle)Dumb interpreter - impedance mismatchMediator - the wireless phoneVisitor - constant visitor to the projectStrategy - see capt. obvious, prophets of the past
![Page 14: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/14.jpg)
Lazy Observer
"I just work here"
"I am not the technical person (more from product owners)"
" X is my role, and that was not described on it"
Commitment. Ownership.
The specialist.
![Page 15: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/15.jpg)
Chain of Irresponsibility
The naive belief in "Best practices"
Broadcasting errors. Optimizations. Trust the database.
Developer blames sysadmin, sysadmin blames network guys, network guys blames infrastructure which blames ......
"Hudson is not red anymore, time to go home"
Github and Continous Integration
![Page 16: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/16.jpg)
Dumb Interpreter
Someone once said that there should be more tests than code.
Then a horde followed back and forgot that good code works. Tons of tests for stupid code. DOJOs follow up. Until the day there is a project which is not a CRUD.
Best practices for system administration should make developers and syadmins work together.
Then someone comes with devops and Infrastructure as code and TDD for infrastructure - lets create a failing alarm, and correct it installing the proper service. Until you have 1M users with no service available.
![Page 17: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/17.jpg)
Mediator
Simply said, the guy between the manager and the programmer/sysadmin.
Methodology roles that somehow morphs into job descriptions.
WHO ?
![Page 18: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/18.jpg)
Visitor
Your pair on pair programming.
The guy who checks his iPhone, his watch, corrects comment's spelling and helps writing commit messages while you are working on a CSS file.
The guy that's keep arguing over trivial semantics (see bike shedding)
Your very own partner, discussing which VIM theme is better for syntax highlight
![Page 19: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/19.jpg)
Strategy
So there is this guy who knows everything. He has the most amazing ideas about everything.
He is Warren Buffett in somebody else's body. For some (unfair) reason, he doesn't own the company.
But he is the man and start shitting theories, rules and products. When the real world comes over and proves he's a smartacus, then you realize he is ...
![Page 20: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/20.jpg)
![Page 21: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/21.jpg)
Captain Obvious is never wrong. Those ideas were not his. He always knew that the product would fail but he is altruistic and let people learn from their mistakes.
At every moment, count on a perfect and didactic explanation to what went wrong and a fucking gigantic email blaming somebody else.
Right in the sky, above all clouds... CAPTAIN OBVIOUS, THE PROPHET OF THE PAST
![Page 22: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/22.jpg)
Futility Belt
![Page 23: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/23.jpg)
![Page 24: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/24.jpg)
![Page 25: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/25.jpg)
![Page 26: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/26.jpg)
![Page 27: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/27.jpg)
![Page 28: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/28.jpg)
![Page 29: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/29.jpg)
![Page 30: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/30.jpg)
![Page 31: Patterns of fail](https://reader033.fdocuments.in/reader033/viewer/2022051609/5474240fb4af9fcd0a8b55b3/html5/thumbnails/31.jpg)