Redis集群~StackExchange.Redis(10月6号版1.1.608.0)连接Twemproxy支持Auth指令了

时间:2021-04-04 20:25:29

回到目录

对于StackExchange.Redis这个驱动来说,之前的版本在使用Proxy为Twemproxy代理时,它是不支持Password属性的,即不支持原始的Auth指令,而我也修改过源代码,为CommandMap添加了Auth但最后测试的结果还是失败了,就在10月1过完后的第一天,我升级了StackExchange.Redis,发现新的版是10月6日更新的,这个新版本我在测试时,它居然支持了Twemproxy模式下的Auth指定,真是太感谢作者了,大叔这回真的要愉着乐了,缺什么就来什么!

StackExchange.Redis的开发者确实有点懒,希望以后可以多写点新版本的说明,新添加的功能等^_^

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqEAAAEuCAIAAAAxzlyZAAAgAElEQVR4nO2daZQU1d2H0eOH5ByTfEnOie856WiibzCaaMIuhJeYGDSKMCu4gICCgAzQIoosArIJAsM+MyzDLrvsmyyyKCDgDhFRICqLwDA90z3dPTMM0++HGoqaukvdqq6u293395zncKprbt17q5n5/+pW9/Q0+OuTk/765KS/ttec3Eizg+6UxpoZdTbJmNIkI79J5k2bZuY3zZqq2yxrarNszWmazXN0pzfPmd4i1+iMFh1nPFTflp1m1vOpma2emnXTp2f9rc7Zf3t69t+emf23Z2a3rrOg9bMFrZ8t+D/dzoWabXS7FLbpUvR33ec05zys2bXOf3Sd84+uc//R7ab/7Db3n93n6T7Sfd4jz8975Pn5uv96fv6/XtAs/tcLxW1fKG7bQ3dB2x4LHu1pdOFjL9a318J/91p0096LHu+96PHei+vss/jxPoufqHPJE32WPPHSknY3Xdqu79J2fZc+qZu37Mm8Ze11+2m+00Gzf50Z/Zdn9F+eMeCmmQOWZw5YkemvM0vz5ZW62S+vzB64MnvgKs2cgatyXtFdnfPK6txBRtd0fNVsp9fWGn1q8NqnBr+r+/TrmuvqHLLumZuuf2bo+meNDtvw7LANnXWHb+g8fGMXo29s7PLGxufe2FTniE3PjdjUdcSmriM2dx2xuevIOrtpjtqi2V3zzS3d39yq+fybW58frb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lpO11GAmG7BintOPaT9UTWQ8AEAtpJRa/j1zcq3PaRPgZjyrGVRTZDwAQC28r7Pkepq1TCcP0R/yl+acpb/0mIESRcYDANTC4yJLTWXWDXbTy/YBWroHDPltefM/gJhXW2Q8AEAtPCuv1LU1+SY4wVfNqceyWnIeQqVExgMA1EJ62YXQM5HxAAC1kF52IfRMZDwAQC2kl10IPRMZDwBQC+llF0LPPP7Z4f8HYupjdvQSqL0AAAAASUVORK5CYII=" alt="" />

代码没什么改动

       //连接TW服务器
var config = new ConfigurationOptions();
config.EndPoints.Add("192.168.1.71:22121");
config.Proxy = Proxy.Twemproxy;
config.Password = "*****";
ConnectionMultiplexer redis = ConnectionMultiplexer.Connect(config);
redis.GetDatabase().StringSet("zzltest", "test" + DateTime.Now.ToLongTimeString());
Console.WriteLine(redis.GetDatabase().StringGet("zzltest"));

测试的结果是正常的,消息成功写入了目标的redis服务器。

希望老东家再接再厉

虽然目前的1.1.608.0是支持Auth密码了,但对于事务还是不支持,希望将这块功能在新的版本里也添加进去吧,在这里先感谢您了!

        var db = redis.GetDatabase();
db.StringSet("addingNumber", );
var transaction = db.CreateTransaction();
transaction.AddCondition(Condition.StringEqual("addingNumber", ""));
var val = transaction.StringGetAsync("addingNumber").Result;
transaction.StringSetAsync("addingNumber", val + );
transaction.Execute();

最后感谢GitHub上的开源信息,希望以后有更多伟大的作品出现,当然收费的服务也是一种趋势,大叔一直不反对收费,呵呵!

没有最高,只有更高...请保持一种向上的态度,永远不要到达人生的最高点...

回到目录