Let’s implement Strategy Pattern in Spring Boot with Java in the most efficient manner. Hey guys, welcome back to my YouTube channel (because I didn’t know how to start this one). I don’t intend to create another redundant article that explains how to implement design patterns. This one actually focuses on implementing the strategy pattern […]
Using KD Tree to Find the Nearest Neighbor
Let’s look at a spatial engine that provides KD Tree, to find the nearest neighbor! Are you tired of slow and inefficient algorithms for finding nearest neighbor in high-dimensional spaces? If so, you might want to consider using a KD tree, a versatile data structure that can significantly speed up your search queries. A KD […]
Postgres Performance Optimization: Uncover the 4 Simple Secrets
When it comes to optimizing the performance of your Postgres database, there are some simple yet essential steps you can take that will make all the difference. Whether you’re setting up a new database or already running it in production, this guide will help you prepare your Postgres for better performance troubleshooting. In just five […]
Optimizing Geospatial Search with PostgreSQL Geospatial Indexing: A Personal Case Study
Geospatial Indexing: Improving Location-Based Search in PostgreSQL Introduction In today’s fast-paced world, people are always on the go and looking for quick and convenient ways to find the perfect restaurant. With the rise of food and location-based apps, restaurant search has become an integral part of everyday life. To provide accurate and relevant results to […]
Monolith to Microservices: A Step-by-Step Guide to Modernizing Your System Architecture
Monolith to Microservices Migration: A Step-by-Step Guide to Modernizing Your System Introduction In today’s rapidly evolving tech landscape, staying up-to-date with the latest trends and best practices is crucial. One of the most talked-about trends is the transition from a monolithic architecture to microservices architecture. Traditional monolithic systems, with tightly coupled components, have reached their […]
Designing Scalable Systems: A Detailed Guide to Building High-Performance and Reliable Systems
Scalable System Design: A Detailed Guide to Building High-Performance and Reliable Systems Introduction Scalable systems are essential in today’s digital landscape, where businesses and organizations rely on technology to handle an ever-increasing amount of data and traffic. A scalable system is one that can handle a growing amount of work by adding resources to the […]
How To: Improve PostgreSQL Geospatial query performance with ST_Subdivide
Let’s optimize PostgreSQL Geospatial query performance! One of the biggest challenges while querying geospatial data is performance and scalability. That could be faced with a geospatial area as big as a country, a continent, or as small as your garden. The geometry datatype in a table can hold data in different forms, varying from a […]
4 Pillars of OOP
Let’s have a look at the 4 Pillars of OOP and try to understand what are the 4 pillars of Object-Oriented Programming Object-Oriented Programming (OOP) is one of the basics core paradigms of software programming. It can be easy and simple or very complex and complicated. Totally based on how you decide to design your […]
HTTP GET Request with a Request Body using RestTemplate
Lets have a look on how to send HTTP GET Request with a Request Body using RestTemplate! As much as I dislike the idea of having a HTTP GET request with a request body, I recently got stuck with one. I had to call an external service endpoint, in one of my projects last week. […]
How to set up DynamoDB locally using Docker
Lets have a look on how we can set up DynamoDB locally in 5 minutes! For one of my recent projects, I had to use DynamoDB. The client I was working for expected me to have a separate DynamoDB account. Meh.. He didn’t feel like providing me a DynamoDB instance on his AWS account, (security […]