Building a gRPC Microservice: Contract-First Implementation Guide
Core Architecture & Communication Flow
gRPC is a modern, high-performance remote procedure call framework originally developed by Google. By utilizing HTTP/2 for multiplexed transport and Protocol Buffers for efficient binary serialization, it drastically reduces network overhead compared to traditional REST/JSON paradigms. This makes it pa ...
Posted on Thu, 11 Jun 2026 17:28:45 +0000 by bals28mjk
Service Registration and Discovery: From Theory to Practice
Service Registration and Discovery: From Theory to Practice
1. What is Service Registration and Discovery?
Let's start by understanding what service registration and discovery means.
Service Registration is the process of registering information about a module that provides a specific service (typically its IP address and port) with a common in ...
Posted on Thu, 11 Jun 2026 17:15:56 +0000 by mohabitar
Pipeline Parallelism in Large-Scale AI Model Training
Training large-scale neural networks often exceeds the computational and memory capacity of a single device, neecssitating distributed training strategies. Among these, model parallelism (MP) plays a crucial role by partitioning the model itself across multiple devices. Within MP, pipeline parallelism (PP) stands out as an effective technique t ...
Posted on Thu, 11 Jun 2026 16:37:39 +0000 by smonkcaptain
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
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
Implementing Apache Dubbo Service Exposure via Spring XML Configuration
XML-based configuration remains a practical approach for managing Apache Dubbo RPC endpoints, particularly when decoupling infrastructure settings from application source code. This methodology facilitates environment-specific overrides, centralized version control, and clearer depandency mapping for complex deployments.
Dependency Initializati ...
Posted on Sun, 17 May 2026 06:50:11 +0000 by runeveryday
Building Real-Time Chat and RPC Systems with Netty
Developing network applications often requires managing complex connection states and custom protocols. A practical way to understand these concepts is by constructing a chat application and a lightweight RPC framework.
Chat Application Architecture
The system consists of a client module, a server module, message definitions, protocol codecs, a ...
Posted on Tue, 12 May 2026 18:01:09 +0000 by ozman26
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__