Basic operations of Elasticsearch: index, document and search
1. Index
The first step to do before starting to index data in {elastic search is to create our main data container. The index here is similar to the database concept in SQL. It is a container for types (equivalent to tables in SQL) and documents (equivalent to records in SQL).
The act of storing data is called Indexing. In # elastic search, ...
Posted by Cleibe on Thu, 10 Feb 2022 17:36:08 +0100
SpringCloud - teach you how to build the SpringCloud Config configuration center
Springcloud (VI) - teach you how to build the SpringCloud Config configuration center
Reprint: Renaissance_
https://www.jianshu.com/p/f85733ef2819
When there are too many microservices, the configuration of each microservice is difficult to manage centrally. SpringCloud Config implements centralized configuration management through git ...
Posted by tonchily on Thu, 10 Feb 2022 17:31:07 +0100
Elegant parameter verification in Spring/Spring Boot
Recently, when writing a project, every controller is filled with a large number of if to verify parameters, and each controller is different, so the verification method cannot be encapsulated Especially troublesome
The most common approach is like this. We check each parameter of the request one by one through the if/else statement.
if ( ...
Posted by ppowell on Thu, 10 Feb 2022 17:29:19 +0100
Basic concept of java Concurrent 01- thread
Basic concept of thread:
Threads are different execution paths of the system. The following is an execution path: Each branch is a thread, and the program written before is a branch. Process: a program is a process that puts code into the code area, which is called a process Operating system scheduler Thread is a dynamic concept: multiple e ...
Posted by boofboof on Thu, 10 Feb 2022 17:27:49 +0100
Python model deployment tool
What is model deployment?
In typical machine learning and deep learning projects, the conventional process of modeling is to define problems, data collection, data understanding, data processing and build models. However, if we want to provide the model to end users so that users can use it, we need to deploy the model. The work of model d ...
Posted by keyoung on Thu, 10 Feb 2022 17:23:28 +0100
NumPy: understanding broadcasting
brief introduction
The broadcast describes how NumPy calculates the operation between arrays of different shapes. If it is a larger matrix and a smaller matrix, the smaller matrix will be broadcast to ensure the correct operation.
This article will explain in detail the use of broadcast in NumPy with specific examples.
Basic broadcasting ...
Posted by Syto on Thu, 10 Feb 2022 17:16:54 +0100
Spring Cloud Stream message driven integration RabbitMQ
Spring Cloud Stream message driven integration RabbitMQ
1. What do you do?
At present, there are too many message oriented middleware MQ used (for example, java uses RabbitMQ, while the background big data uses Kafka). Is there a new technology to make us no longer pay attention to the details of specific MQ? We only need to use an adaptive b ...
Posted by Trip1 on Thu, 10 Feb 2022 17:09:37 +0100
Lazy loading optimization
Catalog introduction
1. What is lazy loading
1.1 what is preloading 1.2 introduction to lazy loading 1.3 lazy loading summary 2. What are the lazy loading cases in practical application
2.1 ViewPager+Fragment combination 2.2 analysis source code 3. Source code related to setoffsetscreenpagelimit (int limit) in viewpager 4. About ...
Posted by imarockstar on Thu, 10 Feb 2022 17:09:19 +0100
Build linux + nginx + PHP FPM MySQL (MariaDB) environment
Build linux + nginx + PHP FPM MySQL (MariaDB) environment
1.Linux selects centos7 installed before
Thoughts on security reinforcement of mainframe based on CentOS 7
Although there are a lot of data summary and reference here, what you can remember is that you know the significance of reinforcement. In other words, you have really attac ...
Posted by Darghon on Thu, 10 Feb 2022 17:04:27 +0100
AES encryption principle
AES encryption principle
brief introduction
Advanced Encryption Standard (AES), also known as Rijndael encryption method, is a block encryption standard adopted by the federal government of the United States. It is also an alternative to DES algorithm and one of the most popular symmetric encryption algorithms today. Symmetric encryption is t ...
Posted by grilldor on Thu, 10 Feb 2022 16:55:26 +0100