Enhancing Data Consistency in ASP.NET Core Microservices on Kubernetes with Distributed Locks

In modern microservices architectures, particularly those running in Kubernetes, managing concurrent access to shared resources is critical. Distributed locks ensure that only one instance of a microservice can access a critical section or resource at a time, preventing race conditions and ensuring consistency. This article explores how to implement distributed locks in an ASP.NET Core …

Continue reading Enhancing Data Consistency in ASP.NET Core Microservices on Kubernetes with Distributed Locks

HTTP best practices using ASP.NET Core- Part 2

In part 1 of this series, we compared HTTP Client vs HTTP Client Factory. Also, discussed the advantages that can be gained by using HTTP Client Factory or overcoming the shortfalls of socket exhaustion with HTTP Client.  We had already overcome socket exhaustion but there are challenges around resiliency and they must be addressed. Resiliency: …

Continue reading HTTP best practices using ASP.NET Core- Part 2