Tag

JSF

1 views collected around this technical thread.

JD Tech Talk
JD Tech Talk
Jan 17, 2025 · Backend Development

Investigation of JSF Thread‑Pool Exhaustion During R2M Redis Upgrade

During a Redis version upgrade of the internal R2M cache service, a Biz thread‑pool exhaustion error was traced to JSF threads blocked on a read lock held by a topology‑updater task, revealing a deadlock caused by shared ForkJoinPool usage and missing lock timeouts.

BackendJSFJava
0 likes · 5 min read
Investigation of JSF Thread‑Pool Exhaustion During R2M Redis Upgrade
JD Cloud Developers
JD Cloud Developers
Jan 17, 2025 · Backend Development

Why Did Our JSF Thread Pool Exhaust? A Deep Dive into Redis Lock Contention

This article analyzes a thread‑pool exhaustion issue in JD's JSF framework during a Redis cache upgrade, detailing log evidence, stack‑trace analysis, lock contention caused by read/write locks and ForkJoinPool usage, and the steps taken to diagnose and resolve the problem.

DebuggingJSFJava
0 likes · 7 min read
Why Did Our JSF Thread Pool Exhaust? A Deep Dive into Redis Lock Contention
JD Tech
JD Tech
Jul 6, 2024 · Backend Development

Investigation of JSF Thread‑Pool Exhaustion During R2M Redis Upgrade

This article details a step‑by‑step investigation of a JSF thread‑pool exhaustion error that occurred when upgrading the Redis version of JD's internal R2M distributed cache, analyzing stack traces, lock contention, ForkJoinPool behavior, and the eventual remediation steps.

JSFJavaR2M
0 likes · 7 min read
Investigation of JSF Thread‑Pool Exhaustion During R2M Redis Upgrade
JD Tech
JD Tech
Apr 25, 2024 · Backend Development

Comprehensive API Performance Optimization: Diagnosis, Problem Localization, and Solutions with Pfinder and JSF Asynchronous Calls

This article details a comprehensive API performance optimization journey, covering current diagnostics with Pfinder and UMP, pinpointing bottlenecks such as excessive RPC loops and large data sets, and presenting solutions like Set-based deduplication, JSF asynchronous calls, and code refactoring that reduce latency from seconds to milliseconds.

APIBackendJSF
0 likes · 7 min read
Comprehensive API Performance Optimization: Diagnosis, Problem Localization, and Solutions with Pfinder and JSF Asynchronous Calls
JD Tech
JD Tech
Aug 28, 2023 · Backend Development

Handling Large Payload Issues in JD Logistics: Causes, Impacts, and Mitigation Strategies

The article analyzes the root causes and system‑wide consequences of oversized messages in JD Logistics, explains middleware limits of JMQ and JSF, and presents design principles, code‑level checks, and practical mitigation techniques such as pagination, claim‑check pattern, batch sizing, and monitoring to prevent service outages.

JMQJSFPerformance
0 likes · 32 min read
Handling Large Payload Issues in JD Logistics: Causes, Impacts, and Mitigation Strategies
JD Tech
JD Tech
Jun 9, 2023 · Backend Development

JSF 1.7.6 Preheat Strategy Practice and Performance Test Report

This article presents a detailed practice report on the JSF 1.7.6 preheat strategy applied to JD's VOP platform, describing the background, test scenarios, deployment process, monitoring results with and without preheat, and concluding that dynamic preheat significantly reduces performance spikes during service rollout.

APIBackendJSF
0 likes · 8 min read
JSF 1.7.6 Preheat Strategy Practice and Performance Test Report
JD Retail Technology
JD Retail Technology
Apr 11, 2023 · Backend Development

Understanding the Architecture and Configuration of JD's JSF RPC Framework

This article explains the design and implementation of JD's JSF RPC framework, detailing the architecture, XML configuration of providers and consumers, Spring namespace handling, service registration, server startup, client initialization, load balancing, and the overall workflow from provider exposure to consumer invocation.

BackendJSFJava
0 likes · 12 min read
Understanding the Architecture and Configuration of JD's JSF RPC Framework
JD Retail Technology
JD Retail Technology
Apr 6, 2023 · Backend Development

JSF 1.7.6 Preheat Strategy: Practice and Performance Test Report

This report details the background, implementation, and results of using the JSF 1.7.6 dynamic preheat strategy to mitigate performance spikes during service deployments on JD's VOP platform, comparing scenarios with and without preheat and providing concrete monitoring data and configuration guidance.

DeploymentJSFload balancing
0 likes · 7 min read
JSF 1.7.6 Preheat Strategy: Practice and Performance Test Report
JD Tech
JD Tech
Feb 14, 2023 · Backend Development

EasyMock Platform Overview and JSF Mock Implementation Guide

This article introduces the EasyMock platform, outlines its key capabilities for service mocking, explains the technical challenges it solves, and provides a detailed step‑by‑step walkthrough of the JSF Mock implementation—including jar acquisition, JVM class loading, dynamic proxy creation, interface registration, client invocation, and parameter matching/return logic—accompanied by code examples.

BackendClassLoaderDynamic Proxy
0 likes · 12 min read
EasyMock Platform Overview and JSF Mock Implementation Guide
JD Retail Technology
JD Retail Technology
Jan 16, 2023 · Backend Development

EasyMock Platform Overview and JSF Mock Implementation Techniques

This article introduces the EasyMock platform, explains its role in providing JSF and HTTP mock services for development and testing, outlines its architecture and capabilities, and details the step‑by‑step technical implementation of JSF Mock including jar downloading, JVM class loading, dynamic proxy creation, registration, client invocation, parameter matching, and response deserialization.

BackendClassLoaderDynamic Proxy
0 likes · 11 min read
EasyMock Platform Overview and JSF Mock Implementation Techniques
JD Tech
JD Tech
May 12, 2022 · Backend Development

Design and Implementation of a JSF Local Debugging Tool Using Redis Middleware

This article explains the background, design principles, architecture, serialization handling, asynchronous‑to‑synchronous conversion, trigger timing, ease of use, implementation details, and usage documentation of a lightweight, non‑intrusive JSF local debugging tool that leverages Redis publish/subscribe to enable seamless local integration testing for developers.

JSFJavaMiddleware
0 likes · 15 min read
Design and Implementation of a JSF Local Debugging Tool Using Redis Middleware
JD Tech
JD Tech
Mar 1, 2018 · Backend Development

Redesigning JD's Java Service Framework (JSF) for a Cloud‑Native Microservice Platform

The article outlines the challenges faced by JD’s Java Service Framework (JSF) amid rapid microservice growth and containerization, and presents a comprehensive, multi‑layer redesign—including infrastructure, service framework, system extension, and application layers—to transform JSF into a cloud‑native microservice platform.

Cloud NativeJSFbackend development
0 likes · 14 min read
Redesigning JD's Java Service Framework (JSF) for a Cloud‑Native Microservice Platform