Why you should contract test your Microservices 🧭 by Syed Muhammad Dawoud Sheraz Ali @ Arbisoft
Communication in Microservices is THE most important item for the exchange of data. Break one communication link unintentionally and feel the ripple effects across the system. But what if there is a way to detect communication breakage before a change is even merged into the codebase?
Communication and Integration are the backbones of MicroServices architecture. A standalone microservice cannot work in isolation without exchanging some level of information with other services, be it in the form of read or write operations. Every service in Microservice architecture depends on and communicates with one or more services. In HTTP terms, this happens via API calls.
How can it be ensured that APIs work as expected across different services? One way to do so: set up a test infrastructure during the deployment pipeline and run a set of integration or end-to-end tests. Sounds simple? Setting up a production-like infrastructure is both costly and time-consuming. Generally, these tests run late in the deployment pipeline after the code merge, not giving the author any feedback on the integration failure. But what if I told you, there is another way to do this? A way that flags and detects the integration failure very early and can help avoid communication breakages across the system. That’s where consumer-driven contract testing comes into the picture.
This talk is part of the conference’s tech leaders 🧭 series, where speakers will discuss problems that decision makers often face.
The 5th annual Python Web Conf (#PWC2023) inspired attendees to use technology for good. The conference attracted 315 attendees from over 30 countries across 15 time zones. The highly engaging format featured 70 speakers, 5 tracks (including 64 talks and 5 tutorials) and took place virtually on March 13-17, 2023 on LoudSwarm by Six Feet Up.
More information about the conference can be found at: https://2023.pythonwebconf.com
Смотрите видео Why you should contract test your Microservices 🧭 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Six Feet Up 14 Июль 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 21 раз и оно понравилось людям.