AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Importance of Sharding in Vitez
The sharding scheme in Vitez is actually what we call as a Vindex. It's basically a function that takes a value as input and produces an output. So if you wanted hash sharding, you just wrote a hash function. The beauty of this is that there was one Vitez adapter that was sharded by vendors. And when they adopted Vitez, all they did was wrote code that read this JSON file and gave you the output. Everything else just worked like magic.