The Backend Engineering Show with Hussein Nasser cover image

How Shopify’s engineering improved writes by 50% with ULID | The Backend Engineering Show

The Backend Engineering Show with Hussein Nasser

00:00

How to Generate a Short URL Using UUIDs

If you use ULIDs, then you can control the inserts because you know that people who generate the short URLs will be generating them one after the other. But reads, I don't think it's going to benefit you at all. Just same thing as UUID, read or will be still random. You have absolutely no guarantee in this case to optimize the read requests, unlike Shopify.Shopify actually optimize both write and read, because reading, they will almost read requests that are within this 24 hours. There's no point reading requests from seven years, right?

Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner