上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 45 下一页
摘要: idea 配置修改 本篇 参考https://blog.liyang.io/234.html。 1.修改IDEA菜单的字体大小: 单击File | Project Structure菜单项,打开ProjectStructure对话框; 选择Appearance,在右边的选项中,选择Override 阅读全文
posted @ 2016-04-27 03:06 托马斯布莱克 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 转http://978538.blog.51cto.com/968538/1710442 转http://978538.blog.51cto.com/968538/1710442 转http://978538.blog.51cto.com/968538/1710442 一. 安装部署zookeepe 阅读全文
posted @ 2016-04-27 02:34 托马斯布莱克 阅读(631) 评论(0) 推荐(0) 编辑
摘要: zookeeper集群 启动 1.问题现象。 启动每一个都提示 STARTED 但是查看 status时全部节点都报错[root@ip-172-31-19-246 bin]# sh zkServer.sh startZooKeeper JMX enabled by defaultUsing conf 阅读全文
posted @ 2016-04-27 01:53 托马斯布莱克 阅读(11739) 评论(2) 推荐(2) 编辑
摘要: Spring架构简单描述 原文:https://www.shiyanlou.com/courses/document/212 原文:https://www.shiyanlou.com/courses/document/212 原文:https://www.shiyanlou.com/courses/ 阅读全文
posted @ 2016-04-26 17:03 托马斯布莱克 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 排行榜功能是一个很普遍的需求。使用 Redis 中有序集合的特性来实现排行榜是又好又快的选择。一般排行榜都是有实效性的,比如“用户积分榜”。如果没有实效性一直按照总榜来排,可能榜首总是几个老用户,对于新用户来说,那真是太令人沮丧了。首先,来个“今日积分榜”吧,排序规则是今日用户新增积分从多到少。那么 阅读全文
posted @ 2016-04-26 10:36 托马斯布莱克 阅读(660) 评论(0) 推荐(0) 编辑
摘要: https://wiki.archlinux.org/index.php/Power_management_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87) CentOS 7合盖后黑屏但不进入睡眠模式修改 systemd 能够处理某些电源相关的 ACPI事件,你可以通过从 阅读全文
posted @ 2016-04-24 14:11 托马斯布莱克 阅读(1423) 评论(0) 推荐(0) 编辑
摘要: 【转】Redis 与 Memcached 的区别 【转】Redis 与 Memcached 的区别 传统 MySQL + Memcached 架构遇到的问题 实际上 MySQL 是适合进行海量数据存储的,通过 Memcached 将热点数据加载到 cache ,加速访问,很多公司都曾经使用过这样的架 阅读全文
posted @ 2016-04-22 17:03 托马斯布莱克 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 例如 : redis配置的properties或yml文件,如下: spring.redis.cluster.nodes[0]=192.168.0.1:6379 spring.redis.cluster.nodes[1]=192.168.0.2:6379 或 spring: redis: clust 阅读全文
posted @ 2016-04-22 16:13 托马斯布莱克 阅读(16500) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/linjiqin/archive/2013/06/14/3135921.html 1.添加 投票选项到 redis的 List 和HashMap list key ==> tomas:vote:vote_item:%S:list (PS. %S=vote 阅读全文
posted @ 2016-04-20 18:33 托马斯布莱克 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 1. 传统思路 where + limit 索引可增加查询速度 select * from vote_item v where v.vote_id=5 limit 100000,20; 优点: 常用简单 顺序查询分页没有问题. 缺点: 数据量大时跳页查询 需要先扫描10w零20条数据 然后排除10w 阅读全文
posted @ 2016-04-20 12:25 托马斯布莱克 阅读(357) 评论(0) 推荐(0) 编辑
上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 45 下一页