Yeah! Especially if you don't really need to scale this solution to thousands different tasks that launch millions of times.
Since writing this article I've moved on to a different project with a big load of users. And you know what? It uses the same solution! Except on this project we store last_run in Redis, not Postgres, since we don't need to persist it forever.
sorry for the late reply and thank you so much for your reply. I guess I will adopt this strategy for my task. Right now it is just the one!
happy new year ^^
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yeah! Especially if you don't really need to scale this solution to thousands different tasks that launch millions of times.
Since writing this article I've moved on to a different project with a big load of users. And you know what? It uses the same solution! Except on this project we store
last_run
in Redis, not Postgres, since we don't need to persist it forever.sorry for the late reply and thank you so much for your reply. I guess I will adopt this strategy for my task. Right now it is just the one!
happy new year ^^