[C#] ServiceStack.Redis如何批量的pop数据?
摘要:要安全的批量pop数据,有两个办法:1、用事务(不用事务的话可能导致重复读。ServiceStack的pipeline是没有自带事务的。)2、执行lua脚本我这里提供用事务的实现方法:public static string ReadLine(RedisNativeClient cln){ Met...
阅读全文
posted @ 2015-02-27 12:39
posted @ 2015-02-27 12:39
posted @ 2015-02-26 16:49
posted @ 2015-02-08 00:47