RabbitMQ basic introduction and download
catalogue
concept
Four concepts
Producer
Switch
Queue
Consumer
Six modes
working principle
Download
Installation
Docker installing RabbitMQ
concept
Rabbit is a message oriented middleware that can accept and forward messages. You can regard it as an express site. When you want to send a package, you put your package in the expre ...
Posted by Death_Octimus on Thu, 06 Jan 2022 12:35:40 +0100
Is Java parameter passing by value or by reference?
preface
First of all, it is clear that method parameters in Java are passed by value. For basic types (int a, long b), values are passed when parameters are passed. For example, if int a = 5, 5 is passed. If it is a reference type, pass the address value pointing to the memory address of the specific object, such as system out. Println (New ob ...
Posted by dshevnock on Thu, 06 Jan 2022 08:18:18 +0100
[express 100] the express aging interface obtains the estimated arrival time of the express
requirement analysis
At present, the company has launched the push interface of express 100. Now it needs to make an interface for the estimated arrival time of express.
This interface is mainly used for month end assessment of signing in and warehouse personnel. For example, an express signed in on the 15th, but only entered the warehouse on ...
Posted by salasilm on Thu, 06 Jan 2022 02:58:29 +0100
Principle of redisson MultiLock and application of distributed lock
1, Foreword
Redisson distributed interlocking RedissonMultiLock objects based on Redis can associate multiple RLock objects into an interlocking, and each RLock object instance can come from different redisson instances. Of course, this is the introduction of the official website. What is it? Let's take a look at the use and source code of int ...
Posted by JustinM01 on Tue, 04 Jan 2022 15:25:42 +0100
Publisher confirmation
Publisher confirmation
Publisher confirms(using the java client)
Publisher validation is an extension of rabbitMQ for reliable publishing. When publisher acknowledgement is enabled on the channel, messages published by the client will be asynchronously acknowledged by the agent, which means that they will be processed by the server.
...
Posted by shazly on Tue, 04 Jan 2022 04:17:30 +0100
Distributed Link Tracking Jaeger Quick Start-01
Logging, Metrics and Tracing relationships
Same: to improve the observability of infrastructure and Applications
Difference:
----LoggingMetricsTracingCharacteristicRecord discrete eventsRecord aggregable dataRecord information within the scope of the requestTypical IndicatorsUser-printed debugging information...QPS, Interface Delay Distribut ...
Posted by misc00500 on Tue, 04 Jan 2022 03:32:49 +0100
An accident tells you which of zookeeper and nacos is better for the registration center
preface
In distributed systems, registry plays an important role and is an indispensable member of service discovery and client load balancing. In addition to the basic functions of the registry, its stability, availability and robustness have a significant impact on the smooth operation of the whole distributed system. As a mainstream distrib ...
Posted by venky_lb on Mon, 03 Jan 2022 15:38:41 +0100
Distributed log collection solution ELK
origin
At present, most companies are distributed services. For the analysis of production logs, a log collection system needs to be built to facilitate development, operation and maintenance to analyze and monitor production problems. This blog uses filebeat + Kafka + logstash + elastic search + kibana to build a distributed log collectio ...
Posted by jackinva on Sun, 02 Jan 2022 21:52:47 +0100
[3. Advanced redis features]
Redis advanced features
Slow query
Many storage systems (such as MySQL) provide slow query logs to help developers and operation and maintenance personnel locate the slow operation of the system. The so-called slow query log is that the system calculates the execution time of each command before and after the command is executed. When it exce ...
Posted by Russia on Sun, 02 Jan 2022 15:22:13 +0100
Spark Learning Notes - creation of RDD
By default, Spark can divide a job into multiple tasks and send it to the Executor node for parallel computing. The number of tasks that can be calculated in parallel is called parallelism. This number can be specified when building the RDD. However, the number of splitting tasks is not necessarily equal to the number of tasks executed in paral ...
Posted by mona02 on Sun, 02 Jan 2022 09:42:25 +0100