Guru on Rails
Background jobs? In fact, in my point of view almost language programmings have background jobs, especially for web application. They appear to solve the problem of processes which run in long time but no need to wait. We should take advantage of servers because they run 24/24 so that they can handle so many tasks at different time. A best background job mechanism needs to provide some tools like this to manage, getting them in control.
There are so many best practices for them. I just provide some matters we need to think of them.
- How many jobs run at a time (multiple threads).
- If there are 2 jobs at a time. If a job we add later need to be performed in higher priority. How can we configure?
- Why do we need to put a process to BGJ?
to be continue...