zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ady Lau <imx...@gmail.com>
Subject Re: Usecase: DB Sharding
Date Fri, 16 Sep 2011 01:39:03 GMT
We define all database information in xml files and put them into zookeeper
with protocol buffers format.

The clients get some configurations which using by business and build
datasource  dynamically.
Also the clients watch the node in zookeeper and rebuild datasource while
the necessary node has changed.

在 2011年9月16日星期五,Uday Subbarayan 写道:

> Hey Guys,
>       Any one used ZK for Database sharding? I am thinking something like
> this-
> -DB shard info is kept in ZK
> -Application makes the call to ZK first to get the shard info (which
> database server has what data)
> -Then application connects to right DB for accessing data.
> -Any shard change is communicated to the app with ZK watch.
> I see that Rackspace use case  and just checking the community for anyone
> done it...
> Thanks,
> -Uday.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message