HTTP vs RPC: The Communication Game in the Era of Microservices

In today’s digital wave sweeping across various industries, distributed systems have become the mainstream choice for enterprise technology architecture. When we talk about communication between microservices, the two technical terms HTTP and RPC are always unavoidable topics. Behind seemingly simple network requests lies profound technical philosophy and engineering wisdom. Understanding their essential differences and application … Read more

Understanding gRPC and HTTP/2

Traditional RPC Solutions: JSON + HTTP 1.x TCP + Custom Protocol Limitations Method Limitations HTTP/1.x + JSON Single connection order calls, frequent connection establishment incurs high overhead;Large JSON payloads, slow parsing; not suitable for streaming communication;Manual SDK writing required for multi-language calls or handling compatibility TCP Custom Protocol Packet sticking, unpacking, message boundaries, and concurrency … Read more

Analysis of Streaming Technology for Large Language Models: From SSE, HTTP/2, gRPC to Nginx Applications

Analysis of Streaming Technology for Large Language Models: From SSE, HTTP/2, gRPC to Nginx Applications

What is SSE Server-Sent Events (SSE) is a unidirectional communication protocol based on HTTP that allows the server to actively push data to the client. Unlike the traditional request-response model, SSE establishes a long connection, allowing the server to continuously send event streams to the client. Core Features Client initiates SSE request Receives 200 OK … Read more

An Intuitive Explanation of the Differences Between RPC Calls and HTTP Calls!

An Intuitive Explanation of the Differences Between RPC Calls and HTTP Calls!

Source: CSDN, Author: wangyunpeng0319 Link: https://blog.csdn.net/wangyunpeng0319/article/details/78651998 For a long time, I haven’t really clarified the differences between RPC (Remote Procedure Call) and HTTP calls. Aren’t they just about writing a service and calling it from the client? Please allow me to chuckle at my naivety! This article briefly introduces the two forms of C/S architecture, … Read more

Profinet Communication Standard and Its Applications

Profinet Communication Standard and Its Applications

1 Profinet Communication Standard PROFInet provides open and consistent connections in office and automation fields. The PROFInet solution covers all operational phases of decentralized automation systems, mainly including the following aspects: ⑴ An open object model (structural model) for highly decentralized automation systems; ⑵ An open, object-oriented runtime communication scheme based on Ethernet (communication relationships … Read more

From Text to Binary: HTTP/2 Beyond Performance, Inheriting and Innovating the Core Semantics of HTTP/1

From Text to Binary: HTTP/2 Beyond Performance, Inheriting and Innovating the Core Semantics of HTTP/1

The Cloud Native Computing Foundation (CNCF) is a non-profit open-source organization focused on promoting the development and standardization of cloud-native computing. gRPC (Google Remote Procedure Call) is a high-performance, cross-language RPC framework initiated and open-sourced by Google. In 2017, Google donated the gRPC project to CNCF, making it one of the core components of the … Read more

Why Use RPC When We Have HTTP?

Why Use RPC When We Have HTTP?

For a long time, I didn’t quite understand the difference between RPC (Remote Procedure Call) and HTTP calls. Aren’t they just about writing a service and calling it from the client? Allow me to chuckle at my naivety! Image from Pexels This article briefly introduces two forms of C/S architecture, starting with their fundamental differences: … Read more

gRPC: A High-Performance RPC Framework Based on HTTP/2 for Millisecond-Level Communication Supporting Multiple Languages Including Python

gRPC: A High-Performance RPC Framework Based on HTTP/2 for Millisecond-Level Communication Supporting Multiple Languages Including Python

What is gRPC? gRPC is a modern high-performance RPC framework open-sourced by Google, utilizing HTTP/2 protocol and Protocol Buffers serialization technology, supporting cross-language service calls. It magically enables services written in different languages to communicate directly—whether it’s a C++ microservice calling a Python algorithm or a Java application accessing a Go module, achieving millisecond-level communication! … Read more

Interview: What are the Differences Between RPC and HTTP?

Interview: What are the Differences Between RPC and HTTP?

What are the differences between RPC and HTTP? 1. Differences: 1. Transmission Protocol RPC can be based on TCP protocol or HTTP protocol. HTTP is based on HTTP protocol. 2. Transmission Efficiency RPC, using a custom TCP protocol, can make the request payload smaller, or using HTTP2 protocol can also significantly reduce the payload size, … Read more

Interview: What are the Differences Between RPC and HTTP?

Interview: What are the Differences Between RPC and HTTP?

01Please explain the differences between RPC and HTTP? 1. Differences: 1. Transmission Protocol RPC can be based on TCP protocol or HTTP protocol. HTTP is based on the HTTP protocol. 2. Transmission Efficiency RPC, using a custom TCP protocol, can make the request payload smaller, or by using HTTP2 protocol, it can also significantly reduce … Read more