6, RabbitMQ release confirmation
1, Release confirmation principle
The producer sets the channel to confirm mode. Once the channel enters the confirm mode, all messages published on the channel will be assigned a unique ID (starting from 1). Once the message is delivered to all matching queues, the broker will send a confirmation to ...
Posted by Kitkat on Sat, 30 Oct 2021 06:38:54 -0700
[distributed application] distributed lock learning summary
catalogue
Application scenario:
Basic principle:
Implementation method 1:
Using redis as distributed lock
Implementation mode 2:
Using redistribution as a distributed lock
Application scenario:
In current distributed applications, there are often scenarios where high concurrent traffic accesses db. In order to prevent the database from ...
Posted by RockyShark on Thu, 28 Oct 2021 06:17:25 -0700
Other usage and usage of spring cloud 2020.0.4 series service degradation
catalogue
1. General
2. Other usage of hystrix service degradation
3. Hytrix realizes fusing
4. Overview
5. official account
1. General
As the old saying goes: only by controlling your emotions can you control your life. Impulse is the devil, calm is the most important.
To get back to business, I talked about how to add a degradation ...
Posted by Ryodox on Thu, 28 Oct 2021 02:37:34 -0700
Want to thoroughly understand how large manufacturers achieve Redis high availability? Just read this article! (1.2W, recommended Collection)
High Availability HA (High Availability) is one of the factors that must be considered in the architecture design of distributed systems. It usually refers to reducing the time when the system cannot provide services through design.
Assuming that the system can always provide services, we say that the availability of the system is 100%. If the ...
Posted by double-f on Fri, 22 Oct 2021 18:03:56 -0700
Consumer group analysis and use of sarama
The most used go client of kafka should be sarama, but the old version of sarama did not support the consumption mode of consumer groups, so most people use sarama cluster.
Later, sarama supported the consumption mode of consumer groups, and sarama cluster stopped maintenance. However, there are few online analysis of sarama consumer groups, a ...
Posted by ryeman98 on Thu, 21 Oct 2021 23:24:56 -0700
Take you to the world of dubbo
preface
With the deepening of current technology and the increasing number of services, it is not only a large amount of data and a large number of users, but also prone to high concurrency. So distributed systems are slowly emerging. This distributed system is mainly to split a complete system into micro services, so that each service is smal ...
Posted by Julian on Wed, 20 Oct 2021 22:40:45 -0700
springboot+nacos+dubbo+seata 0-based build tutorial
Preface
Share a complete set-up tutorial of Ali's Distributed Transaction Framework Seata. I feel that this tutorial is rather detailed. Basically every necessary dependency and configuration item is clear and clear. In order to make it easier for everyone to get started, the registry and micro-service frameworks use Ali system, Nacos and Dubb ...
Posted by webmaster1 on Wed, 20 Oct 2021 09:59:09 -0700
Analysis and application of Apscheduler source code
Introduction to Apscheduler
Apscheduler is a relatively easy-to-use timing task framework in python. You can refer to the introduction and api Official documents
Concept description
Job task: defines the functions executed by scheduled tasks, function parameters, and task execution related configurations.Trigger: defines the trigger meth ...
Posted by ywickham on Sat, 09 Oct 2021 12:23:02 -0700
Linux builds Oracle database and makes remote connection
Project resource requirements
VMVare15 resource link: https://pan.baidu.com/s/1cVzeKjqu0Cmp4qMRDbFx8Q Extraction code: tdn4 CentOS7 image file link: https://pan.baidu.com/s/14QyfiXYYObdynswJlOoI1g Extraction code: 6cxp oracle11 Linux version link: https://pan.baidu.com/s/16hWmzGudLjUEpkRzHAOGZw Extraction code: y34w &e ...
Posted by Cosizzle on Fri, 08 Oct 2021 12:12:46 -0700
Basic use of Elasticsearch
1. General
I talked about the installation of Elasticsearch before. Today, let's talk about the basic use of Elasticsearch.
two Use of Elasticsearch index
The index is equivalent to a table in mysql.
2.1 index creation
1) Head plug-in mode
Select the index tab, click [new index], enter the index name, number of slices and num ...
Posted by geo3d on Mon, 20 Sep 2021 19:17:26 -0700