redis
Carty090616
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
spring boot redis 附近的人
redis版本要求3.2及其以上 命令介绍 geoadd 格式:GEOADD key longitude latitude member [longitude latitude member …] 描述:将指定的地理空间位置(纬度、经度、名称)添加到指定的key中 返回值:添加到sorted set元素的数目,但不包括已更新score的元素 事例 geoadd cityGeo 116.4...原创 2019-10-23 14:55:10 · 664 阅读 · 0 评论 -
spring boot redis 布隆过滤器
简单实现 import com.google.common.base.Charsets; import com.google.common.hash.Funnel; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; im...原创 2019-04-08 13:29:50 · 5895 阅读 · 1 评论 -
Docker redis 安装 设置
Redis # 拉取镜像 $ docker pull redis # 新建需要挂载的文件夹或文件 $ cd /usr/local $ mkdir redis $ cd redis $ mkdir data # 设置端口映射 $ vi /etc/sysconfig/iptables # 添加3306端口 -A INPUT -p tcp --dport 6379 -j ACCEPT # 重启ipt...原创 2019-09-26 09:52:43 · 244 阅读 · 0 评论
分享