Easy to use guide for flask socketio

Technology blog: https://github.com/yongxinz/tech-blog At the same time, welcome to pay attention to my WeChat public number AlwaysBeta, more wonderful content waiting for you to come.Flask socketio enables flask applications to access low latency two-way communication between clients and servers. Clien ...

Posted on Tue, 21 Jan 2020 02:31:53 -0800 by intech

TomCat quick start

primary coverage 1. Review of web related concepts 2. web server software: Tomcat 3. Getting started with Servlet Review of web related concepts 1. Software architecture 1. C/S: client / server 2. B/S: Browser / server 2. Resource classification 1. Static resource: after all users access, ...

Posted on Sun, 19 Jan 2020 06:10:57 -0800 by El Ornitorrico

The event module of Nginx source code - Nginx connection

Nginx event processing model is the core of nginx event processing, which fully embodies the principle of the simplest business and the concept of segmented processing architecture. As a Web server, every user request of Nignx needs at least one read event and one write event for at least one TCP con ...

Posted on Thu, 16 Jan 2020 03:11:53 -0800 by doogles

Nginx installation, reverse agent implementation and deep optimization

Blog Outline: 1, Installation of Nginx;2, Nginx service implements reverse proxy;3, Nginx service optimization1, Installation of Nginx For the basic concept of Nginx, in the previous blog post: Detailed explanation of setting up Nginx server and its configuration file There is a detailed introduction, this blog will start directly from the i ...

Posted on Mon, 13 Jan 2020 20:46:50 -0800 by connex

How to grasp the network message of container directly in the system

After troubleshooting many times, I haven't figured out how to catch the network messages in the pod. Today, I encountered a failure of liveness health check. Liveness is confirmed by kubelet accessing the pod (get request occurs), so the corresponding access log can be seen in the pod, so I can try to catch the packets for troubleshooting, but ...

Posted on Wed, 08 Jan 2020 01:04:56 -0800 by CKPD

nginx to build python-based web Environment

Preface:   Before we start, let's comb the web service workflow and see the following image: 1. Users (PCs) make http requests to web servers 2. If the web server determines whether a user requests a file to be static, it reads the static file directly and returns it to the user, not drops the request to the web framework (django) code process ...

Posted on Fri, 03 Jan 2020 01:52:40 -0800 by amites

How to use CPFS storage volume service in Alibaba cloud ACK cluster

Introduction: CPFS (cloud parallel file system) is a kind of parallel file system. CPFS data is stored in multiple data nodes in the cluster and can be accessed by multiple clients at the same time, so it can provide high IOPS, high throughput and low latency data storage services for large-scale high-performance computer cluster. CPFS detailed ...

Posted on Tue, 24 Dec 2019 23:37:46 -0800 by cemeteryridge

squid proxy - traditional proxy, transparent proxy

Cache agent overview Working mechanism of web agent: Cache web page objects and reduce repeated requests Basic types of agents Traditional agent: applicable to the Internet, the server should be specified clearly Transparent proxy: the client does not need to specify the address and port of the proxy server. The firewall redirects the web to ...

Posted on Tue, 17 Dec 2019 10:39:15 -0800 by Danestar

Squid proxy server -- traditional proxy, transparent proxy (practice!)

Cache agent overview Working mechanism of web agent: Cache web page objects and reduce repeated requests Basic types of agents Traditional agent: applicable to the Internet, the server should be specified clearly Transparent proxy: the client does not need to specify the address and port of the proxy server. The firewall redirects the web to ...

Posted on Wed, 11 Dec 2019 07:17:06 -0800 by mdowling

LNMP environment building: Nginx

Dependent package installation [root@localhost ~]# yum -y install gcc [root@localhost ~]# yum -y install gcc++ [root@localhost ~]# yum -y install gcc-c++ [root@localhost ~]# yum -y install wget [root@localhost ~]# yum -y install make [root@localhost ~]# yum -y install libxml2 [root@localhost ~]# yum -y install libxm ...

Posted on Mon, 09 Dec 2019 04:07:56 -0800 by mirana