Redis distributed Session
Redis distributed Session
Spring-Session
Spring seesion solves the problem of sharing distributed session s.
introduce
Spring Session is one of the projects of spring. GitHub address: https://github.com/spring-pro.
Spring Session provides a perfect solution for creating and managing servlet httpsessions.
function
spring Se ...
Posted by mattcass on Sat, 19 Feb 2022 14:21:56 +0100
We can't let services be accessed so willfully anymore - distributed services fuse the current limiting weapon to Hystrix
Full text overview
Why need hystrix
hystrix official website address github
Hystrix is also netfix's contribution to distributed systems. Similarly, it has entered the non maintenance phase. Not maintaining does not mean being eliminated. It can only show that the new technology is constantly iterative. The brilliant design is still wor ...
Posted by troybtj on Fri, 18 Feb 2022 23:02:23 +0100
RabbitMQ Java HelloWorld example
introduce
precondition
This tutorial assumes that RabbitMQ has install And run in Standard port (5672). If you use different hosts, ports, or credentials, you need to adjust the connection settings.
Where can I get help
If you have problems reading this tutorial, you can mailing list Or RabbitMQ community Slack contact us. ...
Posted by TTT on Fri, 18 Feb 2022 18:02:06 +0100
Nginx Learning Notes: Nginx Reverse Proxy
In the previous section, we introduced reverse proxy, and we know that Reverse Proxy means that a proxy server accepts a connection request on the internet, forwards the request to the server on the internal network, and returns the result from the server to the client requesting a connection on the internet. The proxy server is now externally ...
Posted by Gast on Fri, 18 Feb 2022 00:11:34 +0100
Using docker to build Hadoop cluster
I Environmental Science:
1.Ubuntu20 2.Hadoop3.1.4 3.Jdk1.8_301
II Specific steps
Pull the latest version of ubuntu imageUse mount to transfer jdk,hadoop and other installation packages to the mount directory through xftp or using the command line scp command.Enter the ubuntu image container docker exec -it container id /bin/bashUpdate a ...
Posted by The_Assistant on Wed, 16 Feb 2022 14:32:26 +0100
Distributed storage fastDFS cluster + nginx backend configuration
1, FastDFS components and other nouns
1,tracker server
Tracking server: used to schedule requests from clients. And record the information status of all storage groups and storage servers in memory.
2,storage server
Storage server: used to store files (data) and file attributes (metadata)
3,client
Client: the initiator of the service re ...
Posted by nitram on Wed, 16 Feb 2022 13:17:25 +0100
"springcloud 2021 series" Seata completely solves the problem of distributed transactions
Distributed transaction
Monomer application
In a single application, a business operation needs to call three modules to complete. At this time, the consistency of data is guaranteed by local transactions.
Microservice application
With the change of business requirements, individual applications are divided into micro service applications ...
Posted by ksukat on Mon, 14 Feb 2022 05:10:22 +0100
Source code analysis of XXL job core process
preface
This article mainly analyzes the source code of several main operations of XXL job.
1. Create actuator - dispatch center background
On the background admin page, add an actuator. be careful:
Select "automatic registration" (automatic registration method is introduced here)AppName corresponds to xxl.xml configured in the pr ...
Posted by jotate on Sat, 12 Feb 2022 13:30:30 +0100
Use of RMI in Java
RMI introduction
RMI (Remote Method Invocation) model is a distributed object application. Using RMI technology, objects in one JVM can call object methods in another JVM and obtain the call results. The other JVM here can be on the same computer or a remote computer. Therefore, RMI means a Server side and a Client side.
The Server side usu ...
Posted by Mgccl on Fri, 11 Feb 2022 17:52:06 +0100
RPC principle and RPC example analysis
catalogue
catalogue
One background
Second RPC
1. How to call other people's remote services?
How to call remote services transparently?
1.2} how to encode and decode messages?
1.3 communication
1.4 # why is there a requestID in the message?
2 how to publish your own services?
3. RPC instance analysis in Hadoop
3.1 how is the co ...
Posted by nobodyk on Fri, 11 Feb 2022 12:59:44 +0100