24. Horizontal Sharding
Static Hashing
Mod 10 = 0
Complex growth Mod 10 = 1
Simple Mod 10 = 2
Mod 10 = 3
Mod 10 = 4
Mod 10 = 5
Mod 10 = 6
Mod 10 = 7
Mod 10 = 8
Mod 10 = 9
http://blogs.microsoft.co.il/blogs/vprnd
http://top-performance.blogspot.com
25. Horizontal Sharding
Key locations are defined in a directory
Simple growth
Directory is SPOF
The Directory Can
be Very Large
http://blogs.microsoft.co.il/blogs/vprnd
http://top-performance.blogspot.com
26. Horizontal Sharding
Static Hashing with Directory Mapping
Simple Growth
The Small Directory Can be Cached on
Each App Server
Mod 1000 = 4
http://blogs.microsoft.co.il/blogs/vprnd
http://top-performance.blogspot.com
27. Horizontal Sharding
Each key is signed by the DB#
on creation
Simple growth
The Key Store Can be Cached on
Each App Server
http://blogs.microsoft.co.il/blogs/vprnd
http://top-performance.blogspot.com