{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/f339e94e709647fdab8af5d71ebbe04c\" frameborder=\"0\" width=\"1728\" height=\"1296\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1296,"width":1728,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1296,"thumbnail_width":1728,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/f339e94e709647fdab8af5d71ebbe04c-301b8b674f2fbb34.gif","duration":526.654,"title":"Efficient Email Scheduling with Redis and Workers 🚀","description":"In this video, I walk you through the email scheduler service I developed to tackle the issue of blocking when sending large volumes of emails. I utilize Redis for task management and workers to process these tasks efficiently, ensuring that no emails are lost even if the worker crashes. I demonstrate how users can log in using Google OAuth and send or schedule emails, including a test where I scheduled a mass email to 100 recipients. I also explain the rate limiting feature to prevent abuse and how the system maintains job integrity through worker-side idempotency. If you're interested in trying it out, all the setup details are in the README file."}