An http request from the perspective of Tomcat
One HTTP request
As shown in the figure above, a complete HTT request roughly includes the following steps:
Domain name resolution
TCP connection (three handshakes)
Send request data after connection established
Server processing request
Send response data
Browser parsing response data
Browser rendering front page
The http request proce ...
Posted on Mon, 18 May 2020 01:50:33 -0400 by etrooper
Chapter 2 starts with spring boot and spring cloud
Article catalog
preface:
1. Parent directory
2.FW-BOOT
3.FW-ClOUD
4.FW-CORE
4.1.core-web
1.WebMvcConfigurer Configuration of
2.core-web Implementation
4.1.2.1 . unified data return processing implementation
4.1.2.2 Unified exception handling
4.1.2.3 Online document implem ...
Posted on Sun, 17 May 2020 23:04:42 -0400 by wutanggrenade
Kafka Core API Producer
Producer sends demos asynchronously
stay Above The use of the AdminClient API was introduced, and now we know how to manage Kafka through the API in our applications.But in most application development, the most common scenario we face is to send messages to or consume messages from Kafka, which is a typical production/consumption model.This a ...
Posted on Sun, 17 May 2020 13:35:32 -0400 by klaibert26
Hand in hand to teach you how to build a spring cloud project
IDE development tool: IntelliJ IDEA 14.0.2
Version management: Maven
Technology stack: spring cloud
Environment: JDK 1.8
1, Create Maven project
1. File - > new project - > maven, as shown in the figure:
File->New Project
2. Fill in module name and project path
Follow these steps to create a Maven project.
At this ti ...
Posted on Sun, 17 May 2020 05:21:29 -0400 by kellz
Docker data management and network communication, port mapping
Bibliography:
1. Data management of docker
1. Data Volume
2. Data Volume Container
2. Network communication of docker
1. Port Mapping
2. Container interconnection
3. Deploy and publish MySQL services in containers
IV. Deploy and publish Apache services in containers
1. Data management of docker
In docker, to view the data generated in a cont ...
Posted on Sat, 16 May 2020 22:16:59 -0400 by shadowk
Kafka Core API - AdminClient API
Five Kinds of Kafka Client Role and Difference
stay Above It describes how to set up a Kafka service, so how do we access and integrate Kafka in development?This requires the use of the Kafka client API described in this article.The following is a diagram in the official document that illustrates the type of client that can be integrated with ...
Posted on Sat, 16 May 2020 13:28:18 -0400 by Ralf Jones
Implementation of lamp architecture and unified log management
1. Deploy the separated LAMP to two servers, and php loads the xcache module
1) Install httpd, PHP, PHP MySQL on c2 server
[root@c2 ~]# yum install httpd php php-mysql -y
2) Installing the database mariadb server on the mariadb server
[root@mariadb ~]# yum install mariadb-server -y
3) Start service
[root@c2 ~]# systemctl start httpd
[root@mari ...
Posted on Sat, 16 May 2020 03:29:12 -0400 by BuzzStPoint
Notes on writing ssm project
catalog
matters needing attention:
Output station scrambling
a link submitted as post
Form validation before submission
Confirm before jump
c:if judgment
jsr303 validation form
Ajax
shiro
shiro comments
Tags used by Shiro in jsp
shiro uses
Date conversion
json garbled
Reset button
Path jump problem:
PageHelper use
matters needing attent ...
Posted on Fri, 15 May 2020 01:44:37 -0400 by hchsk
The creation of Docker image and private warehouse
1, How to create docker image
1. Create based on existing image
2. Create based on local template
3. Create based on dockerfile
4. Building private warehouse and its usage
1, How to create docker image
Docker image is not only the core technology of docker, but also the standard format of application publishing. A complete docker image can s ...
Posted on Thu, 14 May 2020 05:26:42 -0400 by Tom_LR
Using IDEA to submit MapReduce jobs to pseudo distributed Hadoop remotely
Environmental Science
VirtualBox 6.1
IntelliJ IDEA 2020.1.1
Ubuntu-18.04.4-live-server-amd64
jdk-8u251-linux-x64
hadoop-2.7.7
Install pseudo distributed Hadoop
Install pseudo distributed reference: Hadoop installation tutorial single machine / pseudo distributed configuration Hadoop 2.6.0 (2.7.1) / Ubuntu 14.04 (16.04)
Let's not go over it he ...
Posted on Thu, 14 May 2020 03:50:06 -0400 by Helios