The essence of Django Web Framework

Catalog 1. The Essence of web Framework and Custom web Framework 2. Simple web Framework 3. web Framework for Returning HTML Files 4. Advanced web Framework for Returning Static Files 5. Functional Advanced web Framework 6. Higher Edition (Multithread Edition) web Framework 7. M ...

Posted by kansaschuck on Mon, 23 Sep 2019 00:54:19 -0700

rabbitmq maintains connection

Background: Recently on-line MQ consumer process ok, but rabbitmq console shows no consumption process, resulting in MQ queue message accumulation, previously directly restart mq, this decision to explore the reasons Operating time-consuming Daemons For business reasons, every time 30 W records ...

Posted by psycovic23 on Mon, 23 Sep 2019 00:34:39 -0700

php calls python service

php calls python service Kan Kan: The popen of php used by the company calls python in the form of commands. First of all, it talks about the shortcomings of doing so.The disadvantage of php executing command line call pythonpopen('python test.py [parameter]','r');Disadvantage 1: windows defaults to gbk encoding. When utf-8 parameters are trans ...

Posted by hyzdufan on Fri, 20 Sep 2019 02:14:41 -0700

Domain name resolution analysis using golang's net package

Background: In the actual use of the Internet, it is well known that the domain name is used to access a service directly, but with the continuous optimization of the Internet business structure, it may be a simple step for users to access a domain name to obtain related resources, but in fact, for the entire request process of the Internet is ...

Posted by jbog91 on Mon, 09 Sep 2019 17:55:44 -0700

Netty Learning Summary

Articles Catalogue Summary What is Netty? Why don't Netty 2 use NIO directly? API usage Using Netty to Create Server-side Programs I. Body Code childHandler Actual Handler Using Netty to Create Client Programs I. Body Code handler Actual Han ...

Posted by FeralReason on Sun, 08 Sep 2019 23:12:24 -0700

Understanding and Implementing the Hot Update Principle of Web Pack

Catalog What is HMR Use scenarios Configure to use HMR Configuring webpack Parsing the contents of packaged web packages Configuration of HMR HMR Principle debug server source code Simple implementation of server Server Debugging Phase debug client source code Simple Implementation of Client Client debugging phase problem summary ...

Posted by robster on Fri, 06 Sep 2019 02:03:36 -0700

QQ Project: 11 - Imitate Tencent QQ Chat Software

Main interface: Implement a QQ Friends List, the list of people have been identified Click on a friend and pop up the corresponding chat window Chat window interface design: Upper left is a Text Browser widget that displays user chat in ...

Posted by bbmak on Thu, 05 Sep 2019 23:23:51 -0700

Netty Source Analysis - --- NioEventLoop Group

When it comes to Netty, it must be the thread model that supports it to withstand high concurrency. When it comes to the thread model, we have to mention NioEventLoopGroup, the thread pool, and then get to the point. Thread model Let's start with an example of Netty usage package com.wrh.server; import io.netty.bootstrap.ServerBootstrap ...

Posted by jackwh on Wed, 04 Sep 2019 19:16:10 -0700

Analysis of IO Multiplexing and Event Mechanism in redis

baiyan Introduce Read this article before reading: Analysis of the Way to Improve the Performance of Server Concurrent IO from Network Programming Foundation to epoll To better understand the content of this article, thank you.We know that when we use redis, we can get the data returned by the redis server by sending a get command from the clie ...

Posted by laide234 on Sun, 01 Sep 2019 01:09:34 -0700

select of socket programming

select for Linux Programming: The function of select is to listen for readable, writable and abnormal events on the file descriptor that users are interested in for a specified period of time.   1. socket blocking mode Usually in socket progr ...

Posted by littlepeg on Thu, 29 Aug 2019 23:07:21 -0700