Dubbo: A Distributed Service Framework for Scalable Microservices
As web applications grew in scale, monolithic architectures became unsustainable. The transition from single-tier systems to distributed service-based models became inevitable to support scalability, resilience, and agile development.
Monolithic Architecture
In early-stage applications with low traffic, all components—UI, business logic, and da ...
Posted on Fri, 05 Jun 2026 18:15:27 +0000 by rachelk
Exploring the Async Overhaul in Dubbo 2.7
Evolution of the Dubbo Framework
Origin: Alibaba open-sourced the Dubbo framework on October 27, 2011, introducing comprehensive service governance to the Java ecosystem. It quickly became a standard for many organizations outside the Alibaba ecosystem.
Stagnation: Following the release of version 2.5.3 in October 2012, major development halted ...
Posted on Tue, 19 May 2026 23:46:03 +0000 by deansatch
LFU Cache Algorithm Implementation Analysis
Introduction to LFU Caching
LFU (Least Frequently Used) is a caching algorithm that removes the least frequently accessed items when the cache reaches its capacity. Unlike LRU (Least Recently Used), which considers only recency, LFU prioritizes access frequency.
Comparison of LFU and LRU
Consider a cache with capacity 3 and the following access ...
Posted on Tue, 19 May 2026 20:46:03 +0000 by stylefrog
Service Exposure Mechanism in Apache Dubbo
The URL as a Configuration BusPrior to analyzing the export mechanism, understanding the role of the URL in Dubbo is essential. Unlike standard web URLs, Dubbo utilizes the URL as its universal contract and configuration bus. A typical Dubbo URL follows this structure:scheme://user:secret@host:port/context?param1=val1¶m2=val2Relying on ...
Posted on Sun, 17 May 2026 14:54:52 +0000 by m4rw3r
Exploring Adaptive Load Balancing: A Deep Dive into Dubbo's P2C Algorithm
Today we're going to explore an interesting load balancing algorithm from Dubbo's source code. While I encountered this in Dubbo's implementation, it's not exclusive to Dubbo—it's a general algorithm concept. You can find Go implementations in go-zero as well.
The official documentation provides two diagrams illustrating these strategies.
When ...
Posted on Sat, 16 May 2026 21:20:25 +0000 by jib0
Implementing Nearby Search and Tinder-like Features
Location Reporting
When the client detects a user's geographic location, it reports to the server if the locasion changes by more than 500 meters or every 5 minutes. User locasion data is stored in Elasticsearch.
Dubbo Service
User location functionality is implemented in a new project called my-tanhua-dubbo-es.
POM Configuration
<dependenci ...
Posted on Sat, 16 May 2026 10:42:54 +0000 by TheUkSniper
Building Message Features and User Profile Pages
Overview
This tutorial covers implementing the following features:
Likes, loves, and comments notification lists
System announcements
User profile page
Chat with strangers functionality
Who viewed my profile feature
Notification Lists (Likes, Loves, Comments)
The notification center displays interactions from other users on your content. Si ...
Posted on Sun, 10 May 2026 23:19:01 +0000 by usefulphp
Dubbo Framework Core Concepts and Advanced Features
Measuring Website Performance Metrics
Response Time: Total duration from request initiation to response reception.
Concurrency: Number of simultaneous requests a system can handle.
Concurrent Connections: Total TCP connections established between clients and server per second.
Queries Per Second (QPS): Requests processed per second.
Concurrent ...
Posted on Sun, 10 May 2026 19:41:42 +0000 by joe__
Implementing a Simplified Dubbo SPI Mechanism
Core Annotations (Simulating Dubbo)
1. @SPI Annotation (Marking Extension Interfaces)
import java.lang.annotation.*;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface SPI {
// Default extension name
String value() default "";
}
2. @Adaptive Annotation (Simplified Adaptive Methods)
import java.lang.annot ...
Posted on Fri, 08 May 2026 11:06:54 +0000 by bluejay002