4 ms·
How do you keep track of background jobs? Is the queue persisted on disk somewhere? If it's not and a background worker crashes for some reason, then is the job
by ngrilly 6y ago
How do you keep track of background jobs? Is the queue persisted on disk somewhere? If it's not and a background worker crashes for some reason, then is the job lost?
- valzam 6y agoOban uses Postgres for persistence https://hexdocs.pm/oban/Oban.html https://hexdocs.pm/oban/Oban.html
- ngrilly 6y agoThat’s a very nice library. BEAM + Elixir + OTP supervision trees + Obama for background jobs + PostgreSQL for persistent storage seems a killer combination. And like you said you can scale horizontally naturally with the Erlang plateform without even using k8s. Really interesting.