Tomcat Source Analysis--- HTTP Request Processing
Finally, we're in the analysis phase of Connector, which is one of Tomcat's most complex features.Connector is named connector in Chinese. Since it is a connector, it will certainly connect something. What do you want to connect?
Connectors are used to accept requests and encapsulate them as Request s and Response s, which are then handled ...
Posted by chrispos on Tue, 20 Aug 2019 04:51:42 +0200
Introduction to Dubbo
Are you like me, making progress every day and getting stronger
introduce
Dubbo is a high-performance open source framework for Java RPC. It was originally opened-source by Ali on GitHub and later hosted by Apache. Dubbo's development documentation is very detailed and user-friendly. Dubbo website , Core Diagram:
RPC:Remote Procedure Call, rem ...
Posted by irkevin on Tue, 20 Aug 2019 04:23:23 +0200
Lucene Full Text Retrieval
Based on lucene 8
1 Lucene Brief Introduction
Lucene is an open source full-text search engine toolkit under apache.
1.1 Full-text Search
Full-text retrieval is the process of creating index by participle and then performing search. Word segmentation is to divide a paragraph of text into words. Full-text retrieval divides a paragraph of text ...
Posted by adamjblakey on Tue, 13 Aug 2019 14:19:31 +0200
Spring Cloud Config Distributed Configuration Center
Firstly, the registration center should be established.
file-new-module
pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http ...
Posted by stevenye on Tue, 13 Aug 2019 06:15:34 +0200
roles of Ansible Automation Operation and Maintenance
Articles Catalogue
Introduction to Ansible roles
roles directory structure
Create roles
Give an example
Use roles to install and open httpd services for the host, and add httpd to the firewall list
haproxy deployment (load balancing)
Implementation of keeping alive + haproxy high availability
...
Posted by zeb on Mon, 12 Aug 2019 11:19:52 +0200
springboot project front-end and back-end separately use shiro to solve different sessionid problems
Problems encountered
When developing app s or projects with separate front and back ends, sessions are different each time when using ajax and other ways to access the background, so using Shiro verification is totally impossible to pass. Originally, we used the way of token, which can realize the pro ...
Posted by showman on Mon, 12 Aug 2019 07:43:04 +0200
An Overview of zookeeper
In the past, because of the business needs of the company, some knowledge points of zookeeper were sorted out and shared. For some small partners who have just come into contact with zookeeper, maybe we can learn something from it.
Introduction to zookeeper
brief introduction Zookeeper is committed to providing a distributed coordination servic ...
Posted by neylitalo on Sun, 11 Aug 2019 17:12:54 +0200
saltstack mini-trial knife
When we have only one server, two servers and several servers, we deploy software tools to log on to the server one by one, but as the number of enterprise servers not only increases, it is obvious that the deployment of logon by one has become unrealistic. At this time, the automated operation and maintenance management tools came on the scen ...
Posted by blui on Sat, 10 Aug 2019 17:32:17 +0200
Python-32-Multithread 2
Synchronization, Asynchronization, Multithreading, Single Thread, Concurrent, Parallel
Multi-threading (asynchronism) needs to solve synchronization problem, and single-threading (synchronization) needs to solve asynchronism problem.
Parallel (without common resources, i.e. multiple CPUs, one CPU per ...
Posted by voitek on Sat, 10 Aug 2019 08:50:06 +0200
mapreduce quadratic sorting
1 quadratic ranking
1.1 Thought
The so-called secondary sorting uses the second field to sort the same data in the first field.
For example, the e-commerce platform records the amount of each order for each user. Now it requires all orders belonging to the same user to be sorted, and the user name of th ...
Posted by steply on Thu, 08 Aug 2019 12:00:03 +0200