Jenkins Pipeline Integration with GC REST API

This article discusses the integration of a GC API with Jenkins pipelines to assess application stability during major releases. It emphasizes using GCeasy for analyzing GC logs and automating performance tests. By leveraging Jenkins CI/CD capabilities, developers can ensure application health and address potential issues before production deployment.

String Deduplication: Everything You Need to Know

String deduplication saves memory by replacing repeated strings with references to just one copy. In Java, this can be done using the intern() method. In Java 8, specific settings are needed to activate this feature, while newer versions handle it automatically. Reviewing string deduplication logs helps assess how well memory is being used.

Virtual Threads Performance in Spring Boot

This post examines configuring Virtual Threads in a Spring Boot application that calculates the Fibonacci sum for values starting from 10,000. Using JMeter, a load test with 1000 users reveals similar throughput and average response times for both virtual and native threads, highlighting virtual threads' advantage in lower thread usage without performance gain for CPU-intensive operations.

How to configure Virtual Threads in Spring Boot application

Spring Boot is a popular Java framework that allows developers to minimize boilerplate code and easily configure applications. By leveraging Virtual Threads, developers can enhance thread management without extensive rewrites. Configuration involves setting properties in application files and using the @ConditionalOnProperty annotation to toggle between Virtual and Native Threads seamlessly.

How to get started with Apache JMeter?

JMeter is an open source load testing tool from the Apache foundation, allowing users to simulate load tests for websites. The setup involves downloading the binaries, configuring the application, and defining parameters such as user count and duration. After configuration, users can initiate load tests and visualize results through various graphical displays.

Virtual Threads – A Definite Advantage

Virtual Threads in Java, introduced in version 21, significantly enhance multi-threaded applications by reducing thread management overhead. This article explores their advantages over traditional platform threads through experimentation involving one million threads. Virtual Threads operate efficiently within heap memory, preventing OutOfMemoryError, and allow easier application scalability and performance improvements.

GraalVM vs OpenJDK GC Performance Comparison

In this article, we are going to  compare the performance of Garbage Collection(GC) of OpenJDK and GraalVM. The GraalVM is a popular open source JVM implementation in Java with a capability to run applications as native images. Apart from that, it has got other functionalities such as fast loading time, compacted memory usages,etc. Let’s compare the... Continue Reading →

How to capture and analyze Thread dumps in Android?

Discover the power of thread dumps in Android development. Learn what thread dumps are, how to capture them using commands like 'dumpsys thread' and 'jstack,' and uncover the insights they offer. Explore the effectiveness of 'fastThread,' a user-friendly tool that simplifies thread dump analysis, helping you identify performance issues, deadlocks, and more for a smoother... Continue Reading →

Parallel Sort

Everyone knows about what sorting is. There are so many computer algorithms that have emerged to support sorting. Some of the well-known algorithms are quick sort, heap sort, merge sort etc. All these sorting algorithms are working based on sequential sorting. Means, a single thread is used to perform the complete sorting operation. However, this... Continue Reading →

Parallelism in ConcurrentHashMap

ConcurrentHashMap enhances multi-threaded applications by incorporating parallelism, introduced in Java 1.8. It allows tasks to be divided into subproblems solved concurrently, optimizing processes through the ForkJoinPool API. Parallelism can be controlled via a threshold, improving performance significantly with larger datasets while enabling efficient thread management.

Up ↑