I used this approach to optimize an API endpoint and make it 10x faster. From ๐ญ๐ โกโกโก ๐ด๐ฌ๐บ๐ So, what's this "magic" approach? The endpoint was aggregating data from a few services. It sent several HTTP requests and then combined the results. These requests did not depend on each other. Which means we could parallelize them and execute them asynchronously. This leads to a massive performance improvement. But there's a catch... What happens if any of these requests fail? This is where resilience comes in. I wrote an in-depth guide on building resilient applications in .NET. You can check it out here: https://www.milanjovanovic.tech/blog/building-resilient-cloud-applications-with-dotnet/?utm_source=YouTube&utm_medium=social&utm_campaign=20.05.2024 ๐ฃ.๐ฆ. If you liked this, you will love The .NET Weekly newsletter. Join 49,000+ engineers to improve your .NET and software architecture skills. Subscribe here โ https://bit.ly/44BhYim
Show more