Tag

DistributedSystems

0 views collected around this technical thread.

Java Architect Essentials
Java Architect Essentials
Jun 5, 2025 · Fundamentals

Understanding CAS, LongAdder, and AtomicLong in Java for High‑Concurrency Counters

This article explains the principles, advantages, and drawbacks of CAS, LongAdder, and AtomicLong in Java, illustrating why Alibaba recommends LongAdder for high‑concurrency counter scenarios, how the ABA problem arises, and how AtomicStampedReference can mitigate it.

AtomicLongCASDistributedSystems
0 likes · 9 min read
Understanding CAS, LongAdder, and AtomicLong in Java for High‑Concurrency Counters
Architect
Architect
Feb 28, 2025 · Backend Development

Designing a High‑Performance Feeds System for Tencent Channel: Architecture, Strategies, and Optimizations

This article analyzes how Tencent Channel builds a scalable Feeds system for a massive multi‑level community by presenting a three‑layer architecture, core design principles, and read/write diffusion strategies to handle sub‑channel lists, post squares, and personal feeds while mitigating empty‑pull and moderation challenges.

DistributedSystemsFeedsReadWriteSeparation
0 likes · 12 min read
Designing a High‑Performance Feeds System for Tencent Channel: Architecture, Strategies, and Optimizations
Top Architect
Top Architect
Nov 22, 2023 · Backend Development

Solving Product Overselling in High‑Concurrency Scenarios: Seven Implementation Methods

This article analyzes the overselling problem that occurs during high‑concurrency flash‑sale (seckill) operations and presents seven concrete solutions—including improved lock placement, AOP‑based locking, three types of database locks, optimistic locking, a blocking‑queue approach, and a Disruptor queue—complete with SpringBoot 2.5.7 code samples, performance test results, and practical recommendations.

DistributedSystemsSpringBootconcurrency
0 likes · 20 min read
Solving Product Overselling in High‑Concurrency Scenarios: Seven Implementation Methods
DeWu Technology
DeWu Technology
Mar 22, 2023 · Big Data

Analysis of Flink Scheduling Components and Slot Allocation

The article explains Flink’s post‑submission scheduling pipeline—from Dispatcher creating SchedulerNG and building the ExecutionGraph, through pipelined region construction and the PipelinedRegionSchedulingStrategy, to slot sharing allocation—identifying why slot and TaskManager overloads occur and proposing randomization or fine‑grained resource strategies to balance load.

DistributedSystemsExecutionGraphSlotAllocation
0 likes · 14 min read
Analysis of Flink Scheduling Components and Slot Allocation
Xianyu Technology
Xianyu Technology
Jan 18, 2023 · Backend Development

Java Ternary Operator NPE, Message Storm, and Network Latency Cases

The article uses a safety‑principle analogy to introduce three real‑world backend incidents—a Java ternary‑operator NullPointerException caused by unintended unboxing, a RocketMQ message‑storm triggered by swapped parameters, and a network‑path latency spike—showing how language semantics, messaging contracts, and infrastructure topology each can create production bugs.

DistributedSystemsJavaNPE
0 likes · 10 min read
Java Ternary Operator NPE, Message Storm, and Network Latency Cases
Top Architect
Top Architect
Jan 5, 2023 · Backend Development

Resolving Overselling in High‑Concurrency Flash Sale: Seven Locking and Queue Strategies in SpringBoot

This article analyzes why simple @Transactional and lock annotations still cause overselling in flash‑sale scenarios, then presents seven backend solutions—including improved controller locking, AOP locking, pessimistic and optimistic database locks, and queue‑based approaches with BlockingQueue and Disruptor—along with code samples and JMeter test results.

DistributedSystemsJMeterMySQL
0 likes · 20 min read
Resolving Overselling in High‑Concurrency Flash Sale: Seven Locking and Queue Strategies in SpringBoot
Top Architect
Top Architect
Mar 31, 2022 · Backend Development

Message Deduplication and Exactly‑Once Semantics in RocketMQ

This article explains why RocketMQ guarantees at‑least‑once delivery, describes the three typical duplication scenarios, evaluates simple idempotent approaches, discusses transactional and non‑transactional deduplication solutions—including a Redis‑based method—and outlines their advantages, limitations, and practical recommendations for achieving exactly‑once processing in distributed systems.

DistributedSystemsExactlyOnceIdempotency
0 likes · 19 min read
Message Deduplication and Exactly‑Once Semantics in RocketMQ
DataFunTalk
DataFunTalk
Mar 8, 2022 · Databases

OpenMLDB 0.4.0 Full-Process Features and Quick‑Start Guide for Building End‑to‑End Online AI Applications

This article introduces the new full‑process features of OpenMLDB 0.4.0, explains its unified online/offline storage, high‑availability task management, and end‑to‑end AI workflow, and provides step‑by‑step instructions for quickly deploying both single‑node and cluster versions to run a complete online AI application.

AIWorkflowDistributedSystemsFeatureEngineering
0 likes · 24 min read
OpenMLDB 0.4.0 Full-Process Features and Quick‑Start Guide for Building End‑to‑End Online AI Applications
Yang Money Pot Technology Team
Yang Money Pot Technology Team
May 18, 2021 · Backend Development

Understanding Hystrix: Resilience Patterns, Execution Flow, and Custom Extensions

This article explains how Hystrix implements resiliency patterns such as bulkhead, circuit breaker, retry, and degradation for microservice calls, details its execution workflow, core components, dynamic configuration, isolation strategies, metrics collection, and practical usage, and discusses future alternatives and extensions.

DistributedSystemsHystrixJava
0 likes · 33 min read
Understanding Hystrix: Resilience Patterns, Execution Flow, and Custom Extensions
JD Tech Talk
JD Tech Talk
Oct 20, 2020 · Databases

Using ClickHouse for Time‑Series Data Management and Analysis in JD.com JUST Platform

This article explains how JD.com’s JUST platform leverages the open‑source columnar database ClickHouse to store, query and analyze massive time‑series data, covering data modeling, lifecycle management, system goals, technology selection, cluster architecture, deployment, scaling and future enhancements.

BigDataClickHouseDatabase
0 likes · 20 min read
Using ClickHouse for Time‑Series Data Management and Analysis in JD.com JUST Platform
Architecture Digest
Architecture Digest
Feb 7, 2020 · Backend Development

Design and Implementation of a Transactional Message Module with Spring Boot, RabbitMQ, and MySQL

This article details the design principles, implementation steps, and code examples for a lightweight transactional message module in a microservices environment, leveraging Spring Boot, RabbitMQ, MySQL, and Redisson to achieve low‑intrusion, eventual‑consistency messaging with compensation and retry mechanisms.

DistributedSystemsMySQLRabbitMQ
0 likes · 23 min read
Design and Implementation of a Transactional Message Module with Spring Boot, RabbitMQ, and MySQL