<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Brijesh Srivastava on Medium]]></title>
        <description><![CDATA[Stories by Brijesh Srivastava on Medium]]></description>
        <link>https://medium.com/@brijesh.sriv.misc?source=rss-985c68c837ef------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AseeVZYEQvl7bgRBceICOw@2x.jpeg</url>
            <title>Stories by Brijesh Srivastava on Medium</title>
            <link>https://medium.com/@brijesh.sriv.misc?source=rss-985c68c837ef------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 07:55:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@brijesh.sriv.misc/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Hidden Cost of AI Coding Agents: Why “Index-First” Can Save You Tens of Thousands of Tokens]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@brijesh.sriv.misc/the-hidden-cost-of-ai-coding-agents-why-index-first-can-save-you-tens-of-thousands-of-tokens-0199d4624829?source=rss-985c68c837ef------2"><img src="https://cdn-images-1.medium.com/max/1024/1*-73tBD1uHrHOCxHxNPBioQ.png" width="1024"></a></p><p class="medium-feed-link"><a href="https://medium.com/@brijesh.sriv.misc/the-hidden-cost-of-ai-coding-agents-why-index-first-can-save-you-tens-of-thousands-of-tokens-0199d4624829?source=rss-985c68c837ef------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@brijesh.sriv.misc/the-hidden-cost-of-ai-coding-agents-why-index-first-can-save-you-tens-of-thousands-of-tokens-0199d4624829?source=rss-985c68c837ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/0199d4624829</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Brijesh Srivastava]]></dc:creator>
            <pubDate>Fri, 12 Jun 2026 22:01:24 GMT</pubDate>
            <atom:updated>2026-06-14T03:46:47.047Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Building an Intelligent PDF Agent System with Spring AI: A Production-Ready Guide]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@brijesh.sriv.misc/building-an-intelligent-pdf-agent-system-with-spring-ai-a-production-ready-guide-e0ccbfc39d53?source=rss-985c68c837ef------2"><img src="https://cdn-images-1.medium.com/max/1170/1*Ji90NCtlH-nvthAZ8uiGlw@2x.jpeg" width="1170"></a></p><p class="medium-feed-snippet">Introduction</p><p class="medium-feed-link"><a href="https://medium.com/@brijesh.sriv.misc/building-an-intelligent-pdf-agent-system-with-spring-ai-a-production-ready-guide-e0ccbfc39d53?source=rss-985c68c837ef------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@brijesh.sriv.misc/building-an-intelligent-pdf-agent-system-with-spring-ai-a-production-ready-guide-e0ccbfc39d53?source=rss-985c68c837ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/e0ccbfc39d53</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[spring]]></category>
            <dc:creator><![CDATA[Brijesh Srivastava]]></dc:creator>
            <pubDate>Thu, 24 Apr 2025 02:35:56 GMT</pubDate>
            <atom:updated>2025-04-24T02:37:15.178Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Clean Code Tip: Don’t Chain Calls – Keep Your Code “Shy” and Maintainable]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-link"><a href="https://medium.com/@brijesh.sriv.misc/clean-code-tip-dont-chain-calls-keep-your-code-shy-and-maintainable-dc82ab626dda?source=rss-985c68c837ef------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@brijesh.sriv.misc/clean-code-tip-dont-chain-calls-keep-your-code-shy-and-maintainable-dc82ab626dda?source=rss-985c68c837ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc82ab626dda</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[clean-code]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Brijesh Srivastava]]></dc:creator>
            <pubDate>Sun, 13 Apr 2025 04:46:58 GMT</pubDate>
            <atom:updated>2025-04-13T04:49:00.840Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Taming the Wild West of Service Responses in Java]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-link"><a href="https://medium.com/@brijesh.sriv.misc/taming-the-wild-west-of-service-responses-in-java-70a23d49b143?source=rss-985c68c837ef------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@brijesh.sriv.misc/taming-the-wild-west-of-service-responses-in-java-70a23d49b143?source=rss-985c68c837ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/70a23d49b143</guid>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Brijesh Srivastava]]></dc:creator>
            <pubDate>Mon, 07 Apr 2025 18:05:52 GMT</pubDate>
            <atom:updated>2025-04-08T03:09:03.252Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Top Core Java Interview Questions for Different Experience Levels]]></title>
            <link>https://medium.com/@brijesh.sriv.misc/top-core-java-interview-questions-for-different-experience-levels-7883ced1a2df?source=rss-985c68c837ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/7883ced1a2df</guid>
            <dc:creator><![CDATA[Brijesh Srivastava]]></dc:creator>
            <pubDate>Wed, 19 Mar 2025 07:43:41 GMT</pubDate>
            <atom:updated>2025-03-19T07:43:41.195Z</atom:updated>
            <content:encoded><![CDATA[<p>Java is a widely used programming language in enterprise applications, and mastering its core concepts is crucial for developers at all levels. Whether you are a beginner, mid-level developer, or an expert, understanding the fundamental and advanced aspects of Java can help you crack interviews and improve your coding skills.</p><p>In this article, we will cover Core Java interview questions categorized into three difficulty levels:</p><p>Easy (1–6 years of experience)</p><p>Medium (6–10 years of experience)</p><p>Hard (10–15 years of experience)</p><p>Each question is followed by an expected answer and additional bonus points that interviewers may expect you to discuss for extra credit.</p><p>Easy (1–6 years of experience)</p><ol><li>What are the main differences between == and .equals() in Java?</li></ol><p>Expected Answer:</p><p>== compares memory references, meaning two objects are equal only if they are the same instance.</p><p>.equals() compares the content of objects (if properly overridden in a class).</p><p>Bonus Points:</p><p>Explain how hashCode() is related to .equals() in collections like HashMap.</p><p>2. How does the final keyword work in Java?</p><p>Expected Answer:</p><p>A final variable cannot be reassigned.</p><p>A final method cannot be overridden by subclasses.</p><p>A final class cannot be extended.</p><p>Bonus Points:</p><p>Explain how final ensures immutability when used with objects.</p><p>3. What are the key differences between ArrayList and LinkedList?</p><p>Expected Answer:</p><p>ArrayList is backed by a dynamic array, whereas LinkedList is a doubly linked list.</p><p>ArrayList is faster for random access, while LinkedList is better for frequent insertions and deletions.</p><p>Bonus Points:</p><p>Explain how ArrayList resizes internally.</p><p>4. What is autoboxing and unboxing in Java?</p><p>Expected Answer:</p><p>Autoboxing: Automatic conversion of primitive types to their corresponding wrapper classes.</p><p>Unboxing: Automatic conversion of wrapper classes to primitive types.</p><p>Bonus Points:</p><p>Discuss performance implications of excessive autoboxing.</p><p><strong>Medium (6–10 years of experience)</strong></p><ol><li>Explain the internal working of HashMap in Java.</li></ol><p>Expected Answer:</p><p>HashMap stores key-value pairs using an array of linked lists (or a tree in Java 8+).</p><p>Uses hash functions for indexing, and handles collisions via chaining.</p><p>Bonus Points:</p><p>Explain treeification (how linked lists turn into trees in HashMap).</p><p>2. How does Java achieve polymorphism?</p><p>Expected Answer:</p><p>Compile-time polymorphism: Achieved through method overloading.</p><p>Runtime polymorphism: Achieved through method overriding and dynamic method dispatch.</p><p>Bonus Points:</p><p>Explain covariant return types in method overriding.</p><p>3. What is the difference between synchronized and Lock in Java concurrency?</p><p>Expected Answer:</p><p>synchronized is an implicit locking mechanism, whereas Lock is part of java.util.concurrent.locks and provides more flexibility.</p><p>Bonus Points:</p><p>Explain how ReentrantLock works and when it is preferable over synchronized.</p><p>4. How does the Java ClassLoader work?</p><p>Expected Answer:</p><p>Java uses a hierarchical class-loading mechanism: Bootstrap, Extension, and Application ClassLoaders.</p><p>Bonus Points:</p><p>Discuss custom class loaders and their applications.</p><p><strong>Hard (10–15 years of experience)</strong></p><ol><li>How does the JVM optimize garbage collection?</li></ol><p>Expected Answer:</p><p>JVM uses various GC algorithms like Serial GC, Parallel GC, G1 GC, and ZGC.</p><p>Generational garbage collection divides memory into Young, Old, and Permanent generations.</p><p>Bonus Points:</p><p>Explain GC tuning options and their impact on application performance.</p><p>2. Explain the concept of class reloading and dynamic class loading in Java.</p><p>Expected Answer:</p><p>Java allows loading classes dynamically using ClassLoader.</p><p>java.lang.reflect and java.lang.instrument allow modifying classes at runtime.</p><p>Bonus Points:</p><p>Explain Java Agents and how they modify bytecode at runtime.</p><p>3. What is false sharing in multi-threading, and how does Java handle it?</p><p>Expected Answer:</p><p>False sharing occurs when multiple threads modify adjacent variables, leading to cache contention.</p><p>Java provides the @Contended annotation to mitigate false sharing.</p><p>Bonus Points:</p><p>Explain how cache line padding works to prevent false sharing.</p><p>4. Explain the concept of biased locking and lock coarsening in Java.</p><p>Expected Answer:</p><p>Biased locking reduces synchronization overhead by assuming a lock is used by a single thread.</p><p>Lock coarsening reduces overhead by extending the scope of locks to cover multiple operations.</p><p>Bonus Points:</p><p>Explain how to enable and disable biased locking using JVM options.</p><p>Final Thoughts</p><p>Understanding these Core Java concepts is crucial for excelling in interviews and improving your software development skills. Whether you’re a junior developer or an experienced architect, these questions will help you reinforce your knowledge of Java fundamentals, concurrency, memory management, and performance optimization.</p><p>If you found this useful, share it with fellow Java developers and stay tuned for more advanced topics!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7883ced1a2df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Spring reactive interview questions]]></title>
            <link>https://medium.com/@brijesh.sriv.misc/spring-reactive-interview-questions-fcab738063c9?source=rss-985c68c837ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/fcab738063c9</guid>
            <dc:creator><![CDATA[Brijesh Srivastava]]></dc:creator>
            <pubDate>Tue, 18 Mar 2025 07:39:11 GMT</pubDate>
            <atom:updated>2025-03-18T07:39:11.457Z</atom:updated>
            <content:encoded><![CDATA[<p>Below are revised medium-level and hard-level questions with answers about Spring Boot Reactive (using Spring WebFlux).</p><p>– -</p><p>## Medium-Level Spring Boot Reactive (WebFlux) Questions and Answers</p><p>### 1. Your team is building a new microservice and debating between Spring MVC and WebFlux. How would you explain the key differences to help them decide?</p><p>**Answer:**</p><p>Spring MVC uses a blocking, thread-per-request model with Servlets (e.g., Tomcat), suitable for traditional applications with moderate concurrency. WebFlux, however, is non-blocking and reactive, running on servers like Netty with a small thread pool. It excels in high-concurrency scenarios, like real-time APIs, by handling requests asynchronously with `Mono` and `Flux`. For a microservice expecting heavy traffic or streaming data, WebFlux is the better choice.</p><p>### 2. A developer on your team is confused about when to use `Mono` versus `Flux`. How would you clarify this with an example?</p><p>**Answer:**</p><p>Imagine fetching a single user’s profile versus streaming a list of chat messages. Use `Mono` for the profile – it’s one item, like `Mono&lt;User&gt; findUserById(Long id)`. Use `Flux` for the messages – it’s a stream of multiple items, like `Flux&lt;Message&gt; getChatMessages()`. `Mono` handles 0–1 items, while `Flux` manages 0-N items, both asynchronously.</p><p>### 3. Your application needs a REST endpoint to greet users. How would you implement this reactively?</p><p>**Answer:**</p><p>I’d use `@RestController` and return a `Mono`. Here’s how:</p><p>```java</p><p>@RestController</p><p>@RequestMapping(“/greet”)</p><p>public class GreetController {</p><p>. @GetMapping(“/hello”)</p><p>. public Mono&lt;String&gt; greet() {</p><p>. return Mono.just(“Hello, Reactive User!”);</p><p>. }</p><p>}</p><p>```.</p><p>This leverages WebFlux’s reactive model, delivering the greeting non-blocking.</p><p>### 4. Your lead architect insists on full control over WebFlux setup. What annotation would you suggest, and why?</p><p>**Answer:**</p><p>I’d recommend `@EnableWebFlux`. It explicitly activates the reactive web stack, giving us control over configurations like routing or server settings, bypassing Spring Boot’s default auto-configuration. It’s ideal when we need custom behavior beyond what `spring-boot-starter-webflux` provides automatically.</p><p>### 5. Your app streams data to clients, but they complain about overload. How can WebFlux prevent this?</p><p>**Answer:**</p><p>WebFlux handles this with backpressure via `Flux`. The server can publish data (e.g., `Flux.interval()`), and clients request only what they can process using `request(n)`. Operators like `limitRate()` throttle the stream, ensuring the client isn’t overwhelmed, maintaining system stability.</p><p>### 6. You need to call an external API from your WebFlux app. What tool would you use, and how?</p><p>**Answer:**</p><p>I’d use `WebClient`, WebFlux’s reactive HTTP client. Example:</p><p>```java</p><p>WebClient client = WebClient.create(“https://api.example.com”);</p><p>Mono&lt;String&gt; response = client.get()</p><p>. .uri(“/data”)</p><p>. .retrieve()</p><p>. .bodyToMono(String.class);</p><p>```.</p><p>It’s non-blocking, returning a `Mono` or `Flux`, unlike the blocking `RestTemplate`.</p><p>### 7. An endpoint fails intermittently, and users see cryptic errors. How would you manage this reactively?</p><p>**Answer:**</p><p>I’d handle errors with Reactor operators like `onErrorResume()`. Example:</p><p>```java</p><p>Mono.just(“data”)</p><p>. .map(d -&gt; { throw new RuntimeException(“Oops”); })</p><p>. .onErrorResume(e -&gt; Mono.just(“Sorry, try again later”))</p><p>```.</p><p>For app-wide handling, I’d add a `@ControllerAdvice` with `@ExceptionHandler` returning reactive types.</p><p>### 8. Your app runs fine locally but struggles in production. What server powers WebFlux by default, and why does it matter?</p><p>**Answer:**</p><p>WebFlux defaults to Netty, a non-blocking server optimized for reactive workloads. Unlike Tomcat (MVC’s default), Netty uses an event-loop model, efficiently managing thousands of connections with few threads. In production, this scalability prevents bottlenecks under high load.</p><p>### 9. The ops team wants the app on a custom port for monitoring. How would you adjust this in WebFlux?</p><p>**Answer:**</p><p>I’d configure it in `application.properties`:</p><p>```properties</p><p>server.port=9090</p><p>```.</p><p>WebFlux applies this to Netty (or another reactive server), ensuring the app listens on the specified port without code changes.</p><p>### 10. Your manager prefers a non-annotation approach for routing. How can WebFlux support this?</p><p>**Answer:**</p><p>Use functional endpoints with `RouterFunction`. Example:</p><p>```java</p><p>@Bean</p><p>public RouterFunction&lt;ServerResponse&gt; routes() {</p><p>. return route(GET(“/hi”),</p><p>. req -&gt; ServerResponse.ok().bodyValue(“Hi, Functional World!”));</p><p>}</p><p>```.</p><p>This defines routes programmatically, offering flexibility over `@RestController`.</p><p>– -</p><p>## Hard-Level Spring Boot Reactive (WebFlux) Questions and Answers</p><p>### 1. Your app needs to fetch user data reactively from a database. How would you set this up with WebFlux?</p><p>**Answer:**</p><p>I’d use Spring Data R2DBC for reactive database access. Define a repository:</p><p>```java</p><p>@Repository</p><p>public interface UserRepository extends R2dbcRepository&lt;User, Long&gt; {</p><p>. Flux&lt;User&gt; findByStatus(String status);</p><p>}</p><p>```.</p><p>This integrates with WebFlux, returning `Flux` or `Mono` for non-blocking queries.</p><p>### 2. Your team’s MVC app struggles with scale. What hurdles might you face switching to WebFlux?</p><p>**Answer:**</p><p>Migrating to WebFlux involves:</p><ul><li>Replacing blocking libraries (e.g., JDBC) with reactive ones (e.g., R2DBC).</li><li>- Rewriting synchronous logic to use `Mono`/`Flux`.</li><li>- Managing backpressure and debugging reactive pipelines.</li><li>- Ensuring external systems support non-blocking I/O, as blocking calls undermine WebFlux’s benefits.</li></ul><p>### 3. Clients want real-time stock updates via your API. How would you implement this in WebFlux?</p><p>**Answer:**</p><p>I’d use Server-Sent Events (SSE) with `Flux`. Example:</p><p>```java</p><p>@GetMapping(value = “/stocks”, produces = MediaType.TEXT_EVENT_STREAM_VALUE)</p><p>public Flux&lt;String&gt; stockUpdates() {</p><p>. return Flux.interval(Duration.ofSeconds(1))</p><p>. .map(i -&gt; “Stock Update #” + i);</p><p>}</p><p>```.</p><p>This streams updates reactively to clients in real time.</p><p>### 4. Your app’s performance varies between endpoints. How does WebFlux’s threading differ from MVC’s?</p><p>**Answer:**</p><p>MVC assigns one thread per request, often blocking on I/O, using a large pool (e.g., Tomcat’s). WebFlux uses an event-loop model with a small, fixed pool (e.g., Netty’s), processing requests asynchronously. This reduces thread overhead, boosting efficiency for I/O-heavy tasks in WebFlux.</p><p>### 5. A slow database call delays responses. How can you offload it in WebFlux?</p><p>**Answer:**</p><p>Use a `Scheduler` with Reactor’s `subscribeOn()`. Example:</p><p>```java</p><p>Mono.fromCallable(() -&gt; slowDbCall())</p><p>. .subscribeOn(Schedulers.boundedElastic())</p><p>```.</p><p>`Schedulers.boundedElastic()` runs I/O tasks on a separate thread pool, keeping the main event loop free.</p><p>### 6. Your QA team needs to verify API behavior. How would you test a WebFlux endpoint?</p><p>**Answer:**</p><p>I’d use `WebTestClient` in a test:</p><p>```java</p><p>@WebFluxTest(MyController.class)</p><p>public class MyControllerTest {</p><p>. @Autowired</p><p>. private WebTestClient client;</p><p>. @Test</p><p>. public void testGreet() {</p><p>. client.get().uri(“/greet”).exchange()</p><p>. .expectStatus().isOk()</p><p>. .expectBody(String.class).isEqualTo(“Hello, Reactive!”);</p><p>. }</p><p>}</p><p>```.</p><p>This ensures reactive endpoints work as expected.</p><p>### 7. Hackers are targeting your app. How would you secure it reactively?</p><p>**Answer:**</p><p>I’d use Spring Security with a `SecurityWebFilterChain`:</p><p>```java</p><p>@Bean</p><p>public SecurityWebFilterChain security(ServerHttpSecurity http) {</p><p>. return http.authorizeExchange()</p><p>. .pathMatchers(“/secure/**”).authenticated()</p><p>. .anyExchange().permitAll()</p><p>. .and().httpBasic().and().build();</p><p>}</p><p>```.</p><p>This applies non-blocking security tailored to WebFlux.</p><p>### 8. Your app handles 10,000 requests/second better with WebFlux. Why does it outperform MVC here?</p><p>**Answer:**</p><p>WebFlux shines because:</p><ul><li>It uses fewer threads via an event-loop, minimizing overhead.</li><li>- Non-blocking I/O avoids waiting on slow operations.</li><li>- Backpressure manages load, preventing crashes.</li><li>This suits high-concurrency, low-latency needs like real-time apps.</li></ul><p>### 9. Ops wants to tweak Netty’s backlog. How would you customize it in WebFlux?</p><p>**Answer:**</p><p>I’d use a `WebServerFactoryCustomizer`:</p><p>```java</p><p>@Bean</p><p>public WebServerFactoryCustomizer&lt;NettyReactiveWebServerFactory&gt; customizer() {</p><p>. return factory -&gt; factory.addServerCustomizers(server -&gt;</p><p>. server.option(ChannelOption.SO_BACKLOG, 2000));</p><p>}</p><p>```.</p><p>This adjusts Netty’s settings reactively.</p><p>### 10. Your app combines data from two services. How would you merge them reactively?</p><p>**Answer:**</p><p>I’d use `Mono.zip()`:</p><p>```java</p><p>Mono&lt;String&gt; result = Mono.zip(</p><p>. service1.getData(),</p><p>. service2.getData(),</p><p>. (d1, d2) -&gt; d1 + “ and “ + d2</p><p>);</p><p>```.</p><p>This composes two `Mono`s into one reactive result efficiently.</p><p>– -</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fcab738063c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Java Interview Questions]]></title>
            <link>https://medium.com/@brijesh.sriv.misc/java-interview-questions-d88603e11f15?source=rss-985c68c837ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/d88603e11f15</guid>
            <dc:creator><![CDATA[Brijesh Srivastava]]></dc:creator>
            <pubDate>Tue, 18 Mar 2025 07:26:30 GMT</pubDate>
            <atom:updated>2025-03-18T07:40:21.082Z</atom:updated>
            <content:encoded><![CDATA[<h2>Spring Interview Questions</h2><p>Below are 10 medium-level and 10 hard-level questions about Spring Boot, each accompanied by their respective answers. These questions are designed to test varying levels of understanding, from core concepts and common practices to advanced features and customizations.</p><p>– -</p><p>### Medium-Level Questions and Answers</p><ol><li>**What is the purpose of the @SpringBootApplication annotation?**</li></ol><p>– **Answer:** The `@SpringBootApplication` annotation is a convenience annotation that combines three key annotations: `@Configuration`, `@EnableAutoConfiguration`, and `@ComponentScan`. It marks the main class of a Spring Boot application, enabling auto-configuration of the Spring application context, scanning for components in the specified package (and sub-packages), and allowing the definition of beans. This simplifies the setup of a Spring Boot application.</p><p>2. **How does Spring Boot handle dependency management?**</p><p>– **Answer:** Spring Boot simplifies dependency management through “starters,” which are curated sets of dependencies bundled together for specific functionalities. For example, including `spring-boot-starter-data-jpa` in your project brings in Spring Data JPA, Hibernate, and related libraries, eliminating the need to specify each dependency individually. Starters ensure compatible versions and reduce configuration effort.</p><p>3. **What is the role of the application.properties or application.yml file in Spring Boot?**</p><p>– **Answer:** The `application.properties` or `application.yml` file is used to configure a Spring Boot application. These files allow developers to override default settings, such as server port (`server.port=8080`), database connection details, or logging levels. They provide a centralized way to customize the application’s behavior without changing the code.</p><p>4. **Explain the concept of auto-configuration in Spring Boot.**</p><p>. – **Answer:** Auto-configuration is a feature in Spring Boot that automatically configures the application based on the dependencies present in the classpath. For instance, if `spring-boot-starter-web` is included, Spring Boot sets up a web application with an embedded Tomcat server, DispatcherServlet, and other necessary components, minimizing manual configuration.</p><p>5. **What are Spring Boot actuators, and why are they useful?**</p><p>. – **Answer:** Spring Boot actuators are tools that provide production-ready features for monitoring and managing an application. They expose endpoints like `/actuator/health`, `/actuator/metrics`, and `/actuator/info`, which allow developers to check the application’s health, view performance metrics, and audit events. Actuators are useful for maintaining and troubleshooting applications in production environments.</p><p>6. **How can you externalize configuration in Spring Boot?**</p><p>. – **Answer:** Spring Boot supports externalizing configuration through multiple methods, including `application.properties` or `application.yml` files, environment variables, command-line arguments (e.g., ` – server.port=9000`), and external configuration servers like Spring Cloud Config. This flexibility ensures configurations can be managed dynamically across different environments.</p><p>7. **What is the difference between @RestController and @Controller in Spring Boot?**</p><p>. – **Answer:** The `@Controller` annotation is used for traditional MVC controllers that return view names (e.g., for rendering HTML templates), while `@RestController` is designed for RESTful APIs, returning data directly in the response body (e.g., JSON or XML). `@RestController` combines `@Controller` and `@ResponseBody`, eliminating the need to annotate every method with `@ResponseBody`.</p><p>8. **How does Spring Boot handle exceptions?**</p><p>. – **Answer:** Spring Boot provides global exception handling using the `@ControllerAdvice` annotation. A class annotated with `@ControllerAdvice` can define methods annotated with `@ExceptionHandler` to handle specific exceptions across all controllers, returning customized error responses. This centralizes exception handling and improves maintainability.</p><p>9. **What is the purpose of the Spring Boot Maven/Gradle plugin?**</p><p>. – **Answer:** The Spring Boot Maven or Gradle plugin integrates build tools with Spring Boot projects. It enables packaging the application as an executable JAR or WAR, running the application directly (e.g., `mvn spring-boot:run`), and managing dependencies via starters. This streamlines the build and deployment process.</p><p>10. **How can you enable HTTPS in a Spring Boot application?**</p><p>. – **Answer:** To enable HTTPS, configure the `server.ssl` properties in `application.properties` or `application.yml`, such as `server.ssl.key-store`, `server.ssl.key-store-password`, and `server.ssl.key-store-type`. You’ll need a keystore (e.g., a `.jks` file) with an SSL certificate. Optionally, redirect HTTP to HTTPS by adding a connector or security configuration.</p><p>– -</p><p>### Hard-Level Questions and Answers</p><ol><li>**How can you create a custom auto-configuration in Spring Boot?**</li><li>. – **Answer:** To create a custom auto-configuration, define a class annotated with `@Configuration` and use `@Conditional` annotations (e.g., `@ConditionalOnClass`, `@ConditionalOnMissingBean`) to specify when it should apply. Register the configuration by adding its fully qualified name to `META-INF/spring.factories` under the key `org.springframework.boot.autoconfigure.EnableAutoConfiguration`. This allows Spring Boot to pick it up during auto-configuration.</li></ol><p>2. **Explain how Spring Boot’s @Conditional annotations work.**</p><p>. – **Answer:** `@Conditional` annotations determine whether a bean or configuration should be created based on specific conditions. Examples include `@ConditionalOnClass` (checks if a class is present), `@ConditionalOnProperty` (checks a property’s value), and `@ConditionalOnMissingBean` (applies if a bean is absent). These annotations are fundamental to Spring Boot’s auto-configuration, enabling conditional logic based on the application’s environment or dependencies.</p><p>3. **What is the difference between @ConfigurationProperties and @Value in Spring Boot?**</p><p>. – **Answer:** `@Value` injects a single property value (e.g., `@Value(“${server.port}”)`) into a field, requiring manual mapping for each property. In contrast, `@ConfigurationProperties` binds a group of related properties (e.g., `prefix=”server”`) to a Java object, offering type safety and easier management of structured configurations. `@ConfigurationProperties` is preferred for complex setups.</p><p>4. **How does Spring Boot support testing, and what are some best practices?**</p><p>. – **Answer:** Spring Boot supports testing with `@SpringBootTest`, which loads the full application context for integration tests, and test slice annotations like `@WebMvcTest` or `@DataJpaTest` for focused testing of specific layers. Best practices include using `@MockBean` to mock dependencies, keeping tests independent, leveraging in-memory databases (e.g., H2), and ensuring repeatable results by resetting state between tests.</p><p>5. **What is the role of the Spring Boot DevTools, and how does it improve development?**</p><p>. – **Answer:** Spring Boot DevTools enhances development by providing automatic application restarts on code changes, live reload for static resources (e.g., HTML, CSS), and developer-friendly defaults (e.g., disabling caching). It reduces the need for manual restarts, speeding up the feedback loop during development.</p><p>6. **How can you implement security in a Spring Boot application?**</p><p>. – **Answer:** Security is implemented using Spring Security, added via the `spring-boot-starter-security` dependency. Configure it by defining a `SecurityFilterChain` bean to set authentication (e.g., in-memory, JDBC, LDAP) and authorization rules (e.g., protecting endpoints with `.antMatchers()`). Additional features include CSRF protection, session management, and OAuth2 integration.</p><p>7. **Explain how to use profiles in Spring Boot.**</p><p>. – **Answer:** Profiles enable environment-specific configurations. Activate a profile by setting `spring.profiles.active` (e.g., `dev`, `prod`) in `application.properties`, command-line arguments, or environment variables. Define profile-specific settings in files like `application-dev.properties`. Spring Boot loads the active profile’s configuration alongside or instead of the default one.</p><p>8. **What is the purpose of the @EnableConfigurationProperties annotation?**</p><p>. – **Answer:** The `@EnableConfigurationProperties` annotation enables Spring Boot to bind external properties to beans annotated with `@ConfigurationProperties`. It registers these beans in the application context, allowing structured configuration data to be injected automatically without manual property mapping.</p><p>9. **How can you customize the embedded Tomcat server in Spring Boot?**</p><p>. – **Answer:** Customize the embedded Tomcat server by defining a `TomcatServletWebServerFactory` bean and setting properties like port, context path, or SSL configurations programmatically. Alternatively, use `server` properties in `application.properties` (e.g., `server.port=8443`, `server.tomcat.max-threads=200`) for simpler tweaks.</p><p>10. **What are some ways to optimize the performance of a Spring Boot application?**</p><p>. – **Answer:** Performance can be optimized by:</p><p>. – Enabling caching with `@Cacheable` for expensive operations.</p><p>. – Optimizing database queries (e.g., indexing, lazy loading).</p><p>. – Using asynchronous processing with `@Async` for non-blocking tasks.</p><p>. – Configuring connection pooling (e.g., HikariCP defaults).</p><p>. – Tuning JVM parameters (e.g., heap size, garbage collection) for the application’s workload.</p><p>– -</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d88603e11f15" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Custom Validation Annotation in Java]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">If you are not paid member of medium use this link to read.</p><p class="medium-feed-link"><a href="https://medium.com/@brijesh.sriv.misc/building-a-custom-validation-annotation-in-java-752d68d91496?source=rss-985c68c837ef------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@brijesh.sriv.misc/building-a-custom-validation-annotation-in-java-752d68d91496?source=rss-985c68c837ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/752d68d91496</guid>
            <category><![CDATA[validation]]></category>
            <category><![CDATA[custom-annotation]]></category>
            <category><![CDATA[spring-boot]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Brijesh Srivastava]]></dc:creator>
            <pubDate>Sat, 22 Feb 2025 04:15:00 GMT</pubDate>
            <atom:updated>2025-02-22T04:22:13.213Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[☕ Complete List of Features in Java 17 (LTS) ☕]]></title>
            <link>https://medium.com/@brijesh.sriv.misc/complete-list-of-features-in-java-17-lts-5f4f1fa5fe67?source=rss-985c68c837ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f4f1fa5fe67</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[java-17-features]]></category>
            <category><![CDATA[java17]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[interview]]></category>
            <dc:creator><![CDATA[Brijesh Srivastava]]></dc:creator>
            <pubDate>Sat, 08 Feb 2025 00:24:48 GMT</pubDate>
            <atom:updated>2025-02-08T00:24:48.993Z</atom:updated>
            <content:encoded><![CDATA[<p>Java 17 is a <strong>Long-Term Support (LTS)</strong> release, bringing major enhancements, performance improvements, and API changes.</p><p>We will covering in details following points</p><ol><li><strong>Language Features</strong></li><li><strong>Performance &amp; Memory Improvements</strong></li></ol><h4>1. Language Features</h4><blockquote>☕ <strong>Sealed Classes (Finalized)</strong> — Restrict class inheritance.</blockquote><p><strong>Sealed classes</strong> in Java 17 allow developers to control which classes can extend a given class</p><pre>// Sealed class allowing only specific subclasses<br>public sealed class Vehicle permits Car, Bike {<br>    public void start() {<br>        System.out.println(&quot;Vehicle is starting...&quot;);<br>    }<br>}<br><br>// Permitted subclass<br>final class Car extends Vehicle {<br>    public void drive() {<br>        System.out.println(&quot;Car is driving...&quot;);<br>    }<br>}<br><br>// Permitted subclass<br>final class Bike extends Vehicle {<br>    public void ride() {<br>        System.out.println(&quot;Bike is riding...&quot;);<br>    }<br>}<br><br>// ❌ The following will cause a compilation error<br>// class Truck extends Vehicle {} // Not permitted!<br><br>public class Main {<br>    public static void main(String[] args) {<br>        Vehicle car = new Car();<br>        car.start(); // ✅ Allowed<br>        ((Car) car).drive(); // ✅ Allowed<br><br>        Vehicle bike = new Bike();<br>        bike.start(); // ✅ Allowed<br>        ((Bike) bike).ride(); // ✅ Allowed<br>    }<br>}</pre><p>Key Takeaways:</p><p>sealed keyword restricts inheritance to only Car and Bike.permits specifies which classes can extend Vehicle.</p><p>Any other subclass not listed in permits (e.g., Truck) will cause a compilation error.</p><pre>// Sealed class allowing only specific subclasses<br>public sealed class Vehicle permits Car, Bike {}<br><br>// `final` class - cannot be extended further<br>public final class Car extends Vehicle {}<br><br>// `non-sealed` class - can be extended further<br>public non-sealed class Bike extends Vehicle {}<br><br>// ✅ Allowed: ElectricBike can extend Bike (since Bike is non-sealed)<br>public class ElectricBike extends Bike {}<br><br>public class Main {<br>    public static void main(String[] args) {<br>        Vehicle v1 = new Car(); // ✅ Allowed<br>        Vehicle v2 = new Bike(); // ✅ Allowed<br>        Vehicle v3 = new ElectricBike(); // ✅ Allowed (due to non-sealed)<br>    }<br>}</pre><p>Key Takeaways:</p><p>final subclasses (like Car) cannot be extended further.non-sealed subclasses (like Bike) can be extended by other classes.</p><p>ElectricBike can extend Bike because Bike is non-sealed, but Car cannot be extended further.</p><blockquote>☕ <strong>Pattern Matching for </strong><strong>switch (Preview)</strong> – Cleaner and more expressive switch</blockquote><p>Prior to Java 17, switch worked only with primitive types, String, and enums. If we needed to handle different object types, we had to rely on if-else with instanceof and explicit type casting.</p><p>Example (Before Java 17)</p><pre>public class OldSwitchExample {<br>    static void process(Object obj) {<br>        if (obj instanceof Integer) {<br>            Integer i = (Integer) obj; // Explicit casting needed<br>            System.out.println(&quot;Integer: &quot; + (i * 2));<br>        } else if (obj instanceof String) {<br>            String s = (String) obj;<br>            System.out.println(&quot;String: &quot; + s.toUpperCase());<br>        } else if (obj instanceof Double) {<br>            Double d = (Double) obj;<br>            System.out.println(&quot;Double: &quot; + (d + 10.5));<br>        } else {<br>            System.out.println(&quot;Unknown type!&quot;);<br>        }<br>    }<br><br>    public static void main(String[] args) {<br>        process(10);         // Integer: 20<br>        process(&quot;hello&quot;);    // String: HELLO<br>        process(5.5);        // Double: 16.0<br>    }<br>}</pre><p><strong>Problems</strong> in the <strong>Old</strong> Approach -Redundant<strong> </strong><strong>instanceof </strong>checks and explicit casting, Verbose and repetitive code.</p><p>Java 17 introduces <strong>Pattern Matching for </strong><strong>switch</strong>, which:<br>✔ Eliminates explicit type casting.<br>✔ Allows switch to work with objects beyond primitives and enums.</p><pre>public class NewSwitchExample {<br>    static void process(Object obj) {<br>        switch (obj) {<br>            case Integer i -&gt; System.out.println(&quot;Integer: &quot; + (i * 2));<br>            case String s -&gt; System.out.println(&quot;String: &quot; + s.toUpperCase());<br>            case Double d -&gt; System.out.println(&quot;Double: &quot; + (d + 10.5));<br>            case null -&gt; System.out.println(&quot;Null value provided!&quot;);<br>            default -&gt; System.out.println(&quot;Unknown type!&quot;);<br>        }<br>    }<br><br>    public static void main(String[] args) {<br>        process(10);         // Integer: 20<br>        process(&quot;hello&quot;);    // String: HELLO<br>        process(5.5);        // Double: 16.0<br>        process(null);       // Null value provided!<br>    }<br>}</pre><blockquote>☕ <strong>Records (Finalized from Java 16)</strong> – Concise data classes.</blockquote><p>Before records, we had to manually write constructors, getters, toString(), equals(), and hashCode(), making the code verbose.</p><p>- Too much boilerplate code for a simple data class.<br>- Manually maintaining equals(), hashCode(), toString() is error-prone.<br>- Lack of immutability enforcement by default.</p><p>Records are immutable data classes, They simplify the creation of data-carrying classes by automatically providing:<br>✔ Immutable fields (no setters).<br>✔ Generated constructor, equals(), hashCode(), and toString().</p><pre>public record Employee(String name, int age) {}</pre><p>You can still add custom methods in records if needed.</p><pre>public record Employee(String name, int age) {<br>    public String greet() {<br>        return &quot;Hello, my name is &quot; + name + &quot; and I am &quot; + age + &quot; years old.&quot;;<br>    }<br>}<br></pre><pre>public class Main {<br>    public static void main(String[] args) {<br>        Employee emp = new Employee(&quot;Alice&quot;, 30);<br>        System.out.println(emp.greet()); <br>        // Output: Hello, my name is Alice and I am 30 years old.<br>    }<br>}</pre><p>By default, Records provide an implicit constructor, but we can also define a compact constructor.</p><pre>public record Employee(String name, int age) {<br>    public Employee {<br>        if (age &lt; 18) {<br>            throw new IllegalArgumentException(&quot;Age must be 18 or above&quot;);<br>        }<br>    }<br>}</pre><pre>public class Main {<br>    public static void main(String[] args) {<br>        Employee emp = new Employee(&quot;Alice&quot;, 30);  // ✅ Works fine<br>        Employee emp2 = new Employee(&quot;Bob&quot;, 16);   // ❌ Throws IllegalArgumentException<br>    }<br>}</pre><p>✔ No need to manually assign this.name = name;—Java does it automatically.<br>✔ We can perform validation inside the compact constructor.</p><p>✔ Works seamlessly with modern Java features like sealed classes.</p><blockquote>☕ Text Blocks – Multi-line string literals (&quot;&quot;&quot;)</blockquote><p>Before Text Blocks, defining multi-line strings required manual concatenation (+), escape sequences (\n), and indentation issues.</p><pre>String json = &quot;{\n&quot; +<br>              &quot;  \&quot;name\&quot;: \&quot;Alice\&quot;,\n&quot; +<br>              &quot;  \&quot;age\&quot;: 25,\n&quot; +<br>              &quot;  \&quot;city\&quot;: \&quot;New York\&quot;\n&quot; +<br>              &quot;}&quot;;<br>System.out.println(json);</pre><p>Problems in the Old Approach</p><p>-Manual concatenation (+) makes the code hard to read.<br>-Escape characters (\n) clutter the string.<br>-Indentation is inconsistent, affecting readability.</p><p>Text Blocks, introduced in Java 13 (Preview) and finalized in Java 15, provide an easy way to work with multi-line string literals in Java.</p><p>It provide a cleaner syntax for multi-line strings using triple quotes (&quot;&quot;&quot;).</p><pre>String json = &quot;&quot;&quot;<br>    {<br>      &quot;name&quot;: &quot;Alice&quot;,<br>      &quot;age&quot;: 25,<br>      &quot;city&quot;: &quot;New York&quot;<br>    }<br>    &quot;&quot;&quot;;<br>System.out.println(json);</pre><p>Addressed all above problems of old approach.</p><p>By default, Text Blocks preserve indentation.<br>We can remove extra spaces using <strong>.stripIndent()</strong><em>normalizes indentation</em></p><pre>String text = &quot;&quot;&quot;<br>        Line 1<br>            Line 2<br>        Line 3<br>        &quot;&quot;&quot;.stripIndent();<br><br>System.out.println(text);</pre><blockquote>☕ <strong>Instanceof Pattern Matching (Finalized from Java 16)</strong> – Cleaner type checks.</blockquote><p>Before Java 16, using instanceof required <strong>explicit type casting</strong> after checking an object&#39;s type.</p><pre>Object obj = &quot;Hello, Java 17!&quot;;<br><br>if (obj instanceof String) {<br>    String str = (String) obj;  // Manual casting required<br>    System.out.println(str.toUpperCase());<br>}</pre><p><strong>Problems in the Old Approach</strong></p><ul><li>Redundant Casting ((String) obj) even after instanceof check, More boilerplate code, NullPointerException.</li></ul><pre>Object obj = &quot;Hello, Java 17!&quot;;<br><br>if (obj instanceof String str) {  // Direct variable declaration<br>    System.out.println(str.toUpperCase());<br>}</pre><p>instanceof with Multiple Conditions</p><p>Before</p><pre>Object obj = 42;<br><br>if (obj instanceof Integer) {<br>    Integer num = (Integer) obj;<br>    if (num &gt; 10) {<br>        System.out.println(&quot;Number is greater than 10&quot;);<br>    }<br>}</pre><p><strong>After</strong> -No unnecessary variable declaration, Combines instanceof and condition in one step</p><pre>Object obj = 42;<br><br>if (obj instanceof Integer num &amp;&amp; num &gt; 10) {<br>    System.out.println(&quot;Number is greater than 10&quot;);<br>}</pre><p>Java 17 ensures instanceof always returns false for null values, avoiding NullPointerException.</p><pre>Object obj = null;<br><br>if (obj instanceof String str) { //  No need for explicit null checks<br>    System.out.println(str.toUpperCase());  // This won&#39;t execute<br>} else {<br>    System.out.println(&quot;Object is null&quot;); <br>}</pre><h4>2. Performance &amp; Memory Improvements</h4><blockquote>☕ <strong>ZGC (Z Garbage Collector) Enhancements</strong> — Lower latency, better scalability.</blockquote><p>Z Garbage Collector (ZGC) is a low-latency, scalable garbage collector introduced in Java 11 and improved in subsequent releases. Java 17 brings major enhancements, making it more efficient for large heaps and low-latency applications.</p><p><strong>Before Java 17: ZGC in Java 11–16</strong></p><ul><li>Java 11: Experimental, supported heaps up to 4TB</li><li>Java 13: Class unloading support</li><li>Java 15: Soft max heap limit, concurrent thread stack processing</li><li>Java 16: Support for macOS &amp; Windows</li></ul><p>However, Java 17 significantly improves latency and efficiency.</p><p><strong>Lower Latency (Sub-Millisecond Pause Times)</strong></p><ul><li>Java 17 reduces GC pause times, ensuring that GC does not exceed 1 millisecond(earlier 2–10ms), even with larger heaps (up to 16TB compare to 4TB and more efficient for large-scale applications).</li><li>This is ideal for low-latency applications like trading systems, real-time analytics, and cloud-based services.</li></ul><p><strong>Better Efficiency</strong></p><ul><li>Reduces STW (Stop-The-World) pauses</li><li>Thread Stack Processing fully concurrent(Earlier it was partial).</li><li>Uses NUMA-aware allocation for better CPU efficiency.</li></ul><p><strong>Enable ZGC in Java 17? </strong>Simply use the <strong>-XX:+UseZGC</strong> JVM option:</p><pre>#Works out-of-the-box without tuning.<br>java -XX:+UseZGC -Xmx16G -jar myapp.jar </pre><p><strong>When to Use ZGC?</strong></p><p>-Low-latency applications (Trading, Gaming, AI, Real-time Analytics)<br>-Microservices running in cloud environments<br>-Large-memory applications (Big Data, Machine Learning)</p><blockquote>☕ <strong>Shenandoah GC Improvements</strong> — Faster pause times.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/599/1*HQCPooXp5_ClBvAaO1gQwQ.png" /></figure><blockquote>☕ <strong>Always-Strict Floating Point Semantics</strong> — Ensures predictable floating-point operations.</blockquote><p>Before Java 17, floating-point calculations in Java were sometimes affected by <strong>platform-specific optimizations</strong>, leading to: <strong>Inconsistent results</strong> across different JVM implementations</p><p>Needed strictfp for Consistency- Without strictfp, results might vary across platforms.</p><pre>public strictfp class FloatingPointExample {<br>    public static void main(String[] args) {<br>        double result = 0.1 + 0.2;<br>        System.out.println(&quot;Result: &quot; + result);<br>    }<br>}</pre><p>Java 17 enforces strict floating-point semantics globally, The strictfp keyword is no longer needed because all floating-point calculations now follow strict IEEE 754 rules.</p><p>Always-Strict Mode (Predictable Behavior)- Ensures consistent calculations across all platforms.</p><pre>public class FloatingPointExample {<br>    public static void main(String[] args) {<br>        double result = 0.1 + 0.2;<br>        System.out.println(&quot;Result: &quot; + result);<br>    }<br>}</pre><p>Will cover below large set of important features in next article.</p><p><em>New APIs &amp; Enhancements Security &amp; Cryptography Improvements and Other Internal Improvements.</em></p><p>Thanks for staying with me till the end — your support means the world! If you found this helpful, show some love ❤️ by clapping and sharing it with others who might benefit. Don’t forget to follow me and as always, happy coding! 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f4f1fa5fe67" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Types of Caches in Microservices]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@brijesh.sriv.misc/types-of-caches-in-microservices-28a40f119e80?source=rss-985c68c837ef------2"><img src="https://cdn-images-1.medium.com/max/840/1*EpADn3sg8Zm7r4AtwImesQ.png" width="840"></a></p><p class="medium-feed-snippet">Caching solutions can be broadly categorized into:</p><p class="medium-feed-link"><a href="https://medium.com/@brijesh.sriv.misc/types-of-caches-in-microservices-28a40f119e80?source=rss-985c68c837ef------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@brijesh.sriv.misc/types-of-caches-in-microservices-28a40f119e80?source=rss-985c68c837ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/28a40f119e80</guid>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[cache]]></category>
            <category><![CDATA[system]]></category>
            <dc:creator><![CDATA[Brijesh Srivastava]]></dc:creator>
            <pubDate>Tue, 04 Feb 2025 07:05:40 GMT</pubDate>
            <atom:updated>2025-02-04T07:05:40.655Z</atom:updated>
        </item>
    </channel>
</rss>