2. RESTFUL Network Request Box Retrofit

Retrofit is a high-quality and efficient HTTP request library. Retrofit relies on OkHttp internally. It encapsulates the underlying code and details of OKHttp and extends functions such as auto-parsing data model for returning results, switching of network engines, interceptors... restFul is a web API interface that conforms to the rest arc ...

Posted by WesPear on Sun, 31 Oct 2021 21:16:30 +0100

Load balancing related

catalogue 1, LVS-DR 1. Characteristics of lvs-dr mode 2. ARP problem in LVS-DR 3. Deploy LVS-DR load balancing cluster Architecture Overview Installation environment Formal deployment   Configure NFS shared storage   Configure WEB node server  WEB2 2, Kept 1. General Why keep alive What is kept alive   Important ...

Posted by lilRachie on Tue, 26 Oct 2021 00:56:50 +0200

Use IHttpClientFactory to make HTTP requests in ASP.NET Core

IHttpClientFactory can be registered and used to configure and create HttpClient instances in applications. The advantages of IHttpClientFactory are as follows: Provides a central location for naming and configuring logical HttpClient instances. For example, a client named GitHub can be registered and configured to access GitHub. You can regis ...

Posted by radman08 on Fri, 22 Oct 2021 18:42:27 +0200

Several methods of front end accepting back end file stream and downloading

Projects often encounter the need to export list content or download files. Combined with various situations, I summarized the three most commonly used methods at the front end to accept and download the file stream transmitted from the back end. Different methods can be used for different situations. First, the back end converts the file into ...

Posted by pluto on Mon, 18 Oct 2021 05:14:53 +0200

[JavaWeb] Servlet Technology of response client

reference material: Basic course of Java Web Development -- edited by Li Jun (main) 1. Introduction to Servlet Definition of Servlet: Servlet is a Java application running on the Web server. It is a technology provided by SUN company for developing dynamic Web resources. The role of Servlet: Collect user input from the web form < fo ...

Posted by samsbox on Sat, 16 Oct 2021 08:53:59 +0200

Apache Web page and security optimization

1, Apache Web page optimization 1. Web page compression The access speed of the website is determined by many factors, including the response speed of the application, network bandwidth, server performance, network transmission speed with the client and so onOne of the most important factors is the response speed of Apache itself. Therefo ...

Posted by bimmer528 on Tue, 05 Oct 2021 21:07:56 +0200

Netty series: Handling CORS in netty

brief introduction The full name of CORS is cross domain resource sharing. It is a mechanism based on HTTP header detection. By controlling HTTP header, the permission management function of cross domain resources can be realized. In the previous CORS detailed article, we have a basic explanation of CORS. This article will explain how to ...

Posted by happyneil on Sat, 18 Sep 2021 05:51:38 +0200