Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Microservices Reality - Stop Fighting Environments and Mock Your Dependencies

InfoQ via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Discover how to overcome the harsh realities of microservices development in this 46-minute conference talk by Tom Akehurst, creator of WireMock. Explore why the promised land of decoupled services often leads to heavy interconnections, broken development environments, and frustratingly slow productivity. Learn advanced techniques including observability, contract testing, and realistic simulation that enable teams to move from fighting fragile environments to shipping value faster. Examine failed decoupling strategies such as gatekeeping, full environments, and smart environments, then understand why API mocking and simulation provide the solution. Address the three biggest objections to mocking at scale: realism, effort, and drift. Master the composition of three critical artifacts - observation, simulation, and contract - while exploring API observability, simulation, and contract testing definitions. Leverage AI productivity through LLMs for mock generation and discover two key workflows: trusting producer-provided contracts and generating contracts from traffic. Watch a practical demonstration of catching API drift using WireMock, Optic, and Prism. Explore future developments including Arazzo workflows and OpenAPI overlays, understand the impact of eBPF and service mesh on API observation, and learn when to reserve end-to-end tests for true integration risk scenarios.

Syllabus

0:00 The Microservices Promise vs. Reality: Why Teams are Frustrated
1:30 WireMock: A Brief Introduction & Open-Source Commitment
3:15 Failed Decoupling Strategies Gatekeeping, Full Environments, Smart Environments
7:50 Why API Mocking/Simulation is the Answer
9:45 The 3 Biggest Objections to Mocking at Scale Realism, Effort, Drift
12:00 Composing the Three Artifacts: Observation, Simulation, Contract
16:45 Defining API Observability, Simulation, and Contract Testing
21:30 The AI Productivity Lever: LLMs for Mock Generation
23:25 Workflow 1: Trusting Producer-Provided Contracts
25:30 Workflow 2: Generating Your Own Contracts from Traffic
26:45 DEMO: Catching API Drift with WireMock, Optic, and Prism
30:15 The Future: Arazzo Workflows and OpenAPI Overlays
32:30 The Impact of eBPF and Service Mesh on API Observation
34:10 Conclusion: Reserving End-to-End Tests for True Integration Risk

Taught by

InfoQ

Reviews

Start your review of Microservices Reality - Stop Fighting Environments and Mock Your Dependencies

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.