Web Api service registration and discovery based on Zookeeper

Installation and differences Please refer to my last article for Zookeeper installation http://www.cnblogs.com/woxpp/p/7700368.html   Service provision and consumption based on Nginx    Service registration and discovery based on zookeeper    The load balance of zk can be adjusted. Nginx is only able to adjust the weight, and other things t ...

Posted by Tarsonis21 on Sun, 03 May 2020 18:18:58 -0700

A summary of three methods of grey level publishing implemented by Nginx

A summary of three methods of grey level publishing implemented by Nginx The main principle of gray-scale publishing is access routing control, and the key point is to ensure that each access is the same node. Mode 1: adjust the load balance weight Load balancing is based on the existing network structure, which provides a ...

Posted by lalabored on Sun, 26 Apr 2020 10:52:42 -0700

keepalived+nginx reverse agent load balancing configuration

Catalog 1. Description of components to realize Nginx load balancing 2 preparation of nginx load balancing experimental environment 3. Nginx reverse agent load balancing installation 4 maintained + nginx to realize the load balance between the active and the standby 1. Description of components to realize Ngin ...

Posted by NoSalt on Wed, 01 Apr 2020 17:31:34 -0700

9. SpringCloud Chapter 9, Upgrade, Load Balancing and Service Calls Ribbon and OpenFeign

SpringCloud Chapter VIII, Upgrade, Load Balancing and Service Calls Ribbon and OpenFeign 1. Ribbon 1. Overview SpringCloud Ribbon is a set of client load balancing tools that give NetFlex Ribbon implementations. Simply put, the main function is to provide load balancing algorithms and service calls for clients.The Ribbon client componen ...

Posted by worldcomingtoanend on Sun, 29 Mar 2020 21:12:58 -0700

Getting Started with Ribbon Load Balancing in SpringCloud

Load balancing using Ribbon Before using Ribbon, let's think about a previous question. We registered our service provider with the eureka registry, but on the consumer side, when we still used the restTemplate call, did it write something inappropriate like http://localhost:8001?Does the application use the service name to make calls like dubb ...

Posted by xterra on Wed, 26 Feb 2020 10:46:58 -0800

Linux configure network grouping

Realization way Bonding Network Teaming Environmental Science OS selinux firewalld Network card CentOS7 Close Close eth0,eth1 Bonding https://www.kernel.org/doc/Documentation/networking/bonding.txt brief introduction The Linux binding driver provides a way to aggregate multiple network interfaces into a single logical "bindi ...

Posted by DaCheata on Sat, 26 Oct 2019 03:10:48 -0700

fastDFS introduction

FastDFS is an open-source lightweight distributed file system, which manages files. Its functions include file storage, file synchronization, file access (file upload, file download), etc. It solves the problems of mass storage and load balancing. FastDFS is especially suitable for online services with file as the carrier, multi picture, multi ...

Posted by janderson on Wed, 16 Oct 2019 19:57:20 -0700

Dubbo Custom Load Balancing

Want to know the implementation strategy of Dubbo custom load balancing, First of all, we need to understand the SPI mechanism. See the article.( https://www.jianshu.com/p/46b42f7f593c) Understanding the SPI mechanism, we extend Dubbo's load balancing strategy based on Dubbo's SPI mechanism In brief, dubbo's SPI has been extended and impleme ...

Posted by han2754 on Thu, 12 Sep 2019 00:56:27 -0700

Consistency hash algorithm and java implementation

Typical application scenarios are: N servers provide caching services, need to load balance the server, distribute requests to each server on average, and each machine is responsible for 1/N of the service. The commonly used algorithm is to take the remainder of hash result (hash() mod N): for machine numbers from 0 to N-1, according to the cu ...

Posted by CookieDoh on Sat, 27 Jul 2019 21:40:04 -0700

Spring Cloud Ribbon 5-minute Quick Guide

"It takes about 4 minutes to read this article" In the previous five-minute guides to Spring Cloud, we have introduced several core components of Spring Cloud in turn, covering the fundamental functions required in a microservice architecture, such as service discovery, melting, centralized configuration.The protagonist ...

Posted by Stasonis on Tue, 18 Jun 2019 09:18:35 -0700