Postgres FM cover image

Queues in Postgres

Postgres FM

00:00

How to Improve Throughput With PQ

Skype had the requirement to handle billion users. Declarative partitioning didn't exist at time. They used inheritance based partitioning, three partitions and rotation. So we use one partition, we maintaining another one and third one is like one idle. And maintaining means like we just truncate. Cuncate is fast. I was trying to work out why there are three. Is it that we have one that new rows are going into currently? One where we're trying to finish the final jobs in it just while we're switching between partitions. And then the third one that is always going to be ready for. Honestly, I don't remember. But nowadays we have declarative partition

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app