上一页 1 ··· 115 116 117 118 119 120 121 122 123 ··· 229 下一页
摘要: 目的 session存储在缓存服务器上(各种缓存服务器上均可,本文以memcached为例),但对开发者来说,他不用关注,只需要调用request.getSession()方法即可获取到session,然后对session的属性进行操作。 面临的问题 1. session获取,不是从applicat 阅读全文
posted @ 2016-03-09 09:39 一天不进步,就是退步 阅读(5522) 评论(5) 推荐(0) 编辑
摘要: 健壮: 要考虑的重点: (请求) 并发请求 重复请求 超量请求 请求积压 (处理程序) Bug 处理中断 处理超时 (资源) 资源不可用 资源响应超时 (外部服务) 通信中断 服务不可用 外部服务器响应超时 外部服务违背功能契约 应对方式(参考) 原则:避免发生,降低概率,控制影响,快速恢复。 故障 阅读全文
posted @ 2016-03-08 10:18 一天不进步,就是退步 阅读(1492) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.cnblogs.com/guoyuqiangf8/p/3545687.html 1、TOP命令,查询消耗CPU高的进程号 PID,并记录下来,按下键盘"H"键,记录高消耗线程号,并将改线程号转换为十六进制 2、使用 jstack [pid] > xx.log 命令打印 阅读全文
posted @ 2016-03-04 17:10 一天不进步,就是退步 阅读(1306) 评论(0) 推荐(0) 编辑
摘要: 1. 使用背景 后台接口需要在接口调用的初期,记录下面查询(修改)对象的参数。 2. 使用方法 通过Apache 工具类 输出entity对象所有属性值 <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-la 阅读全文
posted @ 2016-03-04 13:28 一天不进步,就是退步 阅读(938) 评论(1) 推荐(1) 编辑
摘要: 首先声明,我们团队在使用solrcloud过程中踩了一些坑,同事(晓磊和首富)进行了总结,我列到我的博客上做记录用: Q:为什么Solr里面的时间比数据库里面早8小时? Solr默认采用的时区是UTC时区,而DB中用的则是CST时区,这两个时区本身就相差了8个小时。可以通过修改Solr启动配置SOL 阅读全文
posted @ 2016-03-04 11:25 一天不进步,就是退步 阅读(10291) 评论(0) 推荐(1) 编辑
摘要: 原文地址:https://wsgzao.github.io/post/elk/ 另外可以参考:https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-s 阅读全文
posted @ 2016-03-03 16:01 一天不进步,就是退步 阅读(3315) 评论(0) 推荐(0) 编辑
摘要: 1. 背景: php 使用memcached客户端设置一个key,java使用java-memcached-client去读,报错如下: ERROR|com.whalin.MemCached.MemCachedClient:-1|++++ exception thrown while trying 阅读全文
posted @ 2016-03-01 09:54 一天不进步,就是退步 阅读(1402) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://stackoverflow.com/questions/680684/multi-cpu-multi-core-and-hyper-thread Multi-CPU was the first version: You'd have one or more mainboard 阅读全文
posted @ 2016-02-26 11:04 一天不进步,就是退步 阅读(776) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/gc01/index.html Overview Purpose This tutorial covers the basics of how Garbage Co 阅读全文
posted @ 2016-02-26 10:17 一天不进步,就是退步 阅读(435) 评论(0) 推荐(0) 编辑
摘要: 原文地址:https://blogs.oracle.com/poonam/entry/understanding_cms_gc_logs Understanding CMS GC Logs By Poonam-Oracle on Mar 23, 2006 CMS GC with -XX:+Print 阅读全文
posted @ 2016-02-24 15:33 一天不进步,就是退步 阅读(742) 评论(0) 推荐(0) 编辑
上一页 1 ··· 115 116 117 118 119 120 121 122 123 ··· 229 下一页