Year: 2024

36 Posts

Deploy Redis standalone and cluster using Docker Compose
Use Docker Compose to deploy Redis standalone and clustered versions. Redis is an open source, high-performance in-memory database that is often used in scenarios such as caching and message queues. It not only supports a variety of data structures, but also has excellent performance, making it one of the important components of distributed systems. In daily development and production environments, it is very common to use Docker containers to deploy Redis. This article will introduce in detail how to use Docker Compose to…
Protocol Buffers basic introduction and basic syntax
Protocol Buffers Basic Introduction and Basic Syntax Introduction In modern software development, data exchange and storage are crucial, and choosing the right serialization protocol is of great significance to improving performance and efficiency. Protocol Buffers (commonly known as Protobuf) is a language-neutral, platform-neutral, and extensible method for serializing structured data developed by Google. This article will introduce the basics of Protocol Buffers…
Using gRPC + Protocol Buffers in Golang to implement efficient RPC services
Using gRPC + Protocol Buffers in Golang to Implement Efficient RPC Services Introduction With the popularity of microservice architecture, remote procedure calls (RPC) are becoming more and more important in modern applications. gRPC is a high-performance, open source, and general RPC framework developed by Google. It uses HTTP/2 as the transmission protocol and supports multiple languages, including Go. This article will introduce in detail how to use gRPC + Protocol Buffers in Golang.
What is an RPC framework? What are the mainstream RPC frameworks? How to implement RPC services in Golang?
What is the RPC framework? What are the mainstream RPC frameworks? How to implement RPC services in Golang? 1. Introduction to RPC protocol 1.1 What is the RPC protocol? RPC, also known as Remote Procedure Call (RPC), is a computer communication protocol. RPC is a protocol that enables programs to execute subroutines or services in different address spaces. Through RPC, programs can call remote services like calling local functions, thus hiding the network...
Monolithic to Microservice Architecture, What is Microservice Architecture, Why Microservice Architecture
From Monolithic to Microservice Architecture, What is Microservice Architecture, Why Microservice Architecture 1. Introduction With the development of the Internet and large-scale applications, software architecture has also undergone a continuous evolution from monolithic to microservices. Monolithic architecture used to be the mainstream development model. However, with the expansion of system scale and the complexity of functions, monolithic architecture has gradually exposed problems such as poor scalability, complex deployment, and high maintenance costs. As a new architectural model, microservices have gradually become the mainstream of many large Internet...
Docker Compose deploys Nginx + WordPress + Https personal website
Docker Compose deploys Nginx + WordPress + Https personal site. Some time ago, I deployed Nginx + WordPress personal site and configured SSL certificate through docker compose. I recorded my configuration process here. Next, I will introduce how to use Docker Compose to quickly deploy a site including Nginx and WordPress...