Remix.run Logo
vjay15 5 days ago

Hello everyone this is my third blog, I am still a junior learning stuff ^_^

notpushkin 2 days ago | parent | next [-]

Hey, welcome to HN!

Reading “hex” pointing to a clearly base62-ish string was a bit interesting :-)

Also, could we shard based on a short hash of account_id, and store the same hash in the token? This way we can lose the whole api_key → account_id lookup table in the metashard altogether.

vjay15 2 days ago | parent [-]

Hello thanks for reading through my blog :D Coming to your question, yes! that is possible I mentioned it in my second approach!

But when I mentioned it to my senior he wanted me to default with the random string approach :)

vjay15 2 days ago | parent | prev [-]

I NEVER THOUGHT I WOULD BE IN THE MAIN PAGE OF HACKERNEWS THANK YOU SO MUCH GUYS (╥﹏╥)