Conditional Response Types in gRPC Services
gRPC supports returning different messsage types based on runtime conditions through server-side logic and Protocol Buffers' type system. Two primary approaches enable this functionality:
1. Polymorphic Responses via oneof
The Protocol Buffers oneof feature allows defining a response message that may contain one of several predefined field type ...
Posted on Mon, 21 Sep 2026 16:56:08 +0000 by Swede78
Dubbo RPC Framework Quick Start Guide
Distributed System Fundamentals
Internet Application Architecture Characteristics
Modern internet applications exhibit distinct characteristics that differentiate them from traditional enterprise software:
High user volume with global accessibility
Massive traffic and concurrent requests
Large-scale data processing requirements
Vulnerability t ...
Posted on Wed, 16 Sep 2026 16:38:30 +0000 by CSmith1128
Troubleshooting Dubbo's Telnet Invoke: The Unexpected Semicolon Error
Apache Dubbo provides a powerful telnet interface for interactive debugging and service management. While its commands are generally intuitive, the invoke command has a specific syntax requirement that can easily trip up developers, leading to a confusing and seemingly incorrect error message. This article highlights this common pitfall.
Consid ...
Posted on Fri, 11 Sep 2026 16:27:47 +0000 by Pro Ninja
Service Discovery Mechanisms in Microservices: Nacos, REST, and RPC
Architectural Evolution and Microservices
Modern software engineering has transitioned from monolithic architectures, where all components share a single database and deployment unit, to distributed systems. While Service-Oriented Architecture (SOA) abstracted common functionalities into services, Microservices architecture refines this by brea ...
Posted on Fri, 14 Aug 2026 16:54:46 +0000 by keakathleen
Understanding Apache Dubbo: A Comprehensive RPC Framework Guide
Apache Dubbo RPC Framework Overview
Apache Dubbo is a high-performance RPC (Remote Procedure Call) service development framework designed to address service governance and communication challenges in microservice architectures. The framework provides multi-language SDK implementations including Java and Golang. Microservices built with Dubbo in ...
Posted on Tue, 04 Aug 2026 16:12:32 +0000 by daveoliveruk
Exploring Dubbo's Generic Invocation for Decoupled API Gateway Architecture
The Challenge of Dependency Management in Microservices
In standard Remote Procedure Call (RPC) architectures, communication typically requires the service consumer to possess the API definitions of the service provider. This usually involves importing a Maven dependency or JAR file containing the interface classes. For instance, in a Dubbo env ...
Posted on Fri, 10 Jul 2026 17:39:26 +0000 by lentin64
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