educative.io

Educative

Size limit on custom aliases

Could you please clarify the below assumption …
“Let’s assume users can specify a maximum of 16 characters per customer key (as reflected in the above database schema).”

How will it sync with the key provided from KGS ?

2 Likes

I would like to know the answer as well!!!

Good question. It is not understood.

One solution could be, we used KGS to generate 7 chars string while custom url has to have chars between 8-16.

My understanding is that KGS is only used by the App Svc to grab new unique keys. But, if a custom alias is provided by the user, KGS is not used. The main DB will use the custom alias as a key. Hence, the size limitation.