Spring WebFlux .doOnSubscribe & .doFinally. Is this race condition possible, if so, how to fix it?

Summary The question revolves around the potential race condition in the provided Spring WebFlux code, specifically between the .doOnSubscribe and .doFinally methods. The concern is whether it’s possible for .doFinally to execute before .doOnSubscribe, leading to a situation where a subscription instance is not properly removed from the SUBSCRIPTIONS map. Root Cause The root cause … Read more

Experiences frequent video call drops and audio loss specifically on iOS devices

Summary The WebRTC platform at https://dexinfra.netlify.app/ is experiencing frequent video call drops and audio loss specifically on iOS devices. This issue is reproducible on the latest iOS versions using Safari, but works fine on local development, Android, Chrome, Firefox, and non-iOS browsers. Root Cause The root cause of this issue can be attributed to several … Read more

Optimizing Cost Efficiency in PolarDB by Combining XEngine and Smart SSD

Summary To achieve better cost efficiency in Alibaba Cloud PolarDB, it’s essential to understand how to combine XEngine and Smart SSD. The official documentation highlights the benefits of using XEngine for database-level compression and Smart SSD for storage-level optimization. By leveraging both features simultaneously, users can further reduce costs. This article will delve into the … Read more