Vi HAProxy+keepalived to achieve high cluster availability

1. HAProxy 1.1 introduction to haproxy HAProxy is a solution that supports virtual hosts by providing high availability, load balancing and proxy based on TCP and HTTP applications. Since 2013, HAProxy has been divided into community version and enterprise version. Enterprise website https://www.haproxy.com/ Community website https://www.hapr ...

Posted by AliasBDI on Thu, 03 Mar 2022 23:50:33 +0100

Linux producer consumer model

Producer consumer model Concept of producer consumer model Producer consumer model is to solve the strong coupling problem between producers and consumers through a container. Producers and consumers do not communicate directly with each other, but communicate through this container. Therefore, after producing data, producers do not ...

Posted by Awanka on Sun, 27 Feb 2022 10:47:08 +0100

DPVS fullnat mode management

This paper mainly introduces the application of centos7 9. Various deployment modes and configuration management of FullNAT mode of system deployment DPVS, including IPv4-IPv4, binding, IPv6-IPv6, IPv6-IPv4 (NAT64) and keepalived mode. The following configurations are all based on dual arm mode, and the corresponding toa module of DPVS has b ...

Posted by ocpaul20 on Sat, 26 Feb 2022 17:59:50 +0100

SpringCloud-2.0 (9. Load balancing - OpenFeign)

Last: 8 Load balancing - Ribbon Next: 10 Service degradation - Hystrix - causing problems Statement: original author: CSDN: Yuan_ four hundred and four 1 . summary 1.1 what is it GitHub : https://github.com/spring-cloud/spring-cloud-openfeign Feign is a declarative web service client, which makes it very easy to write a web service cl ...

Posted by SeaJones on Tue, 22 Feb 2022 10:58:31 +0100

LVS load balancing cluster for efficient multi-purpose cluster (NAT mode)

1, Understand the working principle of LVS-DR 1.1 LVS-DR packet flow analysis (1) The client sends a request to the Director Server (load balancer), and the requested data message (the source IP is CIR and the target IP is VIP) reaches the kernel space. (2)DirectorServer and RealServer are in the same network, and the data is transmitt ...

Posted by bstruss on Thu, 17 Feb 2022 16:02:08 +0100

Eureka highly available Client retry mechanism: retryableeureka httpclient

Eureka highly available Client retry mechanism: retryableeureka httpclient Here are a few questions I asked myself when I read the source code. First put them forward. I hope people who read this article will read them with questions, and then preliminarily introduce the EurekaHttpClient system. Later, I will talk about RetryableEurekaHt ...

Posted by goldfiles on Tue, 15 Feb 2022 08:59:35 +0100

Consistent hash ring algorithm for load balancing

preface Now there is a scenario: when a client accesses the server, it can only access one machine all the time, because some user data exists on the server. If you access other servers, the user data will be lost. How to use algorithms to solve this problem? Consistent hash ring algorithm base The ring structure here is abstracted from ou ...

Posted by podja on Mon, 14 Feb 2022 06:39:51 +0100

Load balancing proxy

Load balancing is used to schedule nodes, so you only need to set the transfer on the server equipped with load balancing The conf file can be directed to the relevant server. It can be tested by a single server first, but since it is a scheduling server, it must not be one server, Load balancing transfers the of a single machine conf conf ...

Posted by cags on Wed, 09 Feb 2022 23:42:25 +0100

Chapter 4 Alibaba cloud integrates Ribbon to realize load balancing

1. What are load balancing and common solutions What is Load Balance A very important concept in distributed system. When the accessed service has multiple instances, it needs to decide which node the request is sent to according to a "balanced" strategy. This is the so-called load balancing. The principle is to allocate the data tr ...

Posted by robpoe on Mon, 31 Jan 2022 23:44:43 +0100

Common load balancing algorithms for distributed system design

Common load balancing algorithms for distributed system design 0 what is load balancing? Load Balance means to balance the load (work task) and allocate it to multiple operation units for operation, so as to complete the work task together. What are the types of load balancing? Software and hardware load balancing Software load balancin ...

Posted by Drebin on Sun, 30 Jan 2022 21:48:30 +0100