:watch: Cron-like job scheduler for Elixir
In some cases, we might want to run our code at specific times. Not necessarily every 3 minutes, but every day at 08.00AM. While this is perfectly achievable leveraging the same tools, I'll be pragmatic and recommend Quantum. It allows you to schedule the execution of functions with a cron syntax and takes away all the complexity of managing processes. It's a seasoned library, widely-adopted within the community, very lightweight... And extremely simple.
ets based key/value cache with row level isolated writes and ttl support
However, while Elixir does provide the necessary abstractions to make caching easy, my recommendation on this one is usually to lean on the community's shoulders. Saša Jurić, for example, wrote a while back ConCache which does exactly this, but there are many others out there. The good thing about not implementing one it's own is that there are many edge cases when dealing with concurrency and it's easy to get it wrong the first few times. As they say, the two hardest problems in computer science are naming and caching.
Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.
Library for reliably running jobs
2 projects | /r/elixir | 23 Apr 2023
Ruby concurrency is hard: how I became a Ruby on Rails contributor
2 projects | news.ycombinator.com | 24 Nov 2022
1 project | news.ycombinator.com | 30 Aug 2023
Unpacking Elixir: Concurrency
9 projects | news.ycombinator.com | 25 Aug 2023
Should a cron process be a separate node instance? (With PM2)
1 project | /r/node | 19 Jun 2023