Skip to main content
added 3 characters in body
Source Link
Dan Wilson
  • 3.2k
  • 1
  • 14
  • 17

I am reading about scaling of database and came to know about shadingsharding technique. But iI also read about consistent hashing technique. So how practically shadingsharding is implemented?Do Do we arrange nodes in ring like consistent hashing and then assign servers to rings and then data to servers? Because as I see if my number of shards changes at run time, and if consistent hashing technique is not there, then it will mess up a lot of stuff. Can someone please throw some light on this?

I am reading about scaling of database and came to know about shading technique. But i also read about consistent hashing technique. So how practically shading is implemented?Do we arrange nodes in ring like consistent hashing and then assign servers to rings and then data to servers? Because as I see if my number of shards changes at run time, and if consistent hashing technique is not there, then it will mess up a lot of stuff. Can someone please throw some light on this?

I am reading about scaling of database and came to know about sharding technique. But I also read about consistent hashing technique. So how practically sharding is implemented? Do we arrange nodes in ring like consistent hashing and then assign servers to rings and then data to servers? Because as I see if my number of shards changes at run time, and if consistent hashing technique is not there, then it will mess up a lot of stuff. Can someone please throw some light on this?

Source Link

Is consistent hashing required for sharding?

I am reading about scaling of database and came to know about shading technique. But i also read about consistent hashing technique. So how practically shading is implemented?Do we arrange nodes in ring like consistent hashing and then assign servers to rings and then data to servers? Because as I see if my number of shards changes at run time, and if consistent hashing technique is not there, then it will mess up a lot of stuff. Can someone please throw some light on this?