3 ms·
Use a database. Wrap it with a scheduler. Have your workers poll it. Use Redis if you must in higer-contention situations for locks. Doing this will solve count
by dunk010 3y ago
Use a database. Wrap it with a scheduler. Have your workers poll it. Use Redis if you must in higer-contention situations for locks. Doing this will solve countless swathes of distributed systems problems, and you won't get woken up at 2am every third night.