In-built memoization in Python with @functools.lru_cache()Memoization, in computer programming, is essentially an optimization technique wherein return values from a function are memorized/stored in a cache so that they don’t have to be computed again when required. Memoization makes your code faster and he...Jun 16, 2024·9 min read·133
Spring Data MongoDB: Configuring Secure Connection Between Spring Boot and MongoDB over TLS using CertificatesJun 28, 2022·6 min read·1.6K
How to use @RefreshScope with your Datasource for dynamic property updates at runtime?Jul 4, 2021·3 min read·2.7K
Late-Binding parameters set at JobExecutionContext level in your Spring Batch ItemReaderBatch Jobs are especially useful when bulk-oriented, non-interactive, data or computation-intensive processing is required. Though an age-old form of data processing, batch processing, and batch jobs exist even in modern microservices and the cloud-n...May 18, 2021·6 min read·449
My @Configuration class did not get applied because of this silly mistakeWhen working with Spring Boot, it is important to understand how Beans are created and injected into your application’s runtime context so that other components of your app can consume those Beans. Now, Spring Boot usually handles this behind the sce...Apr 6, 2021·5 min read·170
Spring Cloud Task: Async Processing with Spring Cloud (3/3)Part 3: Triggering Task on receiving Events via RabbitMQ Hello World! This is the final part of the three-part series on asynchronous processing in Spring Cloud. In the first part , I talked about Spring Boot and Spring Cloud, asynchronous processi...Feb 21, 2021·16 min read·215
Spring Cloud Task: Async Processing with Spring Cloud (2/3)Part 2: Writing a simple Task & interfacing with MySQL Hello World! Welcome to the 2nd part of a three-part series on asynchronous processing in Spring Cloud. In the first part, I talked (a lot) about Spring Boot and Spring Cloud, asynchronous proce...Feb 11, 2021·14 min read·201
Spring Cloud Task: Async Processing with Spring Cloud (1/3)Part 1: What is Spring Cloud Task? Spring Cloud is a growing project and if you’ve ever come across developing microservices in Java (preferably using the Spring Boot framework), there are high chances that the development entails the use of various...Feb 7, 2021·12 min read·443