Tag

RPC

1 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 28, 2025 · Backend Development

Master JSON-RPC with Spring Boot 3: Full Guide and Code Samples

This article introduces the JSON-RPC 2.0 protocol, demonstrates how to integrate the jsonrpc4j library into a Spring Boot 3.4.2 project, and provides step‑by‑step code examples for defining services, exposing them via beans or annotations, configuring various client proxies, handling errors, and implementing streaming socket communication.

JSON-RPCJavaRPC
0 likes · 10 min read
Master JSON-RPC with Spring Boot 3: Full Guide and Code Samples
JD Tech
JD Tech
Apr 27, 2025 · Backend Development

A Lightweight Mock/Spy Tool for Data Consistency in RPC Timeout Scenarios

The article analyzes data‑consistency challenges caused by RPC timeouts, especially when interfaces lack idempotency or idempotency fails, and presents a lightweight mock/spy utility that can intercept, mock, or spy on service calls to quickly restore consistency in distributed systems.

IdempotencyMockRPC
0 likes · 11 min read
A Lightweight Mock/Spy Tool for Data Consistency in RPC Timeout Scenarios
DeWu Technology
DeWu Technology
Apr 21, 2025 · Backend Development

Design and Evolution of a Unified Exchange Mall Middleware Platform

The unified exchange mall middleware platform consolidates disparate points‑redemption and lottery flows into a four‑layer architecture—business, gameplay templates, domain models, and downstream services—offering standardized APIs, dynamic RPC routing, Redis‑based inventory control, anti‑fraud safeguards, and built‑in monitoring, thereby cutting development costs, enhancing maintainability, and ensuring system stability.

InventoryMicroservicesRPC
0 likes · 18 min read
Design and Evolution of a Unified Exchange Mall Middleware Platform
Top Architect
Top Architect
Apr 14, 2025 · Backend Development

Measuring Heap Memory Consumption of HTTP and RPC Requests in a SpringBoot Application

This article details a step‑by‑step experiment using SpringBoot 2.5.4 and JMeter to quantify how much heap memory a single HTTP or RPC request consumes, analyzes GC logs, presents code snippets for the test endpoints, and discusses the impact of logging and payload size on memory usage.

GCJMeterJVM
0 likes · 11 min read
Measuring Heap Memory Consumption of HTTP and RPC Requests in a SpringBoot Application
JD Tech Talk
JD Tech Talk
Apr 10, 2025 · Backend Development

Proper RPC Interface Design: Avoiding Result Wrappers and Using Exceptions

The article explains why designing RPC interfaces with generic Result objects that contain errorCode, errorMessage and data defeats RPC's purpose, and demonstrates how returning plain business objects and leveraging Java exceptions leads to cleaner, more maintainable backend code.

Exception HandlingInterface DesignJava
0 likes · 8 min read
Proper RPC Interface Design: Avoiding Result Wrappers and Using Exceptions
Architecture Digest
Architecture Digest
Mar 9, 2025 · Backend Development

Comparing API Architectural Styles: RPC, SOAP, REST, and GraphQL

This article examines four major API architectural styles—RPC, SOAP, REST, and GraphQL—detailing their mechanisms, advantages, disadvantages, and typical use cases, and provides guidance on selecting the most suitable style based on project requirements and constraints.

APIAPI designGraphQL
0 likes · 17 min read
Comparing API Architectural Styles: RPC, SOAP, REST, and GraphQL
JD Tech Talk
JD Tech Talk
Jan 15, 2025 · Backend Development

Interface Performance Optimization Journey: Using Pfinder and JSF Asynchronous Calls

The article details a performance optimization case where interface latency was diagnosed with Pfinder and UMP, revealing excessive RPC calls and database queries, and then improved by replacing inefficient list operations with Set-based logic and introducing JSF asynchronous calls, cutting response times from seconds to milliseconds.

JSF asynchronousJava backendPerformance Optimization
0 likes · 5 min read
Interface Performance Optimization Journey: Using Pfinder and JSF Asynchronous Calls
JD Tech Talk
JD Tech Talk
Jan 10, 2025 · Backend Development

Analysis of gRPC: Principles, Advantages, Disadvantages, and a Cross‑Language Demo

This article examines gRPC’s implementation principles, multi‑language support, Protocol Buffers foundation, advantages and disadvantages, and provides a C++/Go demo illustrating its cross‑language capabilities within cloud‑native environments, including project structure, code snippets, and discussion of HTTP/2 transport.

HTTP/2Protocol BuffersRPC
0 likes · 8 min read
Analysis of gRPC: Principles, Advantages, Disadvantages, and a Cross‑Language Demo
High Availability Architecture
High Availability Architecture
Nov 27, 2024 · Cloud Native

Apache Dubbo Triple X Protocol Adds Full HTTP/3 Support: Design, Configuration, and Performance

The article explains how Apache Dubbo's Triple X protocol now fully supports HTTP/3, detailing its design goals, performance advantages, configuration steps, code examples, and real‑world benchmarks that demonstrate significant latency reduction and reliability improvements in cloud‑native microservice environments.

DubboHTTP/3RPC
0 likes · 9 min read
Apache Dubbo Triple X Protocol Adds Full HTTP/3 Support: Design, Configuration, and Performance
Lobster Programming
Lobster Programming
Nov 22, 2024 · Backend Development

Dubbo vs Feign: Choosing the Right RPC Framework for Your Microservices

This article compares Dubbo and Feign, outlining their architectures, features, and suitability for different microservice scenarios, and provides practical guidance on selecting the appropriate RPC framework based on performance, reliability, and development efficiency requirements.

DubboMicroservicesRPC
0 likes · 5 min read
Dubbo vs Feign: Choosing the Right RPC Framework for Your Microservices
Test Development Learning Exchange
Test Development Learning Exchange
Oct 20, 2024 · Backend Development

Python Examples of Distributed Task Queues, Message Brokers, RPC, and Serialization Libraries

This article provides practical Python code examples for various messaging and serialization tools—including Celery, RQ, Huey, ZeroMQ, kafka‑python, Pika, stomp.py, nats‑py, gRPC, Thrift, Protobuf, Avro, msgpack, and Flatbuffers—demonstrating how to set up producers, consumers, and services for asynchronous processing and data exchange.

Message QueuePythonRPC
0 likes · 19 min read
Python Examples of Distributed Task Queues, Message Brokers, RPC, and Serialization Libraries
Sohu Tech Products
Sohu Tech Products
Oct 18, 2024 · Backend Development

Design and Refactoring of a Java SDK with Proxy Optimization and Integration Test Enhancements

The article details how a Java SDK for a CIM instant‑messaging system was redesigned using Java 8+ features and the Builder pattern, introduced a lightweight proxy resembling RPC frameworks with dynamic‑URL support, and added comprehensive integration tests that verify automatic client reconnection and reliable message delivery across clustered servers.

Builder PatternJavaProxy
0 likes · 10 min read
Design and Refactoring of a Java SDK with Proxy Optimization and Integration Test Enhancements
Top Architect
Top Architect
Sep 20, 2024 · Backend Development

Understanding HTTP vs RPC in Spring Cloud: A Practical Guide

This article explains why Spring Cloud uses HTTP instead of RPC for remote calls, compares HTTP and RPC protocols, describes how to implement a simple HTTP server in Java, outlines the principles of RESTful architecture, and discusses the advantages, disadvantages, and future trends of both approaches.

MicroservicesRESTfulRPC
0 likes · 9 min read
Understanding HTTP vs RPC in Spring Cloud: A Practical Guide
Java Tech Enthusiast
Java Tech Enthusiast
Sep 20, 2024 · Backend Development

What Is RPC and Why It Is Not a Protocol

The article clarifies that RPC (Remote Procedure Call) is a mechanism—not a protocol—used to abstract network communication so remote methods can be invoked like local calls, illustrating its design with LPC, dynamic proxies, request handlers, and showing HTTP as one possible implementation.

IPCRPCRemote Procedure Call
0 likes · 6 min read
What Is RPC and Why It Is Not a Protocol
Java Captain
Java Captain
Sep 12, 2024 · Backend Development

Spring Cloud Remote Calls: Why HTTP Is Preferred Over RPC

This article explains why Spring Cloud prefers HTTP over RPC for remote calls, covering the embedded Tomcat architecture, JSON data exchange, the fundamentals of RPC over TCP, and compares their advantages, disadvantages, and suitability for microservice development.

MicroservicesRESTfulRPC
0 likes · 6 min read
Spring Cloud Remote Calls: Why HTTP Is Preferred Over RPC
Java Tech Enthusiast
Java Tech Enthusiast
Sep 6, 2024 · Backend Development

HTTP vs RPC in Spring Cloud: A Comparative Overview

The article compares Spring Cloud’s HTTP‑based, Tomcat‑served JSON services with TCP‑based RPC, highlighting HTTP’s cross‑platform flexibility and ease of use versus RPC’s faster, binary‑serialized calls that mimic local methods, and advises choosing HTTP for microservice, loosely‑coupled architectures despite RPC’s speed advantage.

MicroservicesRPCSpring Cloud
0 likes · 5 min read
HTTP vs RPC in Spring Cloud: A Comparative Overview
Architecture Digest
Architecture Digest
Sep 4, 2024 · Backend Development

HTTP vs RPC in Spring Cloud: A Technical Comparison and Guidance

This article explains why Spring Cloud prefers HTTP over RPC for remote calls, detailing the underlying Tomcat-based web service, the differences between HTTP and RPC protocols, their advantages and disadvantages, and provides guidance on choosing the appropriate approach for microservice architectures.

RESTfulRPCSpring Cloud
0 likes · 8 min read
HTTP vs RPC in Spring Cloud: A Technical Comparison and Guidance
Zhuanzhuan Tech
Zhuanzhuan Tech
Sep 4, 2024 · Backend Development

Optimization of Serialization in Search Recommendation Service

This report analyzes performance bottlenecks caused by serialization in a search‑recommendation system, presents detailed measurements of request latency, evaluates multiple optimization strategies—including Redis caching, lazy metric handling, and custom byte‑array serialization—and documents the resulting latency reductions and implementation considerations.

JavaRPCRanking
0 likes · 29 min read
Optimization of Serialization in Search Recommendation Service