30 day self-made C + + server day13-C + + engineering and performance optimization

In the previous tutorial, we have completely developed the core architecture of a master-slave Reactor multithreaded server. The next development focus should shift from architecture to details. Before that, it is necessary and necessary to modernize and engineer the whole project. The first step in C + + project engineering must be to use CMa ...

Posted by hukadeeze on Tue, 04 Jan 2022 20:56:27 +0100

java practice 3: upload data files to ftp server in java

1: Introduction to ftp File Transfer Protocol (FTP) is a set of standard protocols used for file transmission on the network. It works in the seventh layer of OSI model and the fourth layer of TCP model, that is, the application layer. TCP transmission is used instead of UDP. The customer needs to go through a "three-time handshake" ...

Posted by hex on Tue, 04 Jan 2022 18:59:49 +0100

Simple server UDP version, familiar with its API [network]

By writing a simple server to understand the common API s of UDP Datagram oriented (sending and receiving data must be transmitted in a certain packet) Use transport layer UDP protocol UDP server program For a server program, the core process is divided into two steps: 1. Initialization (instantiate Socket object) 2. Enter the main loo ...

Posted by fxb9500 on Tue, 04 Jan 2022 17:09:20 +0100

RH358 configuring e-mail transmission -- automated Postfix configuration

RH358 configuring e-mail transmission – automated Postfix configuration Use Ansible to configure the SMTP of the Postfix system role. Are the superposition of commonly used modules. RH358 column address: https://blog.csdn.net/qq_41765918/category_11532281.html 1. Configure SMTP with Postfix system role The RHEL system roles ...

Posted by vinny69 on Tue, 04 Jan 2022 11:45:39 +0100

Ansible Vault & Common users use Ansible | Cloud computing

1. Comprehensive exercise (automatic deployment of Web cluster) 1.1 problems Evening self-study extracurricular comprehensive exercises, create a role called cluster and complete a comprehensive project. The specific requirements are as follows: Create Role and complete the project through RoleDeploy Nginx schedulerDeploy 2 http server ...

Posted by predhtz on Tue, 04 Jan 2022 08:22:14 +0100

Write a network disk yourself?

Author: osmanthus New Year cake, no reprint without permission! Continuous updating preface The project is written in C and C + +. It involves many knowledge points and has not been written yet. It is a good project to expand our horizons! In the future, relevant teaching videos will be placed at the end of the article. Please pay att ...

Posted by kellog on Tue, 04 Jan 2022 08:00:04 +0100

Using OpenResty to build a simple file server

preface Use nginx + nginx a few days ago_ upload_ Module + python (callback handler) builds a simple file server. Many people on the Internet recommend using Lua to extend the functions of nginx, so they ponder how to use Lua language to expand the functions of nginx. After consulting many materials on the Internet, they find that the environm ...

Posted by juline on Tue, 04 Jan 2022 00:03:02 +0100

Boot process and service control

Preface I. Linux Operating System Should Be Processed Overview of the boot process Post After the server host is powered on, it will initially detect cpu (central processor), memory, graphics card, keyboard and other devices according to the settings in the motherboard BIOS. After successful detection, system control will be transferr ...

Posted by jocknerd on Mon, 03 Jan 2022 17:02:24 +0100

Sophomore 15th file upload and download

File upload and download How to upload files To realize the file upload function in web development, it usually needs to complete two steps: one is to add the upload input item in the web page, and the other is to read the data of the uploaded file in the Servlet and save it to the local hard disk. Since most file uploads are submitted to the ...

Posted by philweb on Mon, 03 Jan 2022 15:06:40 +0100

HCIA/HCIP uses eNSP to simulate BGP group attribute policy configuration instances

Simulate BGP group attribute policy configuration instance using eNSP Problem elicitation As shown in the figure There are two user network segments in AS 300 When users in AS 100 access these two network segments It is hoped to realize traffic sharing on R2 and R3 When AS 200 accesses these two network segments It is hoped that traf ...

Posted by gth759k on Mon, 03 Jan 2022 10:14:37 +0100