Balkrishan Nagpal·May 18How to Precisely Count Hibernate Queries and Why Hibernate stats can be misleadingPerformance tuning in a Spring boot application usually begins with one nagging suspicion: The N+1 Query Problem. You look at your service…
Balkrishan Nagpal·Mar 1Fixing Slow JPA Batch Jobs: A Deep Dive into flush() and clear()If you’ve ever built a batch job using the Java Persistence API (JPA) and watched in horror as it started fast but gradually slowed to a…
Balkrishan Nagpal·Jan 2Erasure Coding — This is how cloud providers store multiple copies of data at low costHow cloud providers store multiple copies of data at low cost
Balkrishan Nagpal·Dec 5, 2025The Art of the DTO: Mastering Data Transfer in Modern Spring BootIf you have been working with Java and Spring Boot for any length of time, you have likely encountered the Data Transfer Object (DTO). It’s…
Balkrishan Nagpal·Nov 25, 2025Postgres — How I improved data insertion speed by a factor of more than 1000xPostgresql is one of the most popular RDBMS around and is being widely used. Saving data in database is one of the most primitive…
Balkrishan Nagpal·Oct 27, 2025Flipkart MySQL High Availability — What the Original Blog MissedI was reading the Flipkart MySQL high availability blog here. It explains their MySQL high availability setup well. But it leaves out…
Balkrishan Nagpal·Jul 31, 2025Cryptography Essentials : A Developer’s Guide to Secure AppsIn the digital age, security is not just an add-on, but a fundamental necessity. This guide simplifies the essentials of cryptography…
Balkrishan Nagpal·Jul 17, 2025Mastering Git Stash: All you need to know for context switchingAre you a developer who’s working on a feature, only to be hit with an urgent bug report that needs immediate attention? Switching tasks in…
Balkrishan Nagpal·May 24, 2025Understanding Hive in Big Data: From MapReduce to Modern Cloud StorageIn the early days of Big Data, processing massive datasets primarily meant writing complex MapReduce programs. MapReduce revolutionized…
Balkrishan Nagpal·May 6, 2025Mastering Multi-Environment Azure Deployments with TerraformDeploying infrastructure to Azure across multiple environments (dev, staging, prod) can quickly become a tangled mess. This post distills…A response icon1A response icon1