High availability at a glance - starting with LVS

When we do technology pre research / business start-up, Functionality is the most important. It's ok if we can run through it. For the most popular C/S architecture, the following architecture is the simplest model that can meet functional requirements:However, with the development of our business, Scalability and high availability will gradual ...

Posted on Wed, 01 Dec 2021 19:55:02 -0500 by nodster

MySQL data table advanced operations and user permissions

1, Data table advanced operations 1. Clone the table and generate the data records of the data table into a new table Method 1: create table test1 like kfc; #Using the like method, copy the test1 table structure to generate the test2 table insert into test1 select * from kfc; Method 2: create table test2 (select * from kfc); ...

Posted on Sun, 28 Nov 2021 09:57:05 -0500 by graham

Spring cloud upgrade 2020.0.x version - 39. Transform resilience4j WebClient

Code address of this series: https://github.com/JoJoTec/spring-cloud-parent To achieve what we mentioned in the previous section: You need to add some logs in the retry and open circuit to facilitate future optimizationIt is necessary to define a retry Exception, and combine it with the circuit breaker to encapsulate the non 2xx respon ...

Posted on Mon, 22 Nov 2021 07:35:08 -0500 by xconspirisist

[Linux optimization] how to understand "average load"

Concept of average load Average load refers to the average number of processes in the running and non interruptible state of the system per unit time, that is, the average number of active processes, which is not directly related to CPU utilization Runnable state: the so-called runnable state process refers to the process that is using th ...

Posted on Sat, 20 Nov 2021 11:20:08 -0500 by alcapone

Learn about LVS load balancing cluster

catalogue one, Cluster and distributed 1. Meaning of cluster 2. Distributed system 3. The difference between cluster and distributed 4. Cluster design 2, Introduction to Linux Virtual Server 1. Introduction to LVS 2. Terms of LVS cluster type 3, Working mode of LVS Cluster 1. LVS-NAT mode (NAT mode) 2. LVS-DR (direct routing) 3. L ...

Posted on Wed, 17 Nov 2021 06:49:58 -0500 by gple

Spring cloud upgrade 2020.0.x - 32. Improved load balancing algorithm

Code address of this series: https://github.com/JoJoTec/spring-cloud-parent In the previous section, we combed the ideas of realizing Feign circuit breaker and thread isolation. In this section, we will first discuss how to optimize the current load balancing algorithm without looking at the source code implementation (because the sourc ...

Posted on Thu, 11 Nov 2021 15:13:56 -0500 by SteveMellor

Load balancing lvs DR mode

preface client -> dns -> cdn(cache) -> server The client accesses dns first and then to the cache, otherwise the traffic is too large to directly access the server. What we need to do is load balancing the server aliyun Client - > DNS - > CDN (CACHE) - > SLB server SLB load balancing layer, that is, load balancing and high av ...

Posted on Sun, 24 Oct 2021 08:24:46 -0400 by Cesar

Quick Understanding LVS Load Balancing Clusters

Introduction In a variety of Internet applications, as the site requires more and more hardware performance, response speed, service stability, data reliability, etc., it will be difficult for a single server to undertake all access. In addition to expensive mainframes and dedicated load-splitting devices, companies have another option t ...

Posted on Tue, 19 Oct 2021 12:21:32 -0400 by coowboy

Using nsq to generate pdf service with puppeter under node (eggjs)

This article mainly introduces how to use nsq in nodeJs, and other implementations will be output in subsequent articles. cause Some time ago, I made a node service to generate pdf from web pages. In the process of generating puppeter and canvas, the consumption of memory is relatively large, the generation time of pages with large internal cap ...

Posted on Thu, 18 Jun 2020 05:38:47 -0400 by John Canyon

Summary of Ultra-Detailed Production-Level Load Balancing Algorithms

Detailed production-level load balancing algorithm Introduction to load balancing Load Balance, the English name for Load Balance, refers to a collection of servers that are symmetrically composed of multiple servers, each of which has an equivalent status and can be served independently without the assistance of other servers.With a load-sh ...

Posted on Mon, 18 May 2020 12:36:53 -0400 by launchcode