Elasticsearch Basics
Understand Elasticsearch
The principle of search is to establish a reverse index, also known as inverted index, which is to establish an index according to the keywords in the article content and correspond to the title of the article. For example, the ancient poetry index, which makes you think about the ancient poetry related to "Moonli ...
Posted by tommyinnn on Thu, 10 Feb 2022 23:27:31 +0100
Introduction to redis storage data structure in redis
redis is an in memory database based on key value. The so-called kv storage or kv database means that the data in it is stored one-to-one, in which key is the only index. This structure is generally based on hash table, with high efficiency and search complexity of O(1).
However, hashmap is not omnipotent. With the increase of the amount of ...
Posted by potato on Thu, 10 Feb 2022 23:22:19 +0100
Analysis of Ribbon principle and Nacos service discovery principle
Ribbon principle analysis
Ribbon uses interceptors to realize remote invocation of services. The source code is as follows:
public class LoadBalancerAutoConfiguration {
@LoadBalanced
@Autowired(required = false)
private List<RestTemplate> restTemplates = Collections.emptyList();
@Autowired(required = false)
private List<Lo ...
Posted by amity on Thu, 10 Feb 2022 23:21:31 +0100
Software testing skills, JMeter stress testing tutorial, request body to automatically sign with sign parameter
1, Foreword
The interface request body has a sign signature parameter. The sign signature is generated by splicing the request parameters and finally md5 encrypting the request parameters after removing the sign parameter from the request body
Using jmeter to test the interface, we hope to modify the value of the sign parameter in the pos ...
Posted by tylerdurden on Thu, 10 Feb 2022 23:09:55 +0100
Sparse arrays and queues
3.1 sparse array
3.1.1 first look at a demand
The Gobang program has the functions of saving, exiting and continuing the upper board. Analyze the problem: Because many values of two-dimensional array are the default value of 0, many meaningless data = = > sparse array are recorded.
3.1.2 basic introduction
When most elements in an array ...
Posted by liquidmind on Thu, 10 Feb 2022 23:03:41 +0100
On regular expressions, this one is enough!! (including complete cases, recommended Collection)
Master these regular expressions and be able to write a lot less code. Glacier strongly recommends that you collect them!!
Hello, I'm glacier~~
It is by mastering these regular expressions that glacier writes an average of 200 lines of code less than others every day, which greatly improves the efficiency of R & D.
Mastering regular ex ...
Posted by fleymingmasc on Thu, 10 Feb 2022 23:03:18 +0100
Broadcast mechanism developed by Android
1. Introduction to broadcasting mechanism
normal broadcasts: fully asynchronous execution. After the broadcast is sent, all broadcast receivers will receive the broadcast message at the same timeOrdered broadcasts: synchronous execution. Only one broadcast receiver receives it at the same time, and then continues to deliver it after execution. ...
Posted by php4geek on Thu, 10 Feb 2022 22:55:28 +0100
Ant Design Amiya released ~ ๐๐๐
What is amiyaamiya is a component library, which is the secondary encapsulation of Ant Design # and provides page level components.Document addressWhat are its characteristics?Form read-only modeThe default antd only supports the readonly mode for a few components, while the disabled mode will display the placeholder, which may be incomplete.Th ...
Posted by shadow-x on Thu, 10 Feb 2022 22:51:00 +0100
Fastlane instructions
Android automatic packaging and release to fir Im (based on official tutorial)
Preamble
See some on the Internet fastlane Most of the tutorials are published in dandelion,I don't like dandelion very much. There were too many dandelion advertisements and there were too few downloads before,So according to the official course,Organize a release ...
Posted by VanPEP on Thu, 10 Feb 2022 22:47:26 +0100
Algorithm analysis and design of Beihang 2020-C2
Say at the beginning
This blog only provides learning materials and my personal review. In the process of learning algorithms, the code should be typed by myself. It is not convenient to copy and paste the code directly. Copy code without harm.
preface
The original intention of writing this series of blogs is that the process of learning alg ...
Posted by plaggypig on Thu, 10 Feb 2022 22:33:22 +0100