Home > Q&A > body text
在项目中是用的cron每分次跑一次,大家做的是实时的吗还是也是跑定时?
天蓬老师2017-04-24 16:01:59
Use the blocking queue of redis for real-time consumption. If there is no message, it will be automatically blocked. If there is a message, it will be automatically consumed. blpop and brpop commands
迷茫2017-04-24 16:01:59
redis list + supervisor
blpop brpop