Flow operation of new Java 8 features
What is flow operation
The Java 8 API adds a new abstraction called streaming Stream, which allows you to process data in a declarative way.
Stream provides a high-level abstraction of Java set operations and expressions in an intuitive way similar to querying data from a database using SQL statements.
Stream API can greatly improve ...
Posted by mathewvp on Thu, 16 Jan 2020 00:24:28 -0800
How to solve this problem?
How to solve this problem?
What is' IndexDB '?
What is homology strategy?
What is cross domain?
How to solve this problem?
jsonp
node backend code
Native implementation (add script tag)
$.ajax implementation
vue is implemented by vue jsonp
Cross domain resource sharing (CORS)
node backend code
Na ...
Posted by stupid girl! on Wed, 15 Jan 2020 23:32:52 -0800
EMQ X plug-in persistence series MySQL MQTT data store
In this paper, the actual example in CentOS 7.2 is used to illustrate how to store the relevant MQTT data through MySQL
MySQL is a traditional relational database product. Its open architecture makes users highly selective. With the gradual maturity of technology, MySQL supports more and more functions, ...
Posted by bob on Wed, 15 Jan 2020 01:36:11 -0800
18 MySQL middleware proxysql realizes mysql read-write separation
1. The way of separating read from write in MySQL
There are several ways for mysql to achieve read-write separation:
The program modifies mysql operation, communicates with database directly, realizes load balance in a simple and quick way with separation of reading and writing and random way, and di ...
Posted by palace on Tue, 14 Jan 2020 21:33:23 -0800
Address book management system based on JDBC
Article directory
1. Design stage
1.1 demand analysis
1.2 function diagram of address book management system
1.3 use case diagram of address book management system
1.4 E-R diagram of address book management system
2. Database design
3. Program design
2.1function
2.1.1 design ContactPerson class
2 ...
Posted by teng84 on Tue, 14 Jan 2020 20:58:32 -0800
Java 8 Stream introduction
Introduction:
The Java 8 API adds a new abstraction called Stream, which allows you to process data in a declarative way, under the java.util.stream package.
Stream provides a high-level abstraction of Java set operations and expressions in an intuitive way similar to querying data from a database ...
Posted by jack5100nv on Mon, 13 Jan 2020 23:20:56 -0800
In the face of 100 million data, in addition to database and table, you should also understand Mysql partition table
What is partition table
Partition is to decompose a table into smaller and more manageable parts according to certain rules. Logically, there is only one table, but in fact, the table may be composed of N physical partition objects. Each partition is an independent object, which can be processed independently and as a part of the table.
Smal ...
Posted by jeppers on Mon, 13 Jan 2020 04:57:57 -0800
mybatis plug-in development
We start from six aspects: plug-in configuration, plug-in writing, plug-in operation principle, plug-in registration and interception time, initialization plug-in, paging plug-in principle.
1. Plug in configuration
Mybatis plug-ins are configured in the configuration. During initialization, these plug ...
Posted by Frame on Mon, 13 Jan 2020 02:54:49 -0800
waterdrop filtering processing log files
waterdrop filters and processes log files to store data
Installing waterdrop
Download the installation package of waterdrop using wget
wget xxxxx
Extract to the directory you need
Unzip XXX (package location) XXX (decompression location)
If unzip reports an error, please download the corresponding command yourself.
Set the dependency env ...
Posted by PhantomCube on Mon, 13 Jan 2020 01:04:18 -0800
Benchmarking for MySQL
What is a benchmark
When we optimize the database, we only know if the optimization is effective by measuring the performance of the system. This measurement is benchmarking.Benchmark tests are defined as follows:
Benchmarking is the activity of measuring and evaluating software performance indicators to establish a performance benchmark at a ...
Posted by dsdsdsdsd on Sun, 12 Jan 2020 08:50:37 -0800