Microservice architecture | 7.1 security authentication based on OAuth2
preface
<Spring Microservices in Action>
Principle and practice of Spring Cloud Alibaba microservice
"Spring cloud framework development tutorial in Silicon Valley of station B" Zhou Yang
OAuth2 is a token based security authentication and authorization framework. It allows users to authenticate using third-party authenticati ...
Posted by petrb on Thu, 03 Feb 2022 06:29:38 +0100
Hadoop distributed cluster installation
Pseudo distributed clusters are shown in:
https://blog.csdn.net/weixin_40612128/article/details/119008295?spm=1001.2014.3001.5501
After the pseudo distributed cluster is completed, let's take a look at what the real distributed cluster is like. Take a look at this figure. It shows three nodes. The one on the left is the master node and the t ...
Posted by verlen on Wed, 02 Feb 2022 19:57:20 +0100
A little thing about the state machine (FSM SMR DFSM)
Finite State MachineFinite state machine (English: finite state machine, abbreviation: FSM), also known as finite state automaton (English: finite state automaton, abbreviation: FSA), abbreviated as state machine, is a mathematical calculation model that represents finite states, transitions and actions between these states- WikipediaElements o ...
Posted by pspeakman on Wed, 02 Feb 2022 15:52:29 +0100
Learning notes - rabbitMq
MQ related concepts
What is mq
Message queue is literally a queue. First in, first out, only messages are stored. It is also a cross process communication mechanism for upstream and downstream message delivery. In the Internet architecture, mq is a common upstream and downstream "logical decoupling + physical decoupling" message ...
Posted by 3_Olives on Wed, 02 Feb 2022 15:19:13 +0100
Distributed transaction
1. TCC of distributed transaction solution
1.1 what is a TCC transaction
TCC is the abbreviation of try, Confirm and Cancel. TCC requires each branch transaction to implement three operations: preprocess try, Confirm and Cancel. Try performs business check and resource reservation, Confirm performs business confirmation, and Cancel imp ...
Posted by Harsh on Wed, 02 Feb 2022 11:46:10 +0100
Message queuing: RabbitMQ installation and quick start
1, Message queue
In a computer, a message is the data sent by one program to another, and a queue (a data structure) is a container. Everything stored in it is put in first and taken out first. Therefore, message queue is a container that temporarily saves messages during message transmission. The use of queues can avoid the disadvantage t ...
Posted by eightFX on Wed, 02 Feb 2022 09:48:30 +0100
20 minutes to familiarize you with Redisson distributed lock design scheme
preface
if you find it useful, remember to give the blogger a praise, comment and collection. It's not easy to write with one button. and it's said that people who praise won't have too bad luck every day. If it's really white whoring, you're welcome to come often!!!
20 minutes to familiarize you with Redisson ...
Posted by lunac on Tue, 01 Feb 2022 03:50:25 +0100
RabbitMQ learning notes 04--ttl -- dead letter queue -- cluster construction
01 expiration time TTL
The expiration time TTL indicates that the expected time can be set for the message, and within this time, it can be received and obtained by the consumer; After that, the message will be deleted automatically. RabbitMQ can set TTL for messages and queues. At present, there are two methods to set.
The first method i ...
Posted by adamlacombe on Mon, 31 Jan 2022 19:35:53 +0100
Common load balancing algorithms for distributed system design
Common load balancing algorithms for distributed system design
0 what is load balancing?
Load Balance means to balance the load (work task) and allocate it to multiple operation units for operation, so as to complete the work task together.
What are the types of load balancing?
Software and hardware load balancing
Software load balancin ...
Posted by Drebin on Sun, 30 Jan 2022 21:48:30 +0100
Write a test framework | Java development practice
1, Foreword
Requirements: a testing framework is needed to test an IM} system and adapt to the current business logic.
Testing uses Jmeter. Jmeter can also test websocket. Why develop a testing framework yourself?
The most important point: TCP # protocol is user-defined. It cannot be well integrated with # Jmeter # and other frameworks. P ...
Posted by Alex C on Sun, 30 Jan 2022 03:00:08 +0100