ajax requests for native js
Disadvantages of traditional methods:
The traditional web interaction is that the user triggers an http request server, and after the server receives it, it responds to the user and returns a new page. Whenever the server processes the request submitted by the client, the client can only wait idly, and even if it is only a small interaction and ...
Posted by Nile on Sun, 23 Jun 2019 21:47:19 +0200
Source Code Analysis of Bootstrap Initialization Process--Start of netty Client
Bootstrap initialization process
netty's client boot class is Bootstrap. Let's take a look at the initialization process of Bootstrap in the client part of spark's rpc.
TransportClientFactory.createClient(InetSocketAddress address)
Simply post out the Bootstrap initialization code
// Client boot object
Bootstrap bootstrap = new Bootstrap();
// ...
Posted by gonsman on Sat, 22 Jun 2019 21:04:18 +0200
Concurrent Conflict Problem in crond Script Execution
In planning tasks, you will occasionally see repetitive execution:
Examples of our company's planned tasks are as follows:
*/2 * * * * root cd /opt/xxxx/test_S1/html/xxxx/admin; php index.php task testOne >/dev/null 2>&1
*/2 * * * * root cd /opt/xxxx/test_S1/html/xxxx/admin; php index.php task testTwo >/dev/null 2>&1
This ...
Posted by Hangston on Sat, 22 Jun 2019 02:41:51 +0200
c + + Performance Testing Tool: Introduction to google benchmark
Last article In this article, we will further understand the common methods of google benchmark.
Index of this article
Passing parameters to test cases
Simplify the generation of multiple similar test cases
Using parameter generator
Passing parameters to test cases
Previously, all our test cases accepted only one benchmark:: S ...
Posted by Shaba1 on Fri, 21 Jun 2019 23:53:37 +0200
java uploads files to jquery.uploadify on the server
Based on jquery file upload control, support ajax refreshless upload, multiple files upload at the same time, upload progress display, delete uploaded files.
JQuery 1.4 or above, flash player 9.0.24 or above are required.
There are two versions, one is flash and the other is HTML 5. HTML 5 pays ~so here's just the flash version
1. js ...
Posted by Ned on Fri, 21 Jun 2019 03:07:38 +0200
Python Data Type and Its Method
Python Data Type and Its Method
When we learn programming languages, we will encounter data types, which are very basic and inconspicuous, but it is very important. This paper introduces python's data types, and gives a detailed description of the methods of each data type, which can be used for knowledge review.
I. Integration and Long Integra ...
Posted by seriousdamage on Thu, 20 Jun 2019 22:17:29 +0200
Deploying OpenStreetMap Server with Docker
Last month, my teacher asked me to build Docker's OSM server. At that time, I stepped on the pit while recording. Finally, I got the deployment, so I blogged.
I. Install and configure Docker
This section describes the installation steps of docker in centOS 7 environment. The content is from http://www.runoob.com/docker/docker-tutorial.html Fo ...
Posted by Sassci on Wed, 19 Jun 2019 01:43:59 +0200
MySQL's headache-provoking Alert Case Analysis
MySQL Analysis of Abrted Alert Logactual combatPart1: Write at the topIn the error log of MySQL, we often see some kinds of borted
connection errors, this article will make a preliminary analysis of such errors, and understand the basic ideas and methods of investigation after a problem arises. It's important to master this method, not to have ...
Posted by Johannes80 on Tue, 18 Jun 2019 23:39:39 +0200
Data Structure and Algorithms-Heap
Definition of heap
Must be a complete binary tree (except for the last layer, each node has two sub-nodes, the last layer can only be missing several right nodes)
The value of each node in the heap must be >= (large top heap) or <= (small top heap) about the value of the subtree node.
Relations of nodes in heap
The parent node whose su ...
Posted by binumathew on Tue, 18 Jun 2019 23:11:31 +0200
spark source code parsing -- Shuffle output tracker -- MapOutput Tracker
Shuffle Output Tracker
As an auxiliary component of shuffle, this component plays an important role in the whole shuffle module. In the previous series of analyses, we mentioned this component more or less. For example, when DAGScheduler submits a stage, it encapsulates the stage as a TaskSet, but the possible partitions have been computed and ...
Posted by kroll on Tue, 18 Jun 2019 20:08:06 +0200