3 ms·
Hello everyone this is my third blog, I am still a junior learning stuff ^_^
by vjay15 6mo ago
Hello everyone this is my third blog, I am still a junior learning stuff ^_^
- notpushkin 6mo agoHey, 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 6mo agoHello 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 6mo agoI NEVER THOUGHT I WOULD BE IN THE MAIN PAGE OF HACKERNEWS THANK YOU SO MUCH GUYS (╥﹏╥)