I really can not get it about how does flockdb work with multi pcserver, I mean how does flockdb spread the data to multi pcserver, is every shard have the same data or different with others? how does gizzard work in flockdb?
thanks a lot , i really confused about it thoes day....
flockdb uses gizzard for sharding. gizzard maps ints to shards using the forwarding table. since flockdb is using ints for source/destination id, it can just use those ints directly for the shard mapping.
yeah, ok, I probable understand what you mean. thank you. but where do those ints save, in mysql database or a file or the source code. And i find only one place in the config file (production.conf) where could configure the ip address, but i think that is for relicas, is that right?
the name server replicas are used to store the forwarding tables that map ids to shard trees.