My application runs on 3 servers behind a load balancer. Therefore, it is stateless, all data is stored in redis and MySQL.
If my machines work with the cron scheduler, I assume that the same task will be performed 3 times. Once on each machine, since there is no knowledge of what was performed in conjunction with them, for example, a database table.
What are the solutions?
source
share