educative.io

Educative

Can you explain why consistency is not important in this case?

Hi,
You have mentioned availability but there is no mention of consistency. Are you saying you will take a hit on consistency? Meaning if a user requests short URL then it may not be consistent over DB?

Hi @Jyoti

Consistency is the key and we cannot ignore it. It is also mentioned in the lesson that we’ll achieve it using hashing(Consistent Hashing). Also we impose size limits on custom aliases to ensure we have a consistent URL database.

If you still have any query feel free to ask :slight_smile: