sorentwo

sorentwo

Oban Core Team

Oban Training 101 (self-published) (interactive tutorial) (free)

The Oban Training 101 curriculum is extracted from our in-person training from ElixirConf 2023. It’s designed to teach everything you need to know from getting started with Oban through deploying to production.

The course is open source and entirely built with LiveBook.

https://github.com/sorentwo/oban_training/

Course Outline

Section 0

  • Why use Oban?
  • A high level overview of the architecture

Section 1

  • Installing Oban into an application
  • Running migrations
  • Configuring for tests
  • Verifying Oban is running and configured properly

Section 2

  • Creating worker modules
  • Enqueueing jobs
  • Scheduling jobs to run in the future
  • Asserting jobs are enqueued in tests

Section 3

  • Controlling worker behaviour with return values
  • Testing worker functionality
  • Managing retry backoff
  • Providing execution timeouts

Section 4

  • Ensuring uniqueness
  • Cancelling and retrying jobs
  • Replacing fields on unique conflicts
  • Draining queues for integration testing

Section 5

  • Running jobs on a schedule
  • Managing multiple queues and concurrency
  • Pausing and resuming queues
  • Validating configuration changes

Section 6

  • Deprioritizing jobs
  • Inserting multiple jobs at once
  • Recursively enqueuing jobs
  • Asserting the content of all enqueued jobs

Section 7

  • Pruning older jobs
  • Rescuing unexpectedly stopped jobs
  • Logging and instrumenting with Telemetry
  • Reporting errors

First Post!

D4no0

D4no0

Wow, this is great!

Is this training oriented around the free version or it focuses more on pro version?

Most Liked

sorentwo

sorentwo

Oban Core Team

This is entirely oriented to the free version. The only mentions of Pro are in the various animal images (they are from stickers we gave away at the conference).

arubis

arubis

This is exactly the sort of learning resource that I find most personally effective—no videos, docs linked, running code built-in and required. Fabulous work, thank you!

LostKobrakai

LostKobrakai

Seems to be all free version:

Where Next?

Popular in Courses Top

Oxyrus
Has anyone seen this course so far? Pluralsight Skills Player
New
AstonJ
This is their course designed to be followed after their free Try Elixir course. LEVEL 1 Citizens of the Unknown Learn how to work...
New
AstonJ
Looks neat :023: by @caike LEVEL 1 Sparks of Data Get to know Phoenix and learn how to read existing data from the database. ...
New
zkessin
If you are interested in Using Property Based Testing in Elixir I have a new training course on the subject. It will be about 10 lessons ...
New
DmytroNasyrov
Hey folks! A brand new course about distributed systems and microservices. The course is recorded based on my offline lectures for stude...
New
mat-hek
Hi everyone! We just released the Elixir Language Tour guide – an interactive intro to Elixir. The guide itself is written in Elixir an...
New
lubien
I’ve been posting videos about LiveView JS Commands in my Youtube channel and so far I have 3 already published and 5 recorded and in edi...
New

Other popular topics Top

JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New

We're in Beta

About us Mission Statement