----内存共享锁业务逻辑------ i++;if(i==1){ 业务逻辑; i=0;} //其中i为共享变量,可以用memcahed或redis来实现 转载于:https://www.cnblogs.com/zhudongchang/p/4806770.html