Sringcloud 2.0 learning - 7-spring cloud integrates zookeeper as registry + ribbon load balancing

Use Zookeeper as a registry 1. Start the zookeeper server Zookeeper is a distributed coordination tool, which can realize service registration and discovery, registration center, message middleware, distributed configuration center, etc.           &e ...

Posted on Sun, 16 Feb 2020 23:47:45 -0800 by Gokul

I understand the distributed system. I have everything you need to know

Preface When it comes to distributed systems, we have to say centralized systems. In the traditional centralized system, everything in the whole project is in one application. A website is an application. When the system is under great pressure, it can only expand horizontally, add multiple servers or ...

Posted on Sun, 16 Feb 2020 00:26:05 -0800 by scottchr226

Linux -- Shell multi machine distributing files and executing commands

It's a very practical tool. First, you need to set up ssh password free communication between machines. There are three documents 1.deploy.conf 2.deploy.sh 3.runRemoteCmd.sh Be careful: The three files are all in / home/hadoop/tools Directory; The first column of the deploy.conf configuration file is the host name of the ser ...

Posted on Mon, 03 Feb 2020 08:00:43 -0800 by jd023

Dubbo API configuration mode

Preface My project AngBoot Spring security is used for permission management and authentication, but the original intention of the project is to serve as a development template structure. Therefore, in order to cope with micro services and more flexible use scenarios, I introduced Dubbo to provide rem ...

Posted on Sun, 02 Feb 2020 00:45:41 -0800 by zeezack

[From Getting Started to Abandoning-ZooKeeper] ZooKeeper Actual-Distributed Election

Preface Above [From Getting Started to Abandoning-ZooKeeper] ZooKeeper Actual-Distributed Lock-Upgrade In ZooKeeper, we implemented a distributed lock by utilizing the temporary nodes of ZooKeeper and the Watcher feature.In this paper, we combine the actual scenario to complete a distributed competitive election. Design Here we have achieved a ...

Posted on Mon, 27 Jan 2020 19:49:33 -0800 by sharey

SpringBoot+zookeeper+dubbo small case

Dubbo is a high-performance and lightweight open-source Java RPC framework, which provides three core capabilities: interface oriented remote method invocation, intelligent fault tolerance and load balancing, and automatic service registration and discovery. ZooKeeper is a distributed, open-source distr ...

Posted on Fri, 17 Jan 2020 00:32:35 -0800 by Talguy

sentinel console practice

Because the current open source version of the console is not suitable for use in the generation environment, the console has been modified Control desk address: https://gitee.com/lis1314/sentinel-dashboard   1, Transformation of control console Based on the 1.7.0 console UI, the jar package uses 1.7.1 (upgraded from 1.7.0) 1. Cluster link ...

Posted on Mon, 13 Jan 2020 23:52:41 -0800 by noimad1

Service Publishing for Dubbo Source Analysis 3

1. Overview of service publishing The Dubbo service export process starts when the Spring container publishes a refresh event [dubbo:service --> ServiceBean --> onApplicationEvent (ContextRefreshedEvent event)] and executes the service export logic after receiving the ContextRefreshedEvent even ...

Posted on Sat, 11 Jan 2020 16:59:36 -0800 by amargharat

Big data tutorial (3.10): program of zookeeper distributed shared lock

The blogger in this section will provide you with an example of distributed shared locks, which are very important because they need to be used in many scenarios. Therefore, we must master this knowledge. If you don't know the principle of distributed shared lock, please read the previous article first Big data tutorial (3.3): introduction to ...

Posted on Wed, 08 Jan 2020 08:00:27 -0800 by r3drain

Windows Platform Integration SpringBoot+KAFKA_u Environment Configuration Section

Project needs, need to integrate SpringBoot+KAFKA I looked and found that on Linux, zoomkeeper was installed before KAFKA, such as https://blog.csdn.net/zhangcongyi420/article/details/88674491 My CA, my machine can't move, and if we want to do it, we need to do a good job of a few virtual machines to get a big data platform environment together ...

Posted on Mon, 06 Jan 2020 13:31:57 -0800 by elflacodepr