Message queuing Kafka

Apache Kafka is an open-source distributed event streaming platform used by thousands of companies for high-performance data pipelines, streaming analytics, data integration, and mission-critical applications. 1 Overview 1.1 basic concepts 1.1.1 Topic By classifying messages through Topic mechanism, we can think that each Topic is a queue ...

Added by kidestranged on Tue, 08 Mar 2022 16:16:47 +0200

ZooKeeper ACL permission control

1.1 ACL permission control: scheme, id and permission are used to identify, mainly covering three aspects: Permission scheme: authorization policy Authorization object (id): the authorized object Permission: the permission granted 1.2. Features of Zookeeper ACL: Zookeeper's permission control is based on znode nodes, and permissions need ...

Added by Highlander on Mon, 07 Mar 2022 10:09:01 +0200

SpringBoot+Dubbo+Zookeeper implements a simple distributed architecture

preface What is a distributed system? The emergence of distributed system is to complete the calculation that can not be completed by a single computer in a more cost-effective way and more ordinary machines. Four stages of architecture evolution Single application architecture Deploy all functions together to reduce deployment nodes and c ...

Added by Jak-S on Thu, 24 Feb 2022 17:03:34 +0200

Kafka zookeeper efak message queue cluster

zookeeper introduce zookeeper: provide coordination service for distributed framework, file system + notification mechanism Working mechanism The distributed service management framework designed based on the observer mode is responsible for storing and managing the data everyone cares about, and then accepting the registration of observers ...

Added by nwoeddie23 on Tue, 22 Feb 2022 04:14:21 +0200

Installation and configuration of zookeeper cluster

As long as more than half of the nodes in the zookeeper cluster are normal, the whole cluster is available to the outside world. Based on this feature, it is more appropriate to set the number of nodes of ZK cluster to an odd number (2n+1: such as 3, 5 and 7 nodes). Server 1: 192.168.1.81 port: 2181, 2881, 3881 Server 2: 192.168.1.82 port: 218 ...

Added by lookielookies on Sun, 20 Feb 2022 06:46:03 +0200

zookeeper -- zk implementing distributed lock

Reasons for locking: Multitasking to grab a resourceMultitasking requires writing to resourcesMultitasking access to resources is mutually exclusive 1. What happens when you are multithreaded without using locks Define a generated order ID class, that is, a resource for multitasking public class OrderNumGenerator { //Global order id ...

Added by jason213123 on Tue, 15 Feb 2022 07:07:12 +0200

07. Introduction, construction and simple use of Hadoop framework Zookeeper

Introduction, construction and simple use of Hadoop framework Zookeeper Introduction to Zookeeper    Zookeeper is an efficient distributed coordination service, which can provide configuration information management, naming, distributed synchronization, cluster management, database switching and other services. It is not suitabl ...

Added by sameerni on Sat, 12 Feb 2022 04:23:08 +0200

Implementation of Raft protocol for learning from sentinel Leader election

Learning from sentinel Leader election and implementation of Raft protocol (Part 2) In the last article, I introduced you to the basic process of Raft protocol and the basic process of sentinel instance work. The Sentinels perform periodic execution through the serverCron function, and then call the sentinelTimer function in serverCron to real ...

Added by Magwheel on Fri, 11 Feb 2022 07:04:52 +0200

dubbo's service remote exposure

Write in front stay Local exposure of dubbo services In this article, we analyze the local service registration using the injvm protocol when scope="local". Together, we look at the most commonly used method in actual business, that is, remote service exposure. Compared with local exposure, we mainly do the following things: 1: Star ...

Added by jc_ply on Mon, 07 Feb 2022 10:46:25 +0200

DML data manipulation language of MySQL core knowledge

DML data manipulation language of MySQL core knowledge MySQL deep analysis table data addition Create table Employee list of a company create table employee( empno int primary key comment 'Employee number', ename carchar(20) commenr 'Employee name', job carchar(20) commenr 'Employee position', mgr int comment 'Employee super ...

Added by Muggin on Wed, 02 Feb 2022 08:03:02 +0200