. Net Core Configuration Etcd data source

preface . Net Core provides us with a powerful Configuration configuration system, which is easy to use and highly extensible. Through this Configuration system, we can load data sources such as Json, Xml, Ini into the program, or expand other forms of storage sources by ourselves. What we need to do today is to extend the Etcd data source ope ...

Posted on Fri, 19 Jun 2020 07:09:51 -0400 by mouli

What is the Watcher mechanism in Zookeeper?

Article catalog What is the watcher mechanism Notification state (KeeperState) Event type Client implementation of EventType registration and notification Server implementation of EventType registration and notification EventType registration and notification process Simple code example What i ...

Posted on Thu, 18 Jun 2020 07:06:48 -0400 by paudelvikash

Implementation of distributed lock with ZooKeeper

Implementation of distributed lock with ZooKeeper Model selection of zookeeper client The native zookeeper client has a series of problems such as one-time watcher and no timeout reconnection mechanism ZkClient, which solves some problems of the native client, is still used in some existing old sys ...

Posted on Tue, 16 Jun 2020 23:44:48 -0400 by notaloser

Scenarios and methods of using distributed locks

Why use distributed lock --Distributed lock? Before discussing this issue, let's take a look at a business scenario: Inventory oversold System A is an e-commerce system. At present, it is A machine deployment. There is an interface for users to place orders in the system. However, before users place orders, they must check the inventory to ens ...

Posted on Mon, 15 Jun 2020 05:02:02 -0400 by Jeepsta

hadoop high availability installation (HA)

High availability hadoop installation HA Write at the beginning Installation procedure 1. Distribute JDK 1.1 install jdk 2. Synchronization time 3. Configuration file check before installation 4. Secret key free settings of NN and other three machines 5. No secret key between two NN 6. Modify some c ...

Posted on Mon, 15 Jun 2020 03:30:10 -0400 by ludachris

Linux CentOS 7.5 builds a highly available Hadoop distributed cluster environment

1.Linux environment preparation 1.1 turn off the firewall (all three virtual machines execute) firewall-cmd --state #View firewall status systemctl start firewalld.service #Turn on the firewall systemctl stop firewalld.service #Turn off firewall systemctl disable firewalld.service #Do not start firewall 1.2 configure static ...

Posted on Sun, 14 Jun 2020 05:40:55 -0400 by chris9902

How RocketMQ.2-NameServer started

The previous article described the process of starting NameServer and broker with RocketMQ source code for single-machine deployment and sending and receiving messages. In fact, it is a simple quickstart. After the actual operation, the backend monarch has been able to carry out simple business messaging based on RocketMQ, completing small func ...

Posted on Fri, 12 Jun 2020 22:26:33 -0400 by maverickminds

Build distributed project practice based on SpringBoot+Dubbo+Zookeeper+Maven+IDEA

  1, Explanation of terms (from Baidu Encyclopedia): Spring Boot is a new framework provided by the Pivotal team, which is designed to simplify the initial construction and development process of new spring applications. The framework uses a specific way to configure, so that developers no longer n ...

Posted on Thu, 11 Jun 2020 00:02:57 -0400 by cpjok

Zookeeper Watcher process analysis (combined with source code)

summary ZK provides the publish / subscribe function of distributed data. A typical publish / subscribe model system defines a one to many subscription relationship, which enables multiple subscribers to listen to a topic object at the same time. When the status of the topic object changes, all subscribers will be notified. Watcher mechanism is ...

Posted on Sat, 06 Jun 2020 01:32:13 -0400 by kmarsh

k8s deployment Flink

https://flink.apache.org/ #Flink official website This step (k8s) deployment requires a profile First copy all the configuration files of Flink to the local, and then hang the local configuration files in the POD 1.1 configuration file of jobmanager vim flink-conf.yaml Modify profile jobmanager.rpc.address: flink-jobmanager-svc jobmanage ...

Posted on Wed, 27 May 2020 11:14:00 -0400 by jviney