Tagged articles
PerformanceTesting
19 articles · Page 1 of 1
This article measures the heap memory allocated by a single SpringBoot HTTP and RPC request using JMeter load testing and detailed GC logs, revealing that even tiny payloads can consume around 34 KB of heap, and discusses how request size, logging, and JVM settings affect memory usage and GC frequency.
JMeterMemoryOptimizationPerformanceTesting
0 likes · 10 min read

This article provides a comprehensive walkthrough of building a Java WebSocket client, covering client creation, connection establishment, message sending, graceful closure, header handling, and code encapsulation, with complete example code and best practices for performance testing and robust error handling.
ClientJavaNetworking
0 likes · 11 min read

This article explains how to select and customize a Java thread pool for performance testing, covering parameter considerations, modifications to the standard fixed thread pool, custom thread factories, work queue choices, and provides complete example code for both fixed and TPS models.
ExecutorServiceJavaPerformanceTesting
0 likes · 8 min read

This article explains Java’s java.util.concurrent.Phaser class, compares it with CountDownLatch, details its core methods, demonstrates practical usage with code examples, and shows how to build a custom lightweight synchronization utility for performance testing scenarios.
ConcurrencyJavaPerformanceTesting
0 likes · 13 min read

This article explains Java thread pools, their performance benefits, and how to create and use FixedThreadPool and CachedThreadPool via the Executors utility, providing code examples, execution results, and guidance on selecting the appropriate pool for different concurrency scenarios.
CachedThreadPoolConcurrencyExecutorService
0 likes · 12 min read

This article demonstrates how to boost the insertion speed of over two million records in a PostgreSQL database by configuring a Spring Boot ThreadPoolTaskExecutor for multithreaded batch processing, detailing the setup, code implementation, performance testing, and analysis of results.
BatchInsertMultithreadingPerformanceTesting
0 likes · 6 min read

This article presents a SpringBoot-based experiment measuring the heap memory allocated per HTTP request, detailing the setup with JMeter, JVM GC logging, observed memory usage of roughly 34 KB per request, analysis of GC frequency, and concludes with recommendations on logging and memory optimization, while also promoting related AI services and community resources.
GCJVMMemoryOptimization
0 likes · 11 min read

This article demonstrates how to boost the performance of inserting over two million records by configuring a ThreadPoolTaskExecutor in a Spring Boot application, providing detailed implementation code, test results comparing multithreaded and single‑threaded approaches, and practical recommendations for optimal thread pool sizing.
BatchInsertPerformanceTestingPostgreSQL
0 likes · 6 min read

This article reviews the Java 21 LTS release, lists its new JEPs, shares an upgrade experience from Java 17, evaluates the generational ZGC and virtual‑thread improvements, demonstrates record‑pattern syntax, and provides code samples and performance observations.
JEPJavaJava21
0 likes · 10 min read

This article details Zhihu's evaluation of PrestoDB and Trino, the integration of Alluxio for query acceleration, the architectural choices and deployment modes, extensive TPC‑DS and production performance tests, encountered challenges, and future optimization directions for their OLAP platform.
AlluxioCachingOLAP
0 likes · 28 min read

The article introduces Java's ForkJoinPool for dividing large, compute‑intensive tasks into smaller subtasks, explains its suitability for performance testing scenarios such as high‑throughput QPS/RT data collection, and provides a complete Groovy‑based demo that defines a RecursiveTask, implements the compute method, and runs a sum calculation using a thread pool.
ConcurrencyForkJoinPoolJava
0 likes · 6 min read

This article introduces the ApacheBench (ab) performance testing tool, explains key load‑testing concepts such as throughput and concurrency, provides step‑by‑step instructions for downloading, installing, and running ab on Windows, and describes how to interpret the generated test report.
CommandLineHTTPLoadTesting
0 likes · 3 min read

This article examines the performance of four Java integer-to-string conversion methods—Integer.toString, String.valueOf, a+"", and ""+a—by conducting raw loop tests and detailed JMH microbenchmarks, analyzing JVM warm-up, JIT, and OSR effects to reveal reliable measurement practices.
JITJMHJava
0 likes · 25 min read

This article explains how Java's CountDownLatch, CyclicBarrier, and Phaser classes work, compares their features, and shows practical scenarios—especially in performance testing—where each synchronization tool can be applied effectively.
ConcurrencyCountDownLatchCyclicBarrier
0 likes · 4 min read

This article presents a detailed case study of using TDengine as the core time‑series database for a private‑cloud energy‑management platform, covering project background, overall architecture, connector selection, Java RESTful implementation, performance testing, deployment strategy, and future technical expectations.
DataIngestionEnergyManagementJava
0 likes · 12 min read

This article provides a comprehensive tutorial on handling HTTP cookies in JMeter using Groovy scripts, covering the creation and configuration of CookieManager, adding and modifying cookies, executing JSR223 pre‑processors, and interpreting console output, supplemented with code examples and screenshots.
CookieManagerGroovyJMeter
0 likes · 5 min read

This guide walks through deploying a LAMP architecture with static‑dynamic separation, compiling PHP with FastCGI, configuring Apache proxy to PHP‑FPM, performing load testing using ApacheBench, installing XCache for PHP acceleration, and finally setting up a Discuz BBS forum, providing step‑by‑step commands and performance metrics.
ApacheBBSLAMP
0 likes · 24 min read

Over eleven years Alipay’s engineers transformed the daunting Double‑11 traffic surges from chaotic outages into a smooth, scalable system through relentless capacity planning, architectural revolutions, rigorous stress testing, and the adoption of the self‑developed OceanBase database, turning “impossible” goals into everyday reality.
AlipayDouble11Operations
0 likes · 23 min read

This guide walks through downloading JMeter source, importing it into Eclipse, resolving dependencies, building the project, customizing the core to print concurrent users every five seconds, packaging the modified JAR, and running a gradient load test on a Linux server.
EclipseJMeterJava
0 likes · 4 min read
