This is part of the transcript of a talk I gave at The Developer Conference in Porto Alegre. You can find the deck online
I broke the transcript in several part that can be read independantly:
- Part 1: SOA Services in 5 minutes
- Part 2: Scaling your business
- Part 3: No microservices without ownership
- Part 4: Data architecture for microservices
- Part 5: Operability in microservices world
- Part 6: Anti-fragile system
- Part 7: Agile coaching for successful microservices system
- Part 8: Existing microservices stacks
Your system will have good days and bad days. The more you have moving parts, the more you have issues. At some scale, you will always have a problem happenning. It is part of the system and need to be accepted and taken into account from the start. That’s why it is important to make the difference between error and failures.
Developers are used to handle errors: validation errors, exceptions, bad requests, timeout … However, they will now need to handle failures: server that stops responding, instances going away, network connection having unexpected behaviour, cluster being splitted etc. The bigger your system is, the most expensive failure will be if not handled properly. Datacenter being down will happen, and let’s face it, it is better to be prepared. At the end of the day, you want to have the least impact on customer as possible. You might have to degrade the quality of your service temporarly, this is fine. However not letting consumer doing basic things due to some failure might not be acceptable. This needs to be discussed and agreed with business.
What fallback strategy should be used. This is really common sense in sport that are very risky like parachuting.
Designing for anti-fragility isn’t enough. Everything might looks good on the paper, but it doesn’t work until tested. That’s why it is very important to implement chaos testing. This is how you will find most of the scenario you dindn’t think about or find some wrong configuration in your system. It is better to handle an incident during working hours than at 3am :) The simian army is a good start.
Thinking that all those changes and complexity can be hidden from your developers is a foolish idea.