Stella981 Stella981
3年前
RedisTemplate模板的使用
一、MapboundHashOps(1)主方法,向redis当中存储Map值!复制代码(https://oscimg.oschina.net/oscnet/5ffd306aa8f6e5e0427120e3eb1619418e9.gif)@ResourceprivateRedisTemplate<String
Stella981 Stella981
3年前
Consul Config 使用Git做版本控制的实现
SpringCloudConfig原理!image(http://b.pigx.top/springcloudconfig.png)我们通过git把配置文件推送到远程仓库做版本控制,当版本发生变化的时候,远程仓库通过webhook机制推送消息给ConfigServer,ConfigS
Stella981 Stella981
3年前
Redis之 命令行 操作
一、keypattern查询相应的key  (1)redis允许模糊查询key  有3个通配符 \、?、\\  (2)randomkey:返回随机key    (3)typekey:返回key存储的类型  (4)existskey:判断某个key是否存在  (5)delkey:删除key  (6)rename
Easter79 Easter79
3年前
Sql Server 优化技巧
1.查看执行时间和cpu占用时间setstatisticstimeonselect\fromdbo.Productsetstatisticstimeoff打开你查询之后的消息里面就能看到啦。!wpscb7e.tmp(https://oscimg.oschina.net/oscnet/b05997d8479
Wesley13 Wesley13
3年前
ActiveMQ、RabbitMQ、ZeroMQ比较
​​​​​​一、定义对比ActiveMQ   ActiveMQ是Apache开发的开源消息中间件,Java实现,基于JMS1.1及J2EE1.4规范。RabbitMQ   RabbitMQ是由LShift提供的一个AdvancedMessageQueuingProtocol(AMQP)的开源实现,由
Wesley13 Wesley13
3年前
MQTT
MQTTMQTT:用于物联网的一个消息协议(publish/subscribe)MQTTEssentials(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fwww.hivemq.com%2Fblog%2Fmqttessentials%2F):hivemq的介
Wesley13 Wesley13
3年前
2016.10月我看过的资料们
!(https://static.oschina.net/uploads/space/2016/1013/115940_eU4X_2444023.jpg)《JavaScript的三种消息框alert,confirm,prompt(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fbl
Stella981 Stella981
3年前
Redis字符串类型内部编码剖析
!Profile(https://uploadimages.jianshu.io/upload_images/98242472886155261a81da7.jpg?imageMogr2/autoorient/strip%7CimageView2/2/w/1240)概述我们平时用Redis都是处于用户层面,我们可能会不
redis分布式锁,setnx+lua脚本的java实现 | 京东物流技术团队
本文是基于redis缓存实现分布式锁,其中使用了setnx命令加锁,expire命令设置过期时间并lua脚本保证事务一致性。Java实现部分基于JIMDB提供的接口
如何清理会话消息及清除 Android IM SDK 缓存图片?
"融云SDK中新增了deleteMessages方法,用于删除某个会话中的所有消息,同时会整理压缩数据库,减少占用空间,此方法不可频繁循环调用。(来源参考:https://www.rongcloud.cn/?utmsourceSEO&utmtermjish