Elixir Wizards cover image

Ashley Smith & Kenneth Moy from Bowery Farming on Oban

Elixir Wizards

CHAPTER

Oban - What's the Difference Between Tasks and Queuing?

With Oban, you can put implicit limits such as like, I want this queue to have five jobs running at a time. So that is something really cool. Another thing is retries, right? So with a task, you have to basically have code in that task to verify if everything is running fine. But with Oban, if the job fails, right, that is transmitted back to the database stored there. And another thing that's nicely baked in is scheduling for a job, right? You can have it inserted at a certain time for the Oban job, but the actual runtime can be any time you want it to run. That was definitely impressive to see when I started

00:00
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