---
title: "Sagar (@sagars01) | Hashnode"
description: "Staff Software Engineer with 10 years of building, breaking and gliding in the tech world. Read the latest articles by Sagar on Hashnode."
url: "https://hashnode.com/@sagars01"
---

@sagars01

# Sagar

@sagars01 · Bengaluru · Joined December 2020

Staff Software Engineer with 10 years of building, breaking and gliding in the tech world

[Website](https://sagarmoy.work/)

## Comments

[Hello Miklós, Thank you for your kind words, means a lot to me. Now to answer your question in short. Sortable UID are far more more easier to sort and you can set your index based on the uid’s timestamp. Though you’re correct that we can store the timestamp in a tuple and sort based on it, but running that query will be a costly operation.](https://hashnode.com/posts/how-twitter-generates-millions-of-unique-ids-per-second/61fc9eb18d15cb3e7ce5fd4e/comment/61fcac0efd8b083e57289c7e#reply-61fd6069fd8b083e5728b241)

Reply · Article · Feb 4, 2022 · [How Twitter generates millions of unique ids per second?](https://hashnode.com/posts/how-twitter-generates-millions-of-unique-ids-per-second/61fc9eb18d15cb3e7ce5fd4e)
