System Design tutorial Load Balancing in Distributed Systems Load balancing is defined as the methodical and efficient distribution of requests across multiple servers. The load balancer sits between client devices and backend servers, receiving and then distributing incoming requests to a server that is healthy and capable of fulfilling them. A load balancer is a critical component of any distributed system as it helps improve the services offered by increasing availability and responsiveness. As it distributes the traffic across multiple servers, it also helps us avoid a single point of failure. Written by Pratyush Jagaty September 6, 2020October 7, 2020 Saving Bookmark this article Bookmarked
System Design tutorial The CAP Theorem Today’s technical architecture is inclined towards the distributed system because of the ease of scalability it provides. This scenario demands that we understand the trade-offs made in a distributed architecture, which brings us to the CAP theorem. Let’s begin right away but putting on our thinking caps! Written by Pratyush Jagaty August 16, 2020October 6, 2020 Saving Bookmark this article Bookmarked
System Design tutorial SQL and NoSQL databases Understanding SQL and NoSQL databases Written by Pratyush Jagaty July 16, 2020October 6, 2020 Saving Bookmark this article Bookmarked
How to parse Google Search result in Java? Tutorial with example code on how to parse Search Results from Google using JAVA and Jsoup. Written by shashank October 5, 2020October 6, 2020 Saving Bookmark this article Bookmarked
The Command Design Pattern The command design pattern is a behavioral design pattern. This pattern focuses on encapsulating all the data and related actions of an object. This design pattern allows separating the objects that produce the behavior and the objects that consume them. Written by Pratyush Jagaty September 27, 2020October 6, 2020 Saving Bookmark this article Bookmarked
Visitor Design Pattern The Visitor Design Pattern is a behavioral design pattern. It comes in handy when we have to add a capability to an object with minimal change to the existing object structure. Come, let's dive in! Written by Pratyush Jagaty January 1, 2021January 2, 2021 Saving Bookmark this article Bookmarked
Full Text Search in PostgreSQL What is wrong with the good old SQL searches? There is no support for common languages. Regular expressions do not suffice because they cannot easily handle words that essentially mean the same, i.e., blocked and blocking is one such example. You might miss documents that contain blocked, although you probably would like to find them […] Written by Pratyush Jagaty December 6, 2020December 6, 2020 Saving Bookmark this article Bookmarked
Binary Search Introduction: Binary search is one of the most important algorithms for competitive programming. You may find other uses of binary search too, these are just a few topics mentioned that use binary search heavily: 1. Array problems 2. Geometry problems Let me give you a real-life example, imagine you walked into a room with some […] Written by Pratyush Jagaty November 22, 2020November 22, 2020 Saving Bookmark this article Bookmarked
Java Generics Java generics is a powerful feature introduced in JDK 5.0 that was directed towards improving the quality of code through abstraction. It aims to improve code reusability by providing a mechanism to write classes and functions in such a way that types can be passed as parameters. Written by Pratyush Jagaty October 10, 2020October 12, 2020 Saving Bookmark this article Bookmarked