Inter-process communication - ------------------------- message queue
XSI IPC
There are three kinds of IPCs we call XSI IPC, namely message queues, semaphores, and shared memory. There are many similarities between them.
Specific can be seen The same characteristics of XSI IPC
This blog focuses on their differences:
Message queue
Message queues are linked lists o ...
Posted by haku87 on Sun, 28 Jul 2019 08:03:41 +0200
JDK Source Array Blocking Queue
Thread is a very important part of JDK. All application services are inseparable from the relevant operations of threads. Thread pools are recommended for operation and management of a large number of threads. Thread pools provided by JDK itself are often used in services. Executors are often used to create them in the past, but Ali The specifi ...
Posted by djrichwz on Sun, 28 Jul 2019 07:52:30 +0200
LeetCode (94): Mid-order traversal of binary trees & verifying binary search tree Binary Tree Inorder Traversal (Java)
2019.7.28 # Written Test Requirements for Programmers # LeetCode Organizes Personal Notes from Zero Single Brush (Continuous Update)
To verify whether a tree is a binary search tree is essentially to examine the middle order traversal (only the verification method of middle order traversal is the least ...
Posted by rockstar_tom on Sun, 28 Jul 2019 07:22:44 +0200
Basic Operation of Search and Sort: Search and Sort Algorithms for Large Sets
A key
Search algorithms focus on: sequential search, binary search, hash table search, binary sort tree search.
The sorting algorithm focuses on bubble sorting, insertion sorting, merge sorting and fast sorting.
Sequential lookup
Algorithmic description
Sequential lookup of linear tables suitable for sequential or linked storage.
Algorith ...
Posted by mrcodex on Sun, 28 Jul 2019 06:44:49 +0200
ForkJoinPool, or ForkJoin Framework for Java Concurrent Packet Thread Pool
Preface
This is the last thread pool implementation provided by Java concurrent packages, and also the most complex thread pool. For this part of the code is too complex, due to limited time, can only be briefly introduced. The Fork/Join framework is actually a task scheduling mechanism consisting of Fork Join Pool as thread pool, Fork Join Ta ...
Posted by pytrin on Sun, 28 Jul 2019 05:41:24 +0200
Are you sure you don't want to know the principle of Redis jump meter?
Why Choose Jump TableAt present, the commonly used balanced data structures are: B tree, red-black tree, AVL tree, Splay Tree, Treep and so on. Imagine giving you a sketch paper, a pen, an editor. Can you instantly implement a red-black tree, or an AVL tree? It's hard. It takes time. It takes a lot of details. It's a lot of trouble to refer to ...
Posted by songwind on Sun, 28 Jul 2019 05:30:58 +0200
Analysis of CSS3 Deformation, Transition, Animation and Related Attributes
1. Deformation
transform: element objects can be rotate d, scale d, moved translate, skew, matrix deformations.Example:
transform: rotate(90deg) scale(1.5,0.8) translate(100px,50px) skew(45deg,45deg);
/*Matrix Deformation*/
matrix(<number>,<number>,<number>,<number>,<number>,<number>);
/*perspective*/
persp ...
Posted by SpasePeepole on Sat, 27 Jul 2019 23:16:09 +0200
Multithreading - Some ideas for improving lock performance
Locks are one of the most common synchronization methods. In high concurrent environments, intense lock competition can cause performance degradation of programs. Therefore, it is necessary to discuss some performance issues related to locks and some considerations, such as avoiding deadlocks.In order to reduce the competition for locks and cau ...
Posted by nikkio3000 on Sat, 27 Jul 2019 19:39:38 +0200
Horse Travel (Horse Jumping Day) by Retrospective Method
Links to the original text: http://www.cnblogs.com/riasky/p/3478384.html
There are many applications of backtracking. Here's an interesting horse tour problem.
Horse Jumping Day: On an 8*8 chessboard (as shown below), a horse starts at ...
Posted by mmcb on Sat, 27 Jul 2019 17:07:34 +0200
Deep Learning of OpenCV Detection and Segmentation of Image Target Area
Prepare 1: OpenCV Common Picture Conversion Skills
Before computer vision model training, we often use image enhancement techniques to obtain more samples, but some methods in depth learning framework may not meet our needs for image transformation, so we still have a lot of common image processing techniques in OpenCV. Help.
Image Channel Se ...
Posted by PHP_ColdFusion on Sat, 27 Jul 2019 13:40:54 +0200