Vishal RatnainBetter ProgrammingImplementing a Rate Limiter That Solves the Under-Utilisation of Resources in JavaLet’s solve the issues of utilisation that occurred in our previous implementations8 min read·Jan 24, 2023----
Vishal RatnainBetter ProgrammingImplementing a Rate Limiter for Evenly Distributing Requests in JavaEver wondered how you’ll deal with requests sent in bursts?5 min read·Jan 17, 2023----
Vishal RatnainBetter ProgrammingBuilding a Simple Rate Limiter in JavaWith uses from an Android perspective8 min read·Jan 12, 2023--1--1
Vishal RatnainBetter ProgrammingUnderstanding Contravariance — The Java WildcardWe will start with what contravariance is, and will deal with how to implement it, where to use it and the difference in Java and Kotlin…7 min read·Sep 20, 2022----
Vishal RatnainBetter ProgrammingA Deep Dive Into Java Wildcards — CovarianceAn exploration of one of the more difficult topics in Java8 min read·Sep 15, 2022--1--1
Vishal RatnainMicrosoft Mobile EngineeringClean Android WebView cachingWant to learn how to reliably cache android webviews without causing context leaks? You are at the right place.5 min read·Aug 17, 2022--8--8
Vishal RatnainBetter ProgrammingAndroid MultiTriggerBomb — Prevent Code Execution Till All Triggers Are Down (or Timer Is Expired)The last time you were in a situation where you needed to prevent (not wait for) the execution of a code until ’n’ events(sync/async) are…4 min read·Jun 20, 2022----
Vishal RatnainMicrosoft Mobile EngineeringImprove android app/screen launch times using LazyLifecycle callbacks.Want to improve screen launch times of your android app lazily? Lazy lifecycle callbacks can help you out there.8 min read·Jun 15, 2022--2--2
Vishal RatnainBetter ProgrammingA Deep Dive Into the Java Volatile KeywordDo you want to understand volatile thoroughly? Do you want to know when to use volatile? Then read this article to uncover the hidden…8 min read·Dec 28, 2021--1--1
Vishal RatnainBetter ProgrammingUnderstanding Synchronization in JavaFirst steps toward a multithreaded paradigm with the synchronized keyword6 min read·Dec 20, 2021----