Optimize Nginx service performance based on parameters

Reference material [1] . learn Linux operation and maintenance from the old boy: Web Cluster practice, old boy setup script Number of worker processes optimizing Nginx service The configuration parameters of the Nginx service corresponding to the optimized Nginx process are as follows Worker? Processes 1;? Sp ...

Posted on Sun, 05 Apr 2020 12:20:15 -0700 by nelson201

Cassandra Best Practices Series - One of the Management Papers

Basic Cluster Operations Cluster Information Acquisition The cassandra project official did not provide us with a central place to get information about the cluster, but since cassandra is peer to peer and cluster-type nodes can get the whole view of the cluster through gossip, if you want to get the whole view information of the cluster, you c ...

Posted on Sun, 22 Mar 2020 22:02:10 -0700 by ttroutmpr

vue WeChat official account authorization page gets openid, cross domain

WeChat official account development needs to get users' openid, according to WeChat official account. Official documents Note: the following preparations need to be done 1. Developers need to modify the authorized callback domain name in the configuration option of "development - Interface perm ...

Posted on Mon, 16 Mar 2020 20:46:29 -0700 by just me and php

Image direction after iOS UIImagePickerController upload

I'm testing my iPhone app on iOS 3.1.3 iPhone. I am using UIImagePickerController to select / capture images: UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init]; [imagePicker setSourceType:UIImagePickerControllerSourceTypeCamera]; [imagePicker setDelegate:self]; [self.navigationController presentModalViewController ...

Posted on Fri, 13 Mar 2020 21:08:04 -0700 by Talon

Project configuration of gulp

gulp gulp front-end automatic packaging tool needs to rely on a node environment Package: combine the scattered things for you, compress, confuse and merge the code gulp version problem Two popular versions of gulp on the market gulp@3.x.x is gulp 3, the previous version gulp@4.x.x is gulp 4, the ...

Posted on Thu, 12 Mar 2020 01:11:46 -0700 by sdat1333

flask foundation for python learning

What is Flask?Flask is a Web framework that provides tools, libraries, and technologies that allow you to build a Web application. This Web applicationThese can be Web pages, blogs, wiki, Web-based calendar applications, or business websites.Flask dependent modules:web Services Gateway Interface (Python Web Server Gateway Interface, abbreviate ...

Posted on Tue, 25 Feb 2020 17:13:01 -0800 by briguy9872

refresh method of spring boot bean parsing

The previous article described the invokeBeanFactoryPostProcessors method of AbstractApplicationContext class, which is mainly used to add bean definitions to the container through BeanDefinitionRegistryPostProcessor, and to call BeanFactoryPostProcessor to add properties to the bean in the container ...

Posted on Tue, 25 Feb 2020 01:30:01 -0800 by NArc0t1c

[TCP/IP]: application layer (HTTP protocol)

1. What is http HTTP is hypertext transport protocol, which is based on TCP and IP protocol. 1.1 HTTP/0.9 - single line protocol The initial version of TTP did not have a version number; it was later called 0.9 to distinguish it from later versions. HTTP / 0.9 is very simple: the request consists of ...

Posted on Sun, 23 Feb 2020 03:48:46 -0800 by ShashidharNP

visdom visual installation and getting started (with Python MPL handwritten digit recognition case source code)

Note: attached cases need to have pytorch Foundation Why use visdom instead of matplotlib or tensorboardX? 1.visdom can directly accept the sensor of the torch without converting it to numpy array;2. Higher operation efficiency. Tensorbboard will write data to files, resulting in a large number of lis ...

Posted on Fri, 21 Feb 2020 23:21:59 -0800 by thewooleymammoth

A simple web server software based on java

1. Write in front It has been more than a year and a half since the university came into contact with various web server software for more than a year. From the beginning of the freshman year, I began to toss about IIS brought by Windows computer, started my first static website, and since then started my interest in learning in the direction o ...

Posted on Fri, 21 Feb 2020 21:49:39 -0800 by taboo