Skip to content

πŸ““ Oban Training curriculum derived from in-person training at Elixirconf 2023

License

Notifications You must be signed in to change notification settings

oban-bg/oban_training

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

23 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Oban Training

The Oban Training curriculum is extracted from our in-person training from ElixirConf 2023. It's designed to teach everything you need to know to get started with Oban, a background job system for Elixir.

Training is open source and built with Livebook.

Prerequisites

This course is intended to be approachable to developers with minimal Elixir background.

Getting Started

Clone this repository to your local computer. Then open the start.livemd file to see all lessons and exercises.

Training Outline

See start.livemd for a full breakdown of our lessons and exercises.

πŸ““ Why Oban?

  • Where we convince you that using Oban is a good idea
  • Not really. It's where we'll give a high level overview of the architecture
  • Terminology, how things work

πŸ““ Up and Running

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

πŸ““ Signing Up

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

πŸ““ Placing an Order

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

πŸ““ Refunding an Order

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

πŸ““ Delivering a Daily Digest

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

πŸ““ Backfilling Reviews

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

πŸ““ Ready for Production

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

About

πŸ““ Oban Training curriculum derived from in-person training at Elixirconf 2023

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published