Load balancing with zookeeper

First, look at this figure. The business service registers temporary nodes under the / Web node, such as the server 1 service corresponding to the / web/web1 temporary node, and then monitors the child node events of the / Web node. Use a set to save these point data. When adding and removing, record t ...

Posted on Tue, 21 Jan 2020 04:46:36 -0500 by nonaguy

clickhouse analysis: zookeeper data store

Install clickhouse Install a new clickhouse, no data available. Open debug level log In config.xml, turn on the < level > debug < / level > mode to view the log content. Create replication table Table building statement: create table test_test ( Id Int32, Ye ...

Posted on Tue, 21 Jan 2020 01:38:19 -0500 by suthen_cowgirl

03 elastic log system - filebeat-kafka-logstash-elastic search-kibana-6.8.0 building process

03 elastic log system - filebeat-kafka-logstash-elastic search-kibana-6.8.0 building process 1. introduction 2. Preparations 2.1 software version 2.2 log flow 3. Configure zookeeper cluster 4. Configure kafka cluster 5. Configure filebeat output 6. Configure logstash input 7. Possible problems ...

Posted on Sun, 19 Jan 2020 04:46:47 -0500 by XenoPhage

dubbo exposes HTTP services

dubbo exposes HTTP services Don't get lost. Welcome to visit again! Catalog dubbo exposes HTTP services Preface Preparation HttpProviderConf configuration class Request response input and output parameters HttpRequest input HttpResponse response Exposure service controller Preface Ge ...

Posted on Mon, 13 Jan 2020 10:12:57 -0500 by carylson

Spring boot integrates Dubbo for distributed development

Since Dubbo supports Spring boot, the integration of Dubbo and Spring has become more simple. Here are the complete steps:   1. Introduce dependency <dependency> <groupId>com.alibaba.boot</groupId> <artifactId>dubbo-spring-boot-starter</artifactId> <version>0.2.0</version> </dependency&g ...

Posted on Fri, 10 Jan 2020 11:27:26 -0500 by Pryach

k8s deployment stateful service zookeeper example

Without considering the configuration file first: apiVersion: apps/v1 kind: StatefulSet #####A problem with fixed hostname and stateful service is that if the pod is not in running state, the hostname cannot be resolved, which constitutes a dead cycle. When I sed to replace the hostname, because the pod is not in running state, she can only ...

Posted on Fri, 10 Jan 2020 09:14:10 -0500 by lunny

9. ZooKeeper Installation Tutorial Details

@[TOC] 1. Environmental preparation 1.1 Download zooKeeper Looking at the documentation for hadoop 2.7.3, we can see that hadoop 2.7.3 was built with zookeeper-3.4.2 when it was highly available, so we followed the instructions of the hadoop website and installed zookeeper-3.4.2. Go to the website to download ZooKeeper 3.4.2Official address: h ...

Posted on Mon, 06 Jan 2020 16:44:21 -0500 by classix16

Build a zookeeper environment

zookeeper is a highly consistent distributed database, which consists of multiple nodes to form a distributed cluster. If any node is hung up, the database can still work normally. Independent mode Download the package file of zookeeper and extract it ➜ ~ tar -xvzf apache-zookeeper-3.5.6-bin.tar.gz Enter the decompression directory of zookeep ...

Posted on Sun, 05 Jan 2020 12:12:27 -0500 by BMN

Install kafka under centos

Environment: CentOS release 6.5 (Final) 1.kafka service depends on jdk1.7, so you need to install JDK first Download the jdk package to the server, but there is no such version on the official website, and save one on Baidu cloud disk. Download address: link: https://pan.baidu.com/s/1zn4MbanbH20Mviscza3ETQ password: jrks -r ...

Posted on Sat, 04 Jan 2020 06:03:47 -0500 by tyler

centos7 installation of zookeeper single instance

Download zookeeper, http://mirrors.hust.edu.cn/apache/zookeeper/ , I downloaded 3.4.6 here Create the zookeeper folder, upload the downloaded file, extract it, and delete the compressed file cd /usr/local mkdir zookeeper cd zookeeper tar -zxvf zookeeper-3.4.6.tar.gz rm -f zookeeper-3.4.6.tar.gz Enter the unzipped file, cop ...

Posted on Fri, 03 Jan 2020 09:55:46 -0500 by henryhund