Advanced search (DSL search) of elastic search (ES) (Part 2)

catalogue 1. General 2. Scenario description 3. Advanced search (DSL search) (Part 2) 4. Overview 1. General I talked about part of the advanced search (DSL search) of elastic search (ES) before. I'll finish the rest today. 2. Scenario description 2.1 create index and map at the same time PUT hUTF-8...

Posted by the mysox1 on Tue, 21 Sep 2021 10:27:12 +0530

Scrolling search and batch operation of elastic search (ES)

catalogue 1. General 2. Scrolling search of elasticsearch (ES) 3. Batch operation of elasticsearch (ES) 4. Overview 1. General Today, let's talk about the rolling search and batch operation of elastic search (ES). 2. Scrolling search of elasticsearch (ES) 2.1 general We often use scrolling searUTF-8...

Posted by JeBu on Wed, 22 Sep 2021 20:48:14 +0530

Distributed transaction Seata TCC mode - Spring Cloud microservice adds TCC distributed transaction

Distributed transaction (III) Seata TCC mode Basic principles of TCC Like Seata AT transactions, TCC is a two-phase transaction. Its main differences from AT transactions are as follows: TCC seriously intrudes into business code The data operation in each stage should be coded by itself, and thUTF-8...

Posted by emma57573 on Thu, 23 Sep 2021 15:32:54 +0530

Redisson: the problem of high concurrency under distributed

Redis distributed lock Why use distributed locks? For a stand-alone project, it is not necessary to use a distributed lock. It is sufficient to use the lock of its own JVM. However, when the project is connected to a cluster, there are several instances of the same project to provide external UTF-8...

Posted by Zeon on Mon, 04 Oct 2021 04:31:05 +0530

The Springboot API interface unifies the output message format and keeps the return value of the original interface unchanged

Environment: springboot 2.4.11 In many cases, we will do unified processing on the return value of the interface, and return {code, message, data} and other information to identify the processing result of this request. This unified processing is also done on their own controllers. This articleUTF-8...

Posted by katie77 on Sun, 10 Oct 2021 07:34:49 +0530

java handwritten RPC (06) reflect from scratch to realize the client of general call

General call java handwriting from scratch RPC (01) based on socket implementation java handwritten RPC (02)-netty4 from scratch to implement client and server java handwritten RPC (03) from scratch how to call the server from the client? java handwritten RPC from scratch (04) - serialization IUTF-8...

Posted by Sneo on Tue, 12 Oct 2021 05:37:07 +0530

9 charts to show you the principle of consistent hashing

Suppose we do a simple file caching service now. Because there are too many files, we first use three machines to store files. In order to obtain the stored machine from the file name (assuming that the file name is not repeated), consider hash ing the file name first, and then taking the remaiUTF-8...

Posted by MyWebAlias on Thu, 21 Oct 2021 21:48:06 +0530

Snowflake algorithm for distributed unique ID“

What is the snowflake algorithm? What does it have to do with distributed unique IDs? Why do I need distributed IDS? Don't worry, wait for Lord Hong to come with you. First, let's talk about the distributed unique ID. with the development of the Internet and the evolution of service, our singleUTF-8...

Posted by zako234 on Sun, 24 Oct 2021 10:15:53 +0530

Deployment rolling upgrade

1, Introduction Deployment is a more advanced resource for deploying or upgrading applications When a Deployment is created, the ReplicaSet resource is created. The actual Pod is created and managed by the ReplicaSet, not directly managed by the Deployment Deployment can introduce another RepliUTF-8...

Posted by parena on Mon, 25 Oct 2021 14:01:16 +0530

Installation and use of zookeeper

Installation and use of zookeeper brief introduction Zookeeper is popular because of big data, and most components of big data depend on zookeeper. ZooKeeper was developed by Yahoo research and later donated to Apache. ZooKeeper is an open source distributed application coordination server, whiUTF-8...

Posted by sintax63 on Thu, 28 Oct 2021 14:38:15 +0530