zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tavi <tavi1...@yahoo.com>
Subject RE: Can ZK be used for my use case?
Date Thu, 26 Sep 2013 14:23:02 GMT
Hi everyone, :)

I will try to respond at your questions :

" status.data.xml... the concept of this file ..."

- it will contains specific information's which is applied for a specific
	- current version number (ex: 2.0.12)
	- a few specific  variables, which can be changed by the leader, used by
the client when he will process his downloaded data from the FTP (ex: region
number: 24, const_1: 3.4234,  const_2: 3% ... and so on). Theirs values are
not version specific.
	- After each successful treatment on the client side, the client will write
back, in the same file the date when a specific version was treated (see

	<current_version release_date="2014-06-01">2.0.12</current_version >	
	< variables>
		<item name="region">24</item>
		<item name="const_1">3.4234</item>
		<item name="const_2">3%</item>
              </variables >
		<version nb="2.0.12" status="ok" date="2014-07-05" />	
		<version nb="2.0.12" status="err" date="2014-06-05">
			<errMsg> ... Some FTP Exception ...</errMsg>
		<version nb="2.0.11" status="ok" date="2014-05-05" />
		<version nb="2.0.10" status="ok" date="2014-03-05" />

The leader will collect all the " updates_status" information, from each
client and he will transfer it in a database to be handled by a main
"application manager".  

"why give the leader the task of creating the
/application_1/A_group/client_a1 "
The leader is my  "Orchestra Conductor" he must decide when a client can be
activated (a new node is created), or when it is disables (the node is
deleted) ... 

Of course, I will have some logic to purge all unnecessary information or
nodes, for the moment I'm in a preliminary analysis so I'm a little bit
lower that a "bird view"  :).

I really appreciate your time,

My best regards,

View this message in context: http://zookeeper-user.578899.n2.nabble.com/Can-ZK-be-used-for-my-use-case-tp7579049p7579137.html
Sent from the zookeeper-user mailing list archive at Nabble.com.

View raw message