AiTeky Original Interactive Learning & Practice Intermediate
APIs and microservices: contracts, resilience and when to split
See why an API is a promise that clients depend on and which changes break it, how retries and circuit breakers keep one slow service from taking down the rest, and decide whether a team should split an application into services.
An API (application programming interface) is how one program asks another to do something: "give me order 17", "create a payment". A microservice architecture splits an application into many small services that talk to each other through APIs, each owned by a small team.
This course models three ideas with small programs you can run in your browser: the API as a contract, resilience when a service fails, and deciding whether to split. They mimic real systems; they use no real servers or network. Check your framework's documentation for exact syntax. All names, rates and times are made up.
- Learn lessons explain one idea at a time and let you run it.
- Industry ready lessons decide and justify, and end with interview questions.
No prior experience is assumed. Basic Python helps.
- ▶ Run code in your browser. Nothing to install
- ✓ Exercises that check themselves
- 📖 Tap a word to see what it means
Locked. Sign up free
Learn
Understand each idea with everyday examples. No coding background needed.
- 00 25 min 🔒 AiTeky Pass Start here: an API is a contract Learn that an API is a promise between two programs about what can be asked and what will come back, see why changing it breaks callers, and how versioning protects them.
- 01 30 min Free sample 🔒 AiTeky Pass An API is a promise Model an API as a contract that clients depend on, classify changes as safe (adding a field) or breaking (renaming or removing one), and see how versioning lets a provider change without breaking clients that cannot change at once.
- 02 30 min 🔒 AiTeky Pass When a service fails: retries and circuit breakers Simulate a service that sometimes fails, see how retries rescue most requests but multiply the load on a struggling service, and add a circuit breaker that stops calling a service that is down so that it can recover and the caller stays fast.
Industry ready
Real problems from real jobs, and the questions interviewers ask about them.

