News for hackers. Stuff that matters.
Re:Write libraries instead of services, where possible by ngrilly on Tuesday March 09, 2021 @05:09PM (#26405035)
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?
Re:Write libraries instead of services, where possible by valzam on Tuesday March 09, 2021 @05:50PM (#26405527)
Oban uses Postgres for persistence https://hexdocs.pm/oban/Oban.html
Re:Write libraries instead of services, where possible by ngrilly on Thursday March 11, 2021 @02:59PM (#26428321)
That’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.