JavaEdge
Author

JavaEdge

First‑line development experience at multiple leading tech firms; now a software architect at a Shanghai state‑owned enterprise and founder of Programming Yanxuan. Nearly 300k followers online; expertise in distributed system design, AIGC application development, and quantitative finance investing.

371
Articles
0
Likes
109
Views
0
Comments
Recent Articles

Latest from JavaEdge

100 recent articles max
JavaEdge
JavaEdge
Sep 9, 2024 · Backend Development

Avoid Common Pitfalls When Implementing WeChat Pay v2: A Backend Guide

This article outlines essential backend best practices for integrating WeChat Pay v2, covering correct handling of order amounts, trade type fields, second signatures, merchant binding, currency units, duplicate consumption prevention, payment result verification, non‑transactional operation logging, and the unified order API.

Duplicate PreventionJavaSignature Verification
0 likes · 6 min read
Avoid Common Pitfalls When Implementing WeChat Pay v2: A Backend Guide
JavaEdge
JavaEdge
Sep 8, 2024 · Product Management

Boost User Feedback and Growth with Rabbit Nest and the 2A3R Funnel

This article introduces the free Tencent‑provided Rabbit Nest tool for managing user feedback, explains how to integrate it with web and app products, and then details the 2A3R (AARRR) growth funnel, offering practical optimization tactics for acquisition, activation, retention, referral, and revenue.

AARRRRabbit Nestgrowth funnel
0 likes · 8 min read
Boost User Feedback and Growth with Rabbit Nest and the 2A3R Funnel
JavaEdge
JavaEdge
Sep 5, 2024 · Backend Development

Mastering Spring Boot Thread Pools: From Default Config to Custom Solutions

This article explains how Spring Boot automatically configures a ThreadPoolTaskExecutor for @Async and @Scheduled, shows the default parameters introduced in version 2.1, demonstrates how to inspect and customize them, compares the default executor with SimpleAsyncTaskExecutor, and provides code examples for using @Async, injecting the executor, and defining a custom thread pool to avoid resource‑exhaustion issues.

AsyncAsyncSpring Boot
0 likes · 18 min read
Mastering Spring Boot Thread Pools: From Default Config to Custom Solutions
JavaEdge
JavaEdge
Sep 1, 2024 · Backend Development

How Kafka Implements Transactions and Achieves Exactly‑Once Guarantees

This article explains how Kafka implements transactions using a two‑phase commit protocol, compares its approach with RocketMQ, details the exactly‑once semantics for streaming workloads, and walks through the coordinator roles, message flow, and practical use‑case scenarios.

Kafkatransactiontwo-phase commit
0 likes · 10 min read
How Kafka Implements Transactions and Achieves Exactly‑Once Guarantees
JavaEdge
JavaEdge
Aug 31, 2024 · Backend Development

How I Traced and Fixed a Netty Off‑Heap Memory Leak in a WebSocket Service

This article details a step‑by‑step investigation of a Netty off‑heap memory leak that caused Nginx 5xx errors, covering background, alert analysis, multiple debugging stages, reflective monitoring, the root‑cause NPE fix, and verification in both local and production environments.

JavaNettyOff-Heap Memory
0 likes · 14 min read
How I Traced and Fixed a Netty Off‑Heap Memory Leak in a WebSocket Service
JavaEdge
JavaEdge
Aug 27, 2024 · Backend Development

How RocketMQ Transaction Messages Decouple Financial Services

This article explains how RocketMQ's transaction messaging can break tight coupling between heterogeneous systems in fund companies, outlines topic/tag classification, compares distributed‑transaction solutions, and details the end‑to‑end workflow and consumption guarantees for financial use cases.

Financial ServicesMessage QueueRocketMQ
0 likes · 13 min read
How RocketMQ Transaction Messages Decouple Financial Services
JavaEdge
JavaEdge
Aug 24, 2024 · Backend Development

When to Use Simple vs Detailed Events in Event‑Driven Architecture

This article examines the trade‑offs between simple and detailed events in event‑driven architectures, illustrating their impact on scalability, coupling, and system design through concrete examples, design guidelines, and considerations from domain‑driven design to practical implementation.

Event-Driven Architecturebackend designdetailed events
0 likes · 12 min read
When to Use Simple vs Detailed Events in Event‑Driven Architecture
JavaEdge
JavaEdge
Aug 23, 2024 · Backend Development

Mastering DDD Tactical Design: Entities, Value Objects, Aggregates and More

This article delves into the tactical design of Domain‑Driven Design, explaining core building blocks such as entities, value objects, aggregates, domain events, repositories, application services, and domain services, and shows how they help keep business logic centralized and expressive.

AggregateDDDEntity
0 likes · 9 min read
Mastering DDD Tactical Design: Entities, Value Objects, Aggregates and More
JavaEdge
JavaEdge
Aug 21, 2024 · Fundamentals

Merging Functional Programming with Domain‑Driven Design for Cleaner Architecture

This article explains how to apply functional programming concepts such as composition, monads, and applicatives to Domain‑Driven Design, covering code organization, trust boundaries, state‑machine modeling, and maintaining domain purity while highlighting the benefits and trade‑offs of this approach.

DDDDomain ModelingFunctional Programming
0 likes · 9 min read
Merging Functional Programming with Domain‑Driven Design for Cleaner Architecture