Client: One of the nodes in our distributed application cluster, access information from the server. For a particular time interval, every client sends a message to the server to let the sever know that the client is alive.

Similarly, the server sends an acknowledgement when a client connects. If there is no response from the connected server, the client automatically redirects the message to another server.

Server: One of the nodes in our ZooKeeper ensemble, provides all the services to clients. Gives acknowledgement to client to inform that the server is alive.

Ensemble: Group of ZooKeeper servers. The minimum number of nodes that is required to form an ensemble is 3.

so in this lecture we will see some important components in distributed system so first one is client client is one of the node in our distributed system application that acts as the information from the server for a particular time interval every client sends a message to the server to let the server know that the client is alive similarly the server sends an acknowledgment when a client connects if there is no response from the connected server the client automatically read it the message to another server so acknowledges acknowledgement is nothing but it is a confirmation from the server and next important component is server so one of the node enable zookeeper in-sample provides all the services to clients like as I told you it gives the alcohol into the client to inform that the server is still alive another important component is ansible as I mentioned any symbol is nothing but a group of zookeeper nodes or servers so when I say nodes servers computers all are same we can use interchangeably in in our engineering IIT terms the minimum number of nodes that is required to form an Assemblies 3 so as I mentioned we need majority so we can use odd number and we can use minimum of 3

Tags:






Youtube
Facebook
Google Plus
Twitter
TutorialDrive


Apache Zookeeper Tutorial

Apache Kafka Tutorial

Apache Kafka Security

Elasticserarch n Kibana

Java 8 Tutorial

Log4J Tutorial

Apache Storm Tutorial

SQLite Tutorial

Apache Ant Tutorial

Related Posts

blog

Apache Kafka Commands Cheat sheet

Spread the loveKafka Topics List existing topics bin/kafka-topics.sh –zookeeper localhost:2181 –list Purge a topic bin/kafka-topics.sh –zookeeper localhost:2181 –alter –topic mytopic –config retention.ms=1000 … wait a minute … bin/kafka-topics.sh –zookeeper localhost:2181 –alter –topic mytopic –delete-config retention.ms
Read more…

blog

What is Apache Maven | Apache Maven complete tutorial from scratch pdf

Spread the love In this post you will learn the complete tutorial of Apache Maven build tool What is Maven ? Apache Maven is a software project management and comprehension tool. Based on the concept
Read more…

blog

Practical Guide for Web Development in 2018

Spread the loveWelcome to my practical guide  for web development in 2018 in terms of  technology and career. Before we start I just want to  mention a few things, you don’t need to learn  everything that
Read more…