ASP源码.NET源码PHP源码JSP源码JAVA源码DELPHI源码PB源码VC源码VB源码Android源码
当前位置:首页 >> 操作系统 >> Linuxjrs看球网直播吧_低调看直播体育app软件下载_低调看体育直播 >> Linux搭建Zookeeper环境之单机模式和集群模式配置

Linux搭建Zookeeper环境之单机模式和集群模式配置(1/20)

来源:网络整理     时间:2018-04-11     关键词:

本篇文章主要介绍了" Linux搭建Zookeeper环境之单机模式和集群模式配置",主要涉及到方面的内容,对于Linuxjrs看球网直播吧_低调看直播体育app软件下载_低调看体育直播感兴趣的同学可以参考一下: Linux搭建Zookeeper环境1.ZookeeperZooKeeper is a centralized service for maintaining ...

Linux搭建Zookeeper环境

1.Zookeeper

 Linux搭建Zookeeper环境之单机模式和集群模式配置

 Linux搭建Zookeeper环境之单机模式和集群模式配置

ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services.

All of these kinds of services are used in some form or another by distributed applications. 

Each time they are implemented there is a lot of work that goes into fixing the bugs and race conditions that are inevitable. 

Because of the difficulty of implementing these kinds of services, applications initially usually skimp on them ,which make them brittle in the presence of change and difficult to manage.

Even when done correctly, different implementations of these services lead to management complexity when the applications are deployed.

ZooKeeper是一个分布式的,开放源码的分布式应用程序协调服务,是Google的Chubby一个开源的实现,是Hadoop和Hbase的重要组件。它是一个为分布式应用提供一致性服务的软件,提供的功能包括:配置维护、域名服务、分布式同步、组服务等。

  ZooKeeper的目标就是封装好复杂易出错的关键服务,将简单易用的接口和性能高效、功能稳定的系统提供给用户。

  ZooKeeper包含一个简单的原语集提供Java和C的接口。

  ZooKeeper代码版本中,提供了分布式独享锁、选举、队列的接口,代码在zookeeper-3.4.3\src\recipes。其中分布锁和队列有Java和C两个版本,选举只有Java版本。

主要作用是用来解决分布式应用中经常遇到的一些数据管理问题,如集群管理、统一命名管理、分布式配置管理、分布式消息队列、分布式锁、分布式通知协调

官方网站:https://zookeeper.apache.org/

2.Zookeeper 下载安装

【1】官网下载【http://zookeeper.apache.org/releases.html】zookeeper安装包:zookeeper-3.5.3-beta.tar.gz

 Linux搭建Zookeeper环境之单机模式和集群模式配置

 Linux搭建Zookeeper环境之单机模式和集群模式配置

 Linux搭建Zookeeper环境之单机模式和集群模式配置

 Linux搭建Zookeeper环境之单机模式和集群模式配置

相关图片

相关文章