← All articles

How Pressroom's users send 100K media pitches a month

Theo Marchetti · 1 min read

Pressroom is two engineers. Their product sends more than a hundred thousand personalised media pitches a month.

Queues and cron, nothing else

Every pitch is a queued job. Every follow-up is a cron entry. There are no servers to watch.

@cron("0 9 * * 1-5")
async def follow_ups():
    for pitch in await due_follow_ups():
        await queue.send("pitch", pitch.id)

0 comments

  • Be the first to comment.