Why it mattered
Northwestern Mutual wanted customers to move money between accounts and products safely and easily, through one payments experience. When a system moves customers' money, there is no room for lost or duplicated messages. The platform had to be reliable from day one, and the client's own engineers had to be able to run and extend it.
The challenge
The payments experience had to bring many separate systems together. That led to microservices and event-based communication: an architecture and technology set the team had not worked with before.
- The team needed to get up to speed quickly with good practice for event-driven architecture on Kafka.
- The system had to handle the expected message volume and meet its SLAs.
- Message loss, duplication, ordering and failure handling had to be designed out before go-live.
How we worked
One team
Our architects and engineers worked inside the client's engineering team, not alongside it. We paired with developers and ran knowledge-sharing sessions, so skills grew as the system was built.
Resilient by design
We reviewed the architecture for points of failure and advised on how each technology choice affected resilience and complexity. Where the existing approach raised concerns, we built proofs of concept to test the alternatives before anyone committed to them. Failed messages are handled gracefully within transactions, and the design guards against message loss and duplication.
Quality built in
We introduced shift-left testing and a new component test layer alongside the unit and integration tests. It runs services out of process, with mocks and simulators, in a containerised environment that mirrors production. Load and performance testing exposed weaknesses early and proved the SLAs would be met.
Leave them stronger
We showed the team proven Kafka patterns, then implemented them together. Success meant the team could develop and validate event-driven services on its own, not just that our code reached production.
What changed
For the business
- The new payments system is live, with continuous deployment.
- Releases moved from manual deployments to daily, then to several times a day.
For the engineering team
- Key architectural changes made the system robust and resilient.
- Performance testing proved the expected loads and SLAs before go-live.
- The client owns a test harness that keeps several releases a day safe.
- Engineers design, build and validate event-driven services themselves.
A jump start on Kafka
“We brought Lydtech in to help us get a jump start on Kafka. They were invaluable in helping us to avoid major pitfalls and did many deep dives on Kafka specific questions that nobody on our team would have been able to do. Their contributions to our automated testing strategy helped us to build a test platform that keeps us safe and helps us deploy new software to production daily. I would hate to know where we would have been without the Lydtech team. We might still be fighting to get the first production integrations working instead of well into our 5th.”
