Improving Performance of Your Spring Boot Application With Virtual Threads

Do you know you can significantly improve the performance of your Spring Boot application in less than just two minutes? Yes, you heard it right! You can simply improve performance of your application by adding two configurations in your app. These configuration will enforce the use of Virtual Threads (in contrast to the default Platform Threads) on your Spring Boot application running on Tomcat Server. These changes will significantly improve the throughput of your Spring Boot application (and yes, I am not kidding!...

February 12, 2024 · 4 min · 720 words · Akash Chandwani

Embracing Code Quality with Pre-Commit Framework

In the fast-paced world of software development, maintaining code quality is crucial. One effective way to ensure consistent coding standards and catch issues early in the development process is by using a pre-commit framework. In this blog article, we will explore the benefits and implementation of the pre-commit framework to streamline your development workflow. What is the Pre-Commit Framework? The pre-commit framework is a powerful tool that allows developers to define and automate checks on their code before it is committed to version control....

January 12, 2024 · 2 min · 412 words · Akash Chandwani

What is Gitleaks and How to Use It?

Gitleaks is an open source tool used to detect and prevent secrets (passwords / api-keys) checked-in to your git repository. The main advantage of Gitleaks is that it not only scans your latest source code but also the entire git history identifying any secrets committed to your source code in the past as well. “Once your secrets are committed, assume it’s leaked.” “Use Gitleaks before a hacker uses it to exploit you....

September 28, 2022 · 6 min · 1273 words · Akash Chandwani

Efficient Data Modeling: Hibernate Strategies for Shared Columns

Introduction In database tables, common columns are often used to store metadata about entries, serving purposes such as auditing, multi-tenancy, and soft deletion. These common columns may include information like created_by, updated_by, created_at, and last_modified_at. While it’s possible to duplicate these columns in entity objects, there’s a more efficient way to handle this. Let’s explore that. Scenario Consider a scenario where a set of resource tables shares common columns, such as created_at and last_modified_at....

April 21, 2021 · 2 min · 371 words · Akash Chandwani