Recently, a project arranged by a supervisor added a set of front-end templates to a system. This is not difficult in itself. Because the algorithm can not provide data, I copied the online picture links randomly, and found that some pictures can not be displayed normally. Later, I knew that some pictures were added with " ...
Posted on Sat, 04 Apr 2020 08:16:59 -0700 by mmtalon
BIO is a synchronous blocking mode. As long as there is a client access, the server will have a thread corresponding to it to communicate
Before, a common practice was to start a thread on the server to listen. When the supervisor heard that the client was connected, a new thread was set up to communicate with the client specially. If the t ...
Posted on Sun, 01 Mar 2020 00:15:37 -0800 by asukla
In depth understanding of AQS (AbstractQueuedSynchronizer)
Abstract queued synchronizer (AQS) is the core of implementing concurrent programming in JDK. ReentrantLock, CountDownLatch and Semaphore, which are often used in our work, are all implemented based on it.
A bidirectional linked list (FIFO ...
Posted on Tue, 25 Feb 2020 00:56:19 -0800 by gavin101
In this paper, MTCNN, one of the most classical neural networks in artificial intelligence deep learning, is explained in detail. More than 20000 words of content, mainly from the theoretical and practical aspects of MTCNN for detailed analysis, comparable to textbooks. If you don't read, start your jou ...
Posted on Tue, 11 Feb 2020 06:26:30 -0800 by Zssz
Overview: This series of blogs covers relevant content from a hands-on course recorded by debug: Getting Started with Cache Middleware Redis Technology and Application Scenario Actual Warfare (SpringBoot2.x +Redback System Design and Warfare) , interested little buddies can click to learn on their ow ...
Posted on Fri, 07 Feb 2020 18:49:51 -0800 by bongbong
In the past, in order not to be killed, we used to run code with nohup + &. Later, we found that the system thought that all the damn programs had to die, which was very depressing. There are many tools for process daemons on the market, but they are written in different languages (for exa ...
Posted on Sun, 02 Feb 2020 22:09:09 -0800 by Fizzgig
In the source code of OTP, I found a strange behaviour named supervisor_bridge. What's its function? What's the difference between it and ordinary supervisor?
So I found the file supervisor · bridge.erl.
First, it is a gen server
%% External exports
Posted on Sun, 15 Dec 2019 06:51:58 -0800 by arianhojat
After writing the Django project, to deploy the project to the server, you can use nginx, gunicorn and supervisor to deploy.
Install virtual environment
When multiple projects are deployed on one machine, the packages that each project depends on may conflict and affect each other. Using virtual environment can isolate the execution environment ...
Posted on Sun, 17 Nov 2019 14:42:41 -0800 by SUNNY ARSLAN
1. Background introduction
In order to ensure the stability of the online project, the supervisor needs to re-start the process after the failure several times, so that the relevant technicians can handle it in time.The results are as follows:
2. Basic knowledge
Here's a literacy cleanup for readers who have never been exposed to supervisor s o ...
Posted on Sat, 16 Nov 2019 20:03:39 -0800 by jonners
if, while, for process control
I. if syntax
Just one condition
age_of_girl = 18
if age_of_girl < 25:
age_of_girl = 18
if age_of_girl > 30:
Posted on Mon, 04 Nov 2019 07:03:45 -0800 by htcilt