Create a custom thread pool (how to set the maximum number of threads?)

CPU intensive IO intensive 1: CPU intensive: Definition: CPU intensive also refers to calculation intensive. Programs that spend most of their time doing CPU actions such as calculation logic judgment are called CPU intensive tasks. This type of task requires a lot of calculation, which mainly consumes CPU resources. Although this kind of comp ...

Added by Arez on Sun, 28 Jun 2020 09:04:04 +0300

pxe+kickstart+dhcp+tftp+httpd to realize unattended installation of CentOS7 system

Article catalog 1, Introduction 1. What is PXE 2. Working process of PXE 2, Realize network manual installation 1. System environment preparation 2. Install and configure dhcp service 3. Install and configure tftp service 4. Install and configure httpd service 5. Configure PXE boot program (1) PX ...

Added by webweever on Fri, 26 Jun 2020 09:39:26 +0300

Microservice - call of service

typora-copy-images-to: imgs Call between microservices 1. Call of microservice - Ribbon + resttemplate (independent component) 1. What makes Ribbon Ribbon is a client-side load balancer, which is used to call the load balancing of microservices between spring cloud 2. Load balancing between se ...

Added by PcGeniusProductions on Fri, 26 Jun 2020 09:14:44 +0300

Redis from entry to mastery (VIII. Redis cluster)

This article introduces the Redis Cluster cluster, and briefly introduces the implementation of the cluster. It is mainly a specific practical part: cluster startup, failover, adding nodes, removing nodes Basic concepts of Redis cluster Redis's cluster mode provides data fragmentation and ensures the availability of each partition. Each node of ...

Added by jdorsch on Thu, 25 Jun 2020 14:10:22 +0300

[Video and Audio Data Processing] H.264 video stream analysis

0. Basic concepts The location of the 0.1 video stream in the video player is as follows: H.264 original code stream (also known as "naked stream") is composed of one NALU. Their structure is shown in the figure below. 0.2 to be more accurate, the original NALU unit is composed of: [st ...

Added by Termina on Wed, 24 Jun 2020 10:42:32 +0300

Example of network planning

Article catalog 1, Demand analysis 2, Network topology 3, ip address planning and design 4, Main equipment configuration scheme 1. Three layer switch 2. Router 0 3. Router 1 4. Layer 2 switch 5. Network test 1, Demand analysis Simulator: Cisco packet tracker version 5.3.3.0019 As shown in the ...

Added by bazza84 on Wed, 24 Jun 2020 10:17:53 +0300

C programming under Linux: TCP/IP network communication

Today, I will talk about Socket communication under Linux, including client and server. Customer service terminal The idea of connecting the client to the server is as follows:1. Establish Socket link, 2. Set the communication mode, IP and port of the server, and specifically set sockaddr_in, the ...

Added by lemonpiesaregood on Wed, 24 Jun 2020 10:11:07 +0300

Android Solution Android 10.0 Specifies hotspot network non-communicative issues via hotspot name and password connections

1 Question Android 10.0 devices connect to another device through a hotspot name and password to specify a hotspot, but they still cannot communicate with each other and the network is unreachable. The Android 10.0 device connects another set of designated hotspots by hotspot name and password. I'm using the official API and can refer to this ...

Added by modigy on Tue, 23 Jun 2020 04:07:36 +0300

Caffe_stu01_ Theoretical preparation

About Caffe At the beginning of Caffe design, the target is only for image, without considering the data of text, speech or time series. Therefore, Caffe supports convolutional neural network very well, but it does not support time series RNN, LSTM, etc. There are many common network models in the mod ...

Added by andremta on Sun, 21 Jun 2020 08:31:52 +0300

Sort Model Advancement-Wide&Deep

Rimeng Society AI: Keras PyTorch MXNet TensorFlow PaddlePaddle Deep Learning Actual Warfare (Update from time to time) 8.5 Sort Model Advancement-Wide&Deep Learning Objectives target nothing application nothing 8.5.1 wide&deep Input characteristics of the Wide section: ...

Added by dsaba on Sun, 21 Jun 2020 06:35:34 +0300