原创 系統監控
起因 Mercury:唯品會全鏈路應用監控系統解決方案詳解(含PPT) 在裏面看到這個好東西 Google Dapper Dapper, a Large-Scale Distributed Systems Tracing In
原创 枚舉Enum
什麼是枚舉? 爲什麼要用枚舉? 枚舉可以怎麼用? Pros VS Cons 1.什麼是枚舉 首先我們從一個枚舉類的反編譯文件來認識一下枚舉類 Compiled from "ColorEnum.java" public final c
原创 KAFKA
https://cwiki.apache.org/confluence/display/KAFKA/FAQ#FAQ-HowdoIgetexactly-oncemessagingfromKafka? How do I get
原创 Linux performance Monitoring
附件是全文件,現在根據文件來做筆記。 系統調優就是找出系統瓶頸,降低並消除瓶頸。 操作系統調優從以下幾方面出發: CPU Memory IO Network 而且幾方面相互依賴,一榮俱榮,一損俱損。 1.定性系統類型 1.1 強
原创 認識 同步 異步 阻塞 非阻塞
學習NIO就必然會遇到幾個概念: BIO NIO AIO 想必說各個代表的含義大家都能說出來,但是有沒有細想過BIO block了到底是什麼,NIO N在哪裏, AIO是怎麼通過底層系統實現的?
原创 JSON Config文件,另一種properties
http://blog.csdn.net/wsscy2004/article/details/24723905
原创 spring boot
1.微服務框架Spring Boot 2.用起來非常方便,配置文件不用了,tomcat內置了http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsi
原创 httpclient 3.X 4.X 性能優化
3.X http://hc.apache.org/httpclient-3.x/performance.html public class MultiThreadedExample { /** * Constru
原创 spring 新特性
https://spring.io/blog/2012/05/23/transactions-caching-and-aop-understanding-proxy-usage-in-spring https://spring.io/
原创 網絡知識定向,掃盲
TCP/IP、Http、Socket的區別 http://jingyan.baidu.com/article/08b6a591e07ecc14a80922f1.html 多播 http://li-sir.iteye.com/blog
原创 mongodb 3.2.1 下載提供
正版官方 下載地址 http://share.weiyun.com/9bee718fcaac437c0b09726bc8fa9958 不謝自取
原创 ubuntu 設置分辨率
I was having the same issue with the resolution. I'm using VirtualBox and the resolution only had one resolution optio
原创 JMX遠程監控tomcat
JMX遠程監控tomcat 1.tomcat下創建下setenv.sh #!/bin/sh export JAVA_OPTS="$JAVA_OPTS -Djava.rmi.server.hostname=xxx.xxx.xxx.xx
原创 mybatis不輸出sql原因
mybatis默認使用log4j,當有self4j這個日誌jar包存在時會無法打印sql,請移除或者在工程 啓動時顯示設置mybatis使用的日誌類: log4j.logger.org.apache.ibatis=debug,s
原创 對象mapping dozer,各種實現對比
Dozer Dozer is a Java Bean to Java Bean mapper that recursively copies data from one object to another. Typically, th