Why Do We Need HTTP When We Have TCP? Understanding RPC Clearly This Time

Why Do We Need HTTP When We Have TCP? Understanding RPC Clearly This Time

I remember when I first started working and encountered the concept of RPC; I was filled with confusion—if HTTP works just fine, why create RPC? It wasn’t until I participated in several microservices projects that I truly understood the value of each. Today, let’s clarify the relationships between these protocols. Starting from Network Basics: The … Read more

Pyloid: A Desktop Application Framework Tailored for Python Developers

What is Pyloid? In simple terms, Pyloid is a desktop application framework specifically designed for Python developers. It brings the “frontend + Node.js + Chromium” setup of Electron to the Python ecosystem, with the core using PySide6 (Qt) to render the UI, while the backend runs your familiar Python code. Imagine taking the business logic … Read more

C++ RPC Utility Library Based on rpclib in Occlum Environment

RPC Utils Project Address:View OriginalThis is a C++ RPC utility library based on rpclib in the Occlum environment, providing simplified and user-friendly RPC client and server wrappers. • Compiled rpclib into a static link file using occlum-g++ in the Occlum environment. If used in other environments, it needs to be recompiled. • A quick implementation … Read more

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

Why Microservices Use RPC Instead of HTTP?

Why Microservices Use RPC Instead of HTTP?

In a microservices architecture, services need to communicate frequently (for example, the order service calls the payment service, and the user service calls the permission service). The design characteristics of RPC (Remote Procedure Call) align perfectly with the core requirements of microservices —efficiency, simplicity, and strong contracts. Choosing RPC over simple HTTP (like RESTful) fundamentally … 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

Pyloid: A Framework for Packaging Python Applications as Desktop Apps

Pyloid: A Framework for Packaging Python Applications as Desktop Apps

Pyloid is a framework that packages Python applications as desktop applications: it connects the front end (HTML/CSS/JS, any framework is acceptable) and the back end Python through a thread-safe RPC, supporting multiple windows, single/multiple instances, window customization, cross-platform (Windows/macOS/Linux), and has a clean and intuitive code structure. In simpler terms, it allows Python developers to … Read more

Cap’n Proto: An Efficient Data Serialization Library

Cap'n Proto: An Efficient Data Serialization Library

Cap’n Proto: An Efficient Data Serialization Library Cap’n Proto is an efficient binary serialization library developed and open-sourced by Kenton Varda. It aims to provide higher performance and lower memory overhead compared to other serialization formats such as Protocol Buffers and JSON. The design of Cap’n Proto focuses on zero-copy access and efficient memory management, … 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

Getting Started with BRPC through GDB – An Introductory Guide

Getting Started with BRPC through GDB - An Introductory Guide

Introduction In today’s world of increasingly large software, with codebases ranging from tens of thousands to tens of millions of lines, quickly getting up to speed and understanding the business context is no easy task. By constructing relevant business scenarios and examining the internal state of the program, one can gain insights into the macro … Read more