Java UDP uses ECs to write simple chat rooms
2.1 UDP uses ECs to write simple chat rooms
In the past, I learned network programming and wrote a series of notes. But I didn't rent a server at that time, so I didn't really learn network programming at all.
This time, I will build the server program I wrote on the alicloud server I rented. Then we made a series of attempts. Among them, I ...
Added by Morpheus on Sun, 23 Jan 2022 05:16:03 +0200
Spring MVC learning notes [part5] local file upload
Spring MVC learning notes Part5
1. Principle of file upload
This section will review the traditional file upload methods of Java Web and learn the more convenient file upload components provided by spring MVC. First, let's review some pre knowledge of file upload.
The enctype value of the form must be: multipart / form data (the default valu ...
Added by Markto on Sat, 22 Jan 2022 20:47:01 +0200
25, How does Linux disk I/O work?
catalogue
Disk performance index
Attention
Usage scenario
Performance testing tool fio
Disk I/O observation
Interpretation of iostat index
Process I/O observation
pidstat
iotop
Question
How to determine whether it is random io or sequential io?
Disk performance index
Utilization, saturation, IOPS, throughput, response time, etc ...
Added by jworisek on Sat, 22 Jan 2022 12:48:58 +0200
jsp's built-in object, scope and servlet are briefly introduced
1. 9 built-in objects of JSP (used directly without creating)
pageContext, page, page
Request completes a request and the response object responds
Session one session, application the whole server, exception exception exception, out output object, config configuration
2.4 large scope (different scope of storage attributes < scope > ...
Added by manishsinha27 on Thu, 20 Jan 2022 18:53:13 +0200
Learning notes on Linux C application development -- Socket socket
Network socket
Basic skills: two languages, one scripting language. Implement the function first.
Discussion: problems needing attention in cross host transmission. 1. Byte order problem: large end storage: high byte at low address Small end storage: lower byte at X86 low address 0x00 00 00 05 Da 05 00 00 00 Small 00 00 05 Distinguish between ...
Added by rlalande on Thu, 20 Jan 2022 02:42:11 +0200
[Java][SQL Server][Tomcat] Java local server reads data and account password checks in SQL Server
Foreword: This small project uses Java Tomcat local server to realize the function of reading SQL Server data and comparing the input account password with the existing account password in the database. Java source code download link: (Resources pending review)
1 System overview
1.1 System Introduction
Based on the WeChat applet, we can easi ...
Added by Ashoar on Thu, 20 Jan 2022 01:35:21 +0200
A complete collection of kso docker commands, based on the Linux server centos7 5. Install docker
1. Introduction to docker
Docker is an open source application container engine, which allows developers to package their applications and dependent packages into a portable container, and then publish them to any popular Linux or Windows operating system machine. It can also realize virtualization. The container completely uses the sandbox me ...
Added by mhoard8110 on Wed, 19 Jan 2022 17:09:24 +0200
Learning Linux common instructions (Part 1): file processing instructions
Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it
preface
Environment and related software: VMWare 14, CentOS 7, SecureCRT.
Tip: the following is the main content of this article. The following cases can be used for reference
1, Vie ...
Added by inVINCEable on Wed, 19 Jan 2022 16:20:37 +0200
PostgreSQl 12 master-slave stream replication and archiving configuration
WeChat official account: operation and development story, author: Jiang Zong
Hello, I'm Xiao Jiang. A low-level operation and maintenance engineer.
The previous article talked about the source code deployment of PostgreSQl 12. Here we talk about the master-slave stream replication and archiving configuration of PostgreSQl 12.
Two forms of ...
Added by private_guy on Wed, 19 Jan 2022 14:12:29 +0200
Basic concepts and preliminary learning in Netty
Important concepts
Channel
channel is one of the core concepts of Netty. It is the main body of Netty network communication. It is responsible for network communication, registration and data operation with the opposite end.
Every time Netty establishes a connection, there will be a corresponding channel instance, and there is the concept o ...
Added by sharma on Tue, 18 Jan 2022 20:43:10 +0200