Implement a queue system for task execution, possibly based on Yii Queue package. The only thing to be included into queue for now is importance recalculation, to avoid putting it on cron. Later on, mailing could also be included.
While it would be interesting to use RabbitMQ or Redis, considering potential hosting issues, database is the most reasonable driver.
Queue calls should be done on a reasonable schedule, preferably configurable one.
Implement a queue system for task execution, possibly based on Yii Queue package. The only thing to be included into queue for now is importance recalculation, to avoid putting it on
cron
. Later on, mailing could also be included.While it would be interesting to use RabbitMQ or Redis, considering potential hosting issues, database is the most reasonable driver.
Queue calls should be done on a reasonable schedule, preferably configurable one.