在项目中是用的cron每分次跑一次,大家做的是实时的吗还是也是跑定时?
走同样的路,发现不同的人生
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
redis list + supervisor
blpop brpop
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
redis list + supervisor