redis事务处理抢购简单代码(已验证)

header("content-type:text/html;charset=utf-8");
$redis = new redis();
$redis->connect('127.0.0.1', 6379);
$watchKey = "mywatchkey8";
$listKey = "mywatchlist11";
$mywatchkey = $redis->get($watchKey);
$rob_total = 100;   //抢购数量
if($mywatchkey<$rob_total){
   $redis->watch($watchKey);
   $redis->multi();
   //插入抢购数据
   $id = "user_id_".mt_rand(100000, 900000);
   $redis->hSet($listKey,$id,time());
   $res = $redis->incr($watchKey,1);
   if($res<$rob_total){
      $rob_result = $redis->exec();
      if($rob_result) {
         $mywatchlist = $redis->hGetAll($listKey);
         echo "抢购成功!
"
; echo "剩余数量:".($rob_total-$mywatchkey-1)."
"
; echo "用户列表:
";
         file_put_contents('1.txt', "success: ".$id . "|{$res}\r\n", FILE_APPEND);
         var_dump($mywatchlist);
      }
      else {
         file_put_contents('1.txt', "fail22: ".$id . "|{$res}\r\n", FILE_APPEND);
         echo "手气不好,再抢购!";exit;
      }
   }else{
      $redis->discard();
      file_put_contents('1.txt', "fail11: ".$id . "|{$res}\r\n", FILE_APPEND);
      echo "手气不好,再抢购!";exit;
   }
};
$mywatchlist = $redis->hGetAll("mywatchlist11");
var_dump($mywatchlist);
die;


用Apache ab测试,Server Software:        Apache/2.2.21
Server Hostname:        booknew.2345.com
Server Port:            80


Document Path:          /index.php?c=login
Document Length:        27 bytes


Concurrency Level:      200
Time taken for tests:   39.597 seconds
Complete requests:      1500
Failed requests:        737
   (Connect: 0, Receive: 0, Length: 737, Exceptions: 0)
Write errors:           0
Total transferred:      15350876 bytes
HTML transferred:       15065616 bytes
Requests per second:    37.88 [#/sec] (mean)
Time per request:       5279.626 [ms] (mean)
Time per request:       26.398 [ms] (mean, across all concurrent requests)
Transfer rate:          378.59 [Kbytes/sec] received


Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   2.5      0      63
Processing:   641 4985 913.2   5094    5930
Waiting:      641 4980 912.9   5094    5844
Total:        641 4986 913.2   5094    5930


Percentage of the requests served within a certain time (ms)
  50%   5094
  66%   5353
  75%   5522
  80%   5596
  90%   5719
  95%   5756
  98%   5788
  99%   5876
 100%   5930 (longest request)


fail22: user_id_742865|
fail22: user_id_135810|
success: user_id_301218|
fail22: user_id_349215|
fail22: user_id_166185|
fail22: user_id_715751|
fail22: user_id_778546|
fail22: user_id_708062|
fail22: user_id_829853|
fail22: user_id_378110|
fail22: user_id_241909|
success: user_id_882079|
fail22: user_id_770934|
fail22: user_id_880015|
fail22: user_id_811754|
fail22: user_id_141118|
fail22: user_id_594034|
fail22: user_id_892177|
fail22: user_id_566945|
success: user_id_584666|
fail22: user_id_763790|
fail22: user_id_565034|
fail22: user_id_886210|
fail22: user_id_701584|
fail22: user_id_226151|
fail22: user_id_315417|
fail22: user_id_730605|
success: user_id_285890|
fail22: user_id_183540|
fail22: user_id_466042|
fail22: user_id_862713|
fail22: user_id_252011|
fail22: user_id_272485|
fail22: user_id_830837|
fail22: user_id_553180|
fail22: user_id_345665|
success: user_id_270973|
fail22: user_id_131606|
fail22: user_id_331123|
fail22: user_id_354157|
fail22: user_id_578397|
fail22: user_id_164986|
fail22: user_id_384891|
fail22: user_id_257035|
success: user_id_816605|
fail22: user_id_773254|
fail22: user_id_665740|
fail22: user_id_623109|
fail22: user_id_315072|
fail22: user_id_162573|
fail22: user_id_647029|
fail22: user_id_584579|
fail22: user_id_816832|
success: user_id_652803|
fail22: user_id_586735|
fail22: user_id_400618|
fail22: user_id_602491|
fail22: user_id_302652|
fail22: user_id_829694|
fail22: user_id_258481|
fail22: user_id_281328|
success: user_id_394086|
fail22: user_id_585213|
fail22: user_id_344111|
fail22: user_id_634944|
fail22: user_id_336506|
fail22: user_id_875390|
fail22: user_id_442015|
fail22: user_id_766180|
fail22: user_id_348102|
fail22: user_id_875421|
success: user_id_480342|
fail22: user_id_375768|
fail22: user_id_391204|
fail22: user_id_718775|
fail22: user_id_654078|
fail22: user_id_839324|
fail22: user_id_748819|
fail22: user_id_360747|
success: user_id_396176|
fail22: user_id_306906|
fail22: user_id_353471|
fail22: user_id_335165|
fail22: user_id_310206|
fail22: user_id_626326|
fail22: user_id_604300|
fail22: user_id_707840|
success: user_id_426817|
fail22: user_id_683795|
fail22: user_id_485177|
fail22: user_id_578224|
fail22: user_id_727797|
fail22: user_id_640173|
fail22: user_id_808469|
fail22: user_id_127502|
fail22: user_id_335288|
success: user_id_117830|
fail22: user_id_110228|
fail22: user_id_244829|
fail22: user_id_456602|
fail22: user_id_248387|
fail22: user_id_191832|
fail22: user_id_179396|
success: user_id_159565|
fail22: user_id_696949|
fail22: user_id_157871|
fail22: user_id_266293|
fail22: user_id_251887|
fail22: user_id_431604|
fail22: user_id_197899|
fail22: user_id_855586|
fail22: user_id_570744|
fail22: user_id_721617|
success: user_id_795531|
fail22: user_id_676843|
fail22: user_id_298306|
fail22: user_id_245083|
fail22: user_id_846963|
fail22: user_id_405990|
fail22: user_id_354867|
success: user_id_343236|
fail22: user_id_711640|
fail22: user_id_466169|
fail22: user_id_582612|
fail22: user_id_489880|
fail22: user_id_650090|
fail22: user_id_810458|
fail22: user_id_669038|
fail22: user_id_514254|
fail22: user_id_253779|
success: user_id_753975|
fail22: user_id_573712|
fail22: user_id_686321|
fail22: user_id_603404|
fail22: user_id_602942|
fail22: user_id_312577|
fail22: user_id_893136|
fail22: user_id_882994|
success: user_id_439931|
fail22: user_id_679461|
fail22: user_id_374597|
fail22: user_id_778276|
fail22: user_id_416049|
fail22: user_id_837991|
fail22: user_id_454944|
fail22: user_id_410968|
fail22: user_id_447655|
success: user_id_543351|
fail22: user_id_647584|
fail22: user_id_481225|
fail22: user_id_498713|
fail22: user_id_696399|
fail22: user_id_377626|
fail22: user_id_647763|
fail22: user_id_127534|
fail22: user_id_216685|
success: user_id_354104|
fail22: user_id_560037|
fail22: user_id_124643|
fail22: user_id_563414|
fail22: user_id_811296|
fail22: user_id_632274|
fail22: user_id_479710|
fail22: user_id_249760|
fail22: user_id_753152|
fail22: user_id_655839|
success: user_id_522742|
fail22: user_id_897958|
fail22: user_id_190955|
fail22: user_id_283047|
fail22: user_id_597722|
fail22: user_id_501686|
fail22: user_id_888885|
fail22: user_id_220078|
fail22: user_id_246690|
success: user_id_674767|
fail22: user_id_392980|
fail22: user_id_390043|
fail22: user_id_360377|
fail22: user_id_277511|
fail22: user_id_329046|
fail22: user_id_514319|
fail22: user_id_108168|
success: user_id_894876|
fail22: user_id_415911|
fail22: user_id_169371|
fail22: user_id_479345|
fail22: user_id_585978|
fail22: user_id_170529|
fail22: user_id_231405|
fail22: user_id_171398|
fail22: user_id_653435|
success: user_id_146499|
fail22: user_id_595620|
fail22: user_id_388211|
fail22: user_id_663980|
fail22: user_id_598135|
fail22: user_id_339463|
fail22: user_id_223709|
fail22: user_id_836160|
fail22: user_id_485906|
fail22: user_id_353861|
fail22: user_id_406325|
success: user_id_211607|
fail22: user_id_358771|
fail22: user_id_739002|
fail22: user_id_808744|
fail22: user_id_733055|
fail22: user_id_435431|
fail22: user_id_343983|
fail22: user_id_354093|
success: user_id_120876|
fail22: user_id_340877|
fail22: user_id_413717|
fail22: user_id_524025|
fail22: user_id_284307|
fail22: user_id_291143|
fail22: user_id_608319|
fail22: user_id_474229|
fail22: user_id_346757|
success: user_id_611792|
fail22: user_id_734512|
fail22: user_id_270396|
fail22: user_id_467521|
fail22: user_id_162640|
fail22: user_id_724728|
fail22: user_id_144887|
fail22: user_id_859182|
fail22: user_id_837648|
success: user_id_712376|
fail22: user_id_617460|
fail22: user_id_397971|
fail22: user_id_402838|
fail22: user_id_450782|
fail22: user_id_824835|
fail22: user_id_887960|
fail22: user_id_690862|
success: user_id_676701|
fail22: user_id_704964|
fail22: user_id_766449|
fail22: user_id_635643|
fail22: user_id_411608|
fail22: user_id_629270|
fail22: user_id_564015|
fail22: user_id_505537|
fail22: user_id_228591|
success: user_id_497008|
fail22: user_id_534856|
fail22: user_id_559443|
fail22: user_id_491572|
fail22: user_id_721843|
fail22: user_id_417382|
fail22: user_id_225670|
fail22: user_id_148381|
fail22: user_id_390233|
success: user_id_429895|
fail22: user_id_889544|
fail22: user_id_235362|
fail22: user_id_848079|
fail22: user_id_381050|
fail22: user_id_360316|
fail22: user_id_676485|
fail22: user_id_895138|
fail22: user_id_163262|
success: user_id_442629|
fail22: user_id_605302|
fail22: user_id_583158|
fail22: user_id_630776|
fail22: user_id_872778|
fail22: user_id_825567|
fail22: user_id_157808|
fail22: user_id_164654|
success: user_id_217826|
fail22: user_id_757749|
fail22: user_id_818308|
fail22: user_id_532059|
fail22: user_id_235457|
fail22: user_id_459673|
fail22: user_id_263281|
fail22: user_id_853646|
success: user_id_119234|
fail22: user_id_198959|
fail22: user_id_211886|
fail22: user_id_786657|
fail22: user_id_283184|
fail22: user_id_373378|
fail22: user_id_123421|
fail22: user_id_428181|
success: user_id_694794|
fail22: user_id_800027|
fail22: user_id_249700|
fail22: user_id_830756|
fail22: user_id_166712|
fail22: user_id_756069|
fail22: user_id_553335|
fail22: user_id_226640|
success: user_id_139068|
fail22: user_id_173580|
fail22: user_id_338979|
fail22: user_id_320132|
fail22: user_id_728215|
fail22: user_id_433236|
fail22: user_id_897561|
fail22: user_id_512642|
fail22: user_id_189178|
success: user_id_764296|
fail22: user_id_567902|
fail22: user_id_598740|
fail22: user_id_854657|
fail22: user_id_707456|
fail22: user_id_487509|
fail22: user_id_423110|
fail22: user_id_280596|
success: user_id_735993|
fail22: user_id_884077|
fail22: user_id_436341|
fail22: user_id_767703|
fail22: user_id_868102|
fail22: user_id_188146|
fail22: user_id_244609|
fail22: user_id_796237|
fail22: user_id_774313|
success: user_id_414687|
fail22: user_id_721910|
fail22: user_id_728358|
fail22: user_id_450430|
fail22: user_id_404253|
fail22: user_id_652245|
fail22: user_id_508557|
fail22: user_id_237078|
success: user_id_850703|
fail22: user_id_279732|
fail22: user_id_738535|
fail22: user_id_468095|
fail22: user_id_772787|
fail22: user_id_314076|
fail22: user_id_293390|
fail22: user_id_598472|
success: user_id_636759|
fail22: user_id_306284|
fail22: user_id_748249|
fail22: user_id_479869|
fail22: user_id_466819|
fail22: user_id_356783|
fail22: user_id_412193|
fail22: user_id_636327|
fail22: user_id_639368|
success: user_id_690711|
fail22: user_id_252112|
fail22: user_id_181862|
fail22: user_id_545304|
fail22: user_id_350645|
fail22: user_id_648737|
fail22: user_id_289208|
fail22: user_id_554210|
success: user_id_721773|
fail22: user_id_148085|
fail22: user_id_644096|
fail22: user_id_694478|
fail22: user_id_693300|
fail22: user_id_813737|
fail22: user_id_586223|
fail22: user_id_336126|
success: user_id_522021|
fail22: user_id_220590|
fail22: user_id_772408|
fail22: user_id_536370|
fail22: user_id_193736|
fail22: user_id_276069|
fail22: user_id_655824|
fail22: user_id_786393|
fail22: user_id_516226|


fail22: user_id_431208|
fail22: user_id_151211|
fail22: user_id_379897|
fail22: user_id_175009|
fail22: user_id_166693|
fail22: user_id_698385|
fail22: user_id_243947|
success: user_id_853481|
fail22: user_id_830494|
fail22: user_id_616001|
fail22: user_id_852937|
fail22: user_id_395453|
fail22: user_id_319215|
fail22: user_id_732609|
fail22: user_id_558601|
success: user_id_584008|
fail22: user_id_508401|
fail22: user_id_668074|
fail22: user_id_569965|
fail22: user_id_709613|
fail22: user_id_270143|
fail22: user_id_489590|
fail22: user_id_545691|
fail22: user_id_559514|
success: user_id_207187|
fail22: user_id_252806|
fail22: user_id_711835|
fail22: user_id_328939|
fail22: user_id_394519|
fail22: user_id_206068|
fail22: user_id_343203|
fail22: user_id_181233|
fail22: user_id_569977|
success: user_id_419383|
fail22: user_id_652929|
fail22: user_id_428689|
fail22: user_id_311002|
fail22: user_id_777420|
fail22: user_id_419944|
fail22: user_id_708483|
fail22: user_id_720000|
fail22: user_id_591997|
success: user_id_707815|
fail22: user_id_702714|
fail22: user_id_827575|
fail22: user_id_670277|
fail22: user_id_833759|
fail22: user_id_493568|
fail22: user_id_107856|
fail22: user_id_434627|
success: user_id_694085|
fail22: user_id_408587|
fail22: user_id_179394|
fail22: user_id_453453|
fail22: user_id_294795|
fail22: user_id_384184|
fail22: user_id_567666|
fail22: user_id_423618|
success: user_id_473431|
fail22: user_id_335105|
fail22: user_id_847087|
fail22: user_id_579481|
fail22: user_id_584872|
fail22: user_id_809261|
fail22: user_id_447020|
fail22: user_id_251494|
fail22: user_id_321355|
success: user_id_552975|
fail22: user_id_112004|
fail22: user_id_724058|
fail22: user_id_362897|
fail22: user_id_656747|
fail22: user_id_858745|
fail22: user_id_365722|
fail22: user_id_621677|
success: user_id_195566|
fail22: user_id_824955|
fail22: user_id_818526|
fail22: user_id_501403|
fail22: user_id_286316|
fail22: user_id_839115|
fail22: user_id_758816|
fail22: user_id_411598|
success: user_id_798170|
fail22: user_id_409940|
fail22: user_id_696427|
fail22: user_id_777681|
fail22: user_id_433699|
fail22: user_id_328427|
fail22: user_id_608281|
fail22: user_id_866324|
fail22: user_id_742863|
success: user_id_469158|
fail22: user_id_305046|
fail22: user_id_281954|
fail22: user_id_130364|
fail22: user_id_310913|
fail22: user_id_883783|
fail22: user_id_861292|
fail22: user_id_394836|
fail22: user_id_758380|
success: user_id_816673|
fail22: user_id_872015|
fail22: user_id_542050|
fail22: user_id_581140|
fail22: user_id_428227|
fail22: user_id_253543|
fail22: user_id_809938|
fail22: user_id_290381|
fail22: user_id_799075|
success: user_id_470526|
fail22: user_id_597114|
fail22: user_id_418794|
fail22: user_id_138461|
fail22: user_id_873612|
fail22: user_id_305434|
fail22: user_id_383392|
fail22: user_id_643812|
fail22: user_id_470100|
success: user_id_817032|
fail22: user_id_529530|
fail22: user_id_431562|
fail22: user_id_182618|
fail22: user_id_662531|
fail22: user_id_569030|
fail22: user_id_271576|
fail22: user_id_841794|
success: user_id_478983|
fail22: user_id_368178|
fail22: user_id_685491|
fail22: user_id_233571|
fail22: user_id_329142|
fail22: user_id_808362|
fail22: user_id_527326|
fail22: user_id_691978|
fail22: user_id_351304|
fail22: user_id_818991|
success: user_id_302096|
fail22: user_id_783558|
fail22: user_id_682230|
fail22: user_id_645469|
fail22: user_id_569453|
fail22: user_id_173626|
fail22: user_id_482810|
fail22: user_id_897085|
success: user_id_229081|
fail22: user_id_497984|
fail22: user_id_694694|
fail22: user_id_582201|
fail22: user_id_184901|
fail22: user_id_572277|
fail22: user_id_245640|
fail22: user_id_267395|
success: user_id_316508|
fail22: user_id_694348|
fail22: user_id_879367|
fail22: user_id_747650|
fail22: user_id_882926|
fail22: user_id_612189|
fail22: user_id_322864|
fail22: user_id_135254|
fail22: user_id_277390|
success: user_id_820907|
fail22: user_id_421330|
fail22: user_id_498772|
fail22: user_id_433473|
fail22: user_id_734519|
fail22: user_id_773633|
fail22: user_id_362222|
fail22: user_id_253414|
fail22: user_id_455605|
success: user_id_421740|
fail22: user_id_440505|
fail22: user_id_353980|
fail22: user_id_340464|
fail22: user_id_730109|
fail22: user_id_873249|
fail22: user_id_437034|
fail22: user_id_382405|
success: user_id_644840|
fail22: user_id_677762|
fail22: user_id_240797|
fail22: user_id_322402|
fail22: user_id_272979|
fail22: user_id_144682|
fail22: user_id_636243|
fail22: user_id_299673|
fail22: user_id_719354|
success: user_id_367634|
fail22: user_id_206746|
fail22: user_id_872290|
fail22: user_id_442090|
fail22: user_id_170648|
fail22: user_id_470664|
fail22: user_id_102056|
fail22: user_id_278809|
success: user_id_871460|
fail22: user_id_439591|
fail22: user_id_748413|
fail22: user_id_645027|
fail22: user_id_229363|
fail22: user_id_594576|
fail22: user_id_562367|
fail22: user_id_498985|
success: user_id_304469|
fail22: user_id_495150|
fail22: user_id_860394|
fail22: user_id_685862|
fail22: user_id_523649|
fail22: user_id_775089|
fail22: user_id_897206|
fail22: user_id_222666|
fail22: user_id_694493|
success: user_id_872993|
fail22: user_id_123881|
fail22: user_id_542481|
fail22: user_id_283988|
fail22: user_id_273977|
fail22: user_id_311027|
fail22: user_id_227126|
fail22: user_id_241862|
fail22: user_id_825326|
success: user_id_160603|
fail22: user_id_569826|
fail22: user_id_801887|
fail22: user_id_511698|
fail22: user_id_250565|
fail22: user_id_718514|
fail22: user_id_328813|
fail22: user_id_840039|
fail22: user_id_172700|
success: user_id_369989|
fail22: user_id_321489|
fail22: user_id_640604|
fail22: user_id_592128|
fail22: user_id_134889|
fail22: user_id_844825|
fail22: user_id_180071|
fail22: user_id_284494|
success: user_id_492205|
fail22: user_id_351794|
fail22: user_id_609898|
fail22: user_id_139432|
fail22: user_id_667842|
fail22: user_id_281296|
fail22: user_id_218211|
fail22: user_id_638135|
fail22: user_id_315917|
success: user_id_697808|
fail22: user_id_705794|
fail22: user_id_807398|
fail22: user_id_300897|
fail22: user_id_353999|
fail22: user_id_545031|
fail22: user_id_341648|
fail22: user_id_220088|
success: user_id_274659|
fail22: user_id_264853|
fail22: user_id_194233|
fail22: user_id_435421|
fail22: user_id_866694|
fail22: user_id_881949|
fail22: user_id_668732|
fail22: user_id_563721|
fail22: user_id_544375|
success: user_id_586556|
fail22: user_id_298785|
fail22: user_id_707663|
fail22: user_id_609114|
fail22: user_id_496553|
fail22: user_id_512566|
fail22: user_id_638101|
success: user_id_665130|
fail22: user_id_740897|
fail22: user_id_166144|
fail22: user_id_781689|
fail22: user_id_744097|
fail22: user_id_463438|
fail22: user_id_139255|
fail22: user_id_177307|
fail22: user_id_637817|
success: user_id_694143|
fail22: user_id_179614|
fail22: user_id_270191|
fail22: user_id_116486|
fail22: user_id_313706|
fail22: user_id_466425|
fail22: user_id_227025|
fail22: user_id_516565|
success: user_id_462746|
fail22: user_id_108320|
fail22: user_id_753530|
fail22: user_id_518528|
fail22: user_id_504586|
fail22: user_id_511605|
fail22: user_id_587492|
fail22: user_id_886641|
success: user_id_684236|
fail22: user_id_227948|
fail22: user_id_807202|
fail22: user_id_845717|
fail22: user_id_480021|
fail22: user_id_382024|
fail22: user_id_613857|
fail22: user_id_353859|
success: user_id_774824|
fail22: user_id_608260|
fail22: user_id_163090|
fail22: user_id_641834|
fail22: user_id_806616|
fail22: user_id_561509|
fail22: user_id_623617|
fail22: user_id_477302|
fail22: user_id_168149|
success: user_id_878163|
fail22: user_id_416582|
fail22: user_id_488501|
fail22: user_id_107555|
fail22: user_id_474033|
fail22: user_id_284107|
fail22: user_id_836120|
fail22: user_id_648399|
fail22: user_id_760668|
success: user_id_299392|
fail22: user_id_735015|
fail22: user_id_722783|
fail22: user_id_396386|
fail22: user_id_566134|
fail22: user_id_267867|
fail22: user_id_759831|
success: user_id_406277|
fail22: user_id_751810|
fail22: user_id_136586|
fail22: user_id_721665|
fail22: user_id_821004|
fail22: user_id_670630|
fail22: user_id_841099|
fail22: user_id_408761|
fail22: user_id_896162|
success: user_id_141338|
fail22: user_id_403423|
fail22: user_id_381578|
fail22: user_id_653925|
fail22: user_id_762938|
fail22: user_id_573010|
fail22: user_id_572777|
fail22: user_id_857418|
success: user_id_765473|
fail22: user_id_283700|
fail22: user_id_124872|
fail22: user_id_896793|
fail22: user_id_137605|
fail22: user_id_204843|
fail22: user_id_894842|
fail22: user_id_385140|
fail22: user_id_847392|
success: user_id_215235|
fail22: user_id_228564|
fail22: user_id_167420|
fail22: user_id_561466|
fail22: user_id_436246|
fail22: user_id_791294|
fail22: user_id_743632|
success: user_id_844501|
fail22: user_id_479763|
fail22: user_id_811395|
fail22: user_id_662008|
fail22: user_id_364910|
fail22: user_id_828220|
fail22: user_id_423272|
fail22: user_id_471895|
fail22: user_id_874211|
success: user_id_389495|
fail22: user_id_311075|
fail22: user_id_402736|
fail22: user_id_463307|
fail22: user_id_637887|
fail22: user_id_702774|
fail22: user_id_556964|
fail22: user_id_221068|
fail22: user_id_738452|
success: user_id_151086|
fail22: user_id_436364|
fail22: user_id_593464|
fail22: user_id_816021|
fail22: user_id_592034|
fail22: user_id_297912|
fail22: user_id_768602|
fail22: user_id_692592|
fail22: user_id_155406|
success: user_id_306952|
fail22: user_id_794303|
fail22: user_id_482684|
fail22: user_id_474832|
fail22: user_id_573383|
fail22: user_id_536801|
fail22: user_id_196296|
fail22: user_id_669185|
success: user_id_103404|
fail22: user_id_188465|
fail22: user_id_537633|
fail22: user_id_704267|
fail22: user_id_779730|
fail22: user_id_714670|
fail22: user_id_105854|
fail22: user_id_708185|
fail22: user_id_623764|
success: user_id_885806|
fail22: user_id_663326|
fail22: user_id_235398|
fail22: user_id_696716|
fail22: user_id_693591|
fail22: user_id_180104|
fail22: user_id_677554|
fail22: user_id_571659|
fail22: user_id_313389|
success: user_id_893762|
fail22: user_id_527754|
fail22: user_id_898251|
fail22: user_id_640992|
fail22: user_id_470134|
fail22: user_id_473785|
fail22: user_id_847145|
fail22: user_id_897589|
success: user_id_192518|
fail22: user_id_563705|
fail22: user_id_428382|
fail22: user_id_763619|
fail22: user_id_148814|
fail22: user_id_144503|
fail22: user_id_145903|
fail22: user_id_705638|
fail22: user_id_881403|
success: user_id_494542|
fail22: user_id_619167|
fail22: user_id_267578|
fail22: user_id_588025|
fail22: user_id_100293|
fail22: user_id_368917|
fail22: user_id_442962|
fail22: user_id_634615|
success: user_id_104385|
fail22: user_id_810784|
fail22: user_id_370900|
fail22: user_id_742438|
fail22: user_id_436981|
fail22: user_id_303200|
fail22: user_id_609890|
fail22: user_id_888334|
success: user_id_542555|
fail22: user_id_614754|
fail22: user_id_300701|
fail22: user_id_644236|
fail22: user_id_766461|
fail22: user_id_231355|
fail22: user_id_662275|
fail22: user_id_760406|
success: user_id_217694|
fail22: user_id_608226|
fail22: user_id_133950|
fail22: user_id_730309|
fail22: user_id_310957|
fail22: user_id_771106|
fail22: user_id_161135|
fail22: user_id_597087|
fail22: user_id_694456|
fail22: user_id_548300|
success: user_id_213121|
fail22: user_id_312940|
fail22: user_id_732193|
fail22: user_id_458686|
fail22: user_id_490025|
fail22: user_id_710284|
fail22: user_id_828886|
fail22: user_id_226158|
fail22: user_id_585246|
success: user_id_101089|
fail22: user_id_704959|
fail22: user_id_538256|
fail22: user_id_301690|
fail22: user_id_254693|
fail22: user_id_477677|
fail22: user_id_283452|
fail22: user_id_656604|
success: user_id_746078|

你可能感兴趣的:(服务器,redis,抢购)