Implementation of service asynchronous communication spring cloudalibaba based on RocketMQ

First, let's understand what message queue MQ is? Message queuing and RocketMQ Message queuing MQ Message Queue (MQ for short) is a cross process communication mechanism, which is usually used for asynchronous data transmission between applications. MQ products are usually called "message middleware" in the architecture. Its main r ...

Posted by cody44 on Tue, 28 Dec 2021 20:22:17 +0100

SpringCloud Alibaba Nacos service registration and configuration center

1, Introduction to Nacos Why Nacos The first four letters of Nacos are the first two letters of Naming and Configuration respectively, and the last s is Service What is Nacos A dynamic service discovery, configuration management and service management center that is easier to build cloud native applications Nacos: Dynamic Naming and Configura ...

Posted by idire on Tue, 28 Dec 2021 13:03:01 +0100

Easy implementation of distributed single-point timing tasks using Nacos

background Timing tasks need to be handled in the project, and our applications will be published and run on multiple servers. In order to avoid concurrent processing leading to dirty data, we usually introduce distributed scheduling systems such as Elastic-Job or xxl-Job to process. But this requires a new system to be built, and if it's just ...

Posted by evaoparah on Wed, 22 Dec 2021 00:49:29 +0100

Spring cloud version h Stream message driven explanation

1, SpringCloud Stream In the previous article, we explained the function of config + bus to automatically refresh all service configurations. This article continues to explain the message driven Stream Last article address: https://blog.csdn.net/qq_43692950/article/details/122025347 Officially, Spring Cloud Stream is a framework for bui ...

Posted by adeenutza on Sun, 19 Dec 2021 21:00:06 +0100

[Go language practice] gRPC implements a simple micro service

Write in front This time, we use gRPC implementation to obtain user information 1. Installation 1.1 grpc grpc can be installed directly by go get go get google.golang.org/grpc 1.2 proto Download proto. I downloaded this. Then extract it and put the bin directory directly in the system variable 1.3 protobuf We're at the ...

Posted by Dan39 on Thu, 16 Dec 2021 08:00:10 +0100

High performance microservice gateway APIs IX - API documentation

Admin API Description The Admin API is a set of APIs serving Apache APIs IX. we can pass parameters to the Admin API to control the APIs IX node. For a better understanding of how it works, see architecture-design Documents in. When Apache APIs IX is started, by default, the Admin API will listen on port 9080 (port 9443 of HTTPS). You can mo ...

Posted by rreynier on Wed, 15 Dec 2021 21:45:40 +0100

The old question: how to customize the starter with one click in Spring Boot?

Spring Boot starter We know that Spring Boot greatly simplifies the initial construction and development process of the project, which are completed through the starter provided by Spring Boot. Pinda general permission system is developed based on Spring Boot, and some basic modules are starters in essence, so we need to have a comprehensive a ...

Posted by DeltaRho2K on Wed, 15 Dec 2021 16:05:04 +0100

Implementing distributed locks with Go + Redis

Why do I need distributed locksUser ordersLock uid to prevent repeated orders.Inventory deductionLock inventory to prevent oversold.Balance deductionLock the account to prevent concurrent operations.When sharing the same resource in a distributed system, distributed locks are often needed to ensure the consistency of change resources.Distribute ...

Posted by Solarpitch on Wed, 15 Dec 2021 04:29:34 +0100

Microservice SpringCloud Alibaba -----SkyWalking

1. Introduction to link tracking For a large micro-service architecture system consisting of dozens or hundreds of micro-services, the following problems are frequently encountered: How to connect the whole call link in series, express location problem?How can I distill the dependencies between micro-services?How to perform performance an ...

Posted by madonnazz on Tue, 14 Dec 2021 18:56:00 +0100

Create microservices from scratch - full stack - day1

1. Build the back-end environment of the project 1.1 construction of micro service module 1.1. 1 build parent project Create a springboot project and add it to the pom file <packaging>pom</packaging> [the external chain image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save t ...

Posted by RussellReal on Mon, 13 Dec 2021 11:33:16 +0100