`
文章列表

SEDA

1:Staged Event Driven Architecture (SEDA) 介绍 http://larryzhu.bokee.com/6779982.html     2:适于互联网的SEDA高并发架构 http://blog.chinaunix.net/uid-22939760-id-186334.html     3:SEDA: An Architecture for Highly Concurrent Server Applications http://www.eecs.harvard.edu/~mdw/proj/seda/     4:SEDA介绍与分析 ...

QoS技术介绍

看到一篇讲述QOS很好的文档记录下。       QoS技术介绍   http://www.h3c.com.cn/Products___Technology/Technology/QoS/Other_technology/Technology_recommend/200805/605881_30003_0.htm     下载链接   http://www.h3c.com.cn/download.do?id=1104091
经常在高并发下就遇到log4j用错引起的线程block住的问题,看经常遇到问题的代码段如下:   public void callAppenders(LoggingEvent event) { int writes = 0; for(Category c = this; c != null; c=c.parent) { // Protected against simultaneous call to addAppender, removeAppender,... synchronized(c) { if(c.aai != nu ...

linux ulimit

 
选项 [options] 含义 例子 -H 设置硬资源限制,一旦设置不能增加。 ulimit – Hs 64;限制硬资源,线程栈大小为 64K。 -S 设置软资源限制,设置后可以增加,但是不能超过硬资源设置。 ulimit – Sn 32;限制软资源,32 个文件描述符。 -a 显示当前所有的 limit 信息。 ulimit – a;显示当前所有的 limit 信息。 -c 最大的 core 文件的大小, 以 blocks 为单位。 ulimit – c unlimited; 对生成的 core 文件的大小不进行限制。 -d 进程最大 ...

Troubleshooting JDK

    博客分类:
  • JAVA
收集整理下JDK自带的关于 Troubleshooting 的文档     Java 2 Platform, Standard Edition 5.0 Troubleshooting and Diagnostic Guide   http://www.oracle.com/technetwork/java/jdk50-ts-guide-149808.pdf       Troubleshooting Guide for JavaSE 6 with HotSpot VM http://www.oracle.com/technetwork/java/javase/tsg-vm- ...

JavaOne 2011 Content Catalog

    博客分类:
  • JAVA
 
上一篇讲javaone 2012,这次找了下2011的资料。   javaone 2011的content catalog 都说在 https://oracleus.wingateweb.com/scheduler/eventcatalog/eventCatalogJavaOne.do   不过目前访问不到了,故找了其他资料。   javaone2011 的资料汇总在  http://www.parleys.com/#st=4&id=102979   javaone2011 基本内容目录见  http://marxsoftware.blogspot.com/2011/07 ...
转载自:http://marxsoftware.blogspot.com/2012/06/javaone-2012-content-catalog-available.html   顺便补充下javaone 2012 ppt下载地址 https://oracleus.activeevents.com/connect/search.ww?event=javaone   It appears that a version of the JavaOne 2012 Content Catalog is available from the JavaOne siteunder Tools | ...

Memory usage of Java

    博客分类:
  • JAVA
 
用JDK自带的api计算size,每次都会有个多余的12,看了这些文档终于知道了   1:Memory usage of Java Strings and string-related objects http://www.javamex.com/tutorials/memory/string_memory_usage.shtml     2:Memory usage of Java objects: general guide http://www.javamex.com/tutorials/memory/object_memory_usage.shtml     3 Ho ...

GC roots

    博客分类:
  • JAVA
1:GC roots http://www.yourkit.com/docs/11/help/gc_roots.jsp     2:Garbage collection roots http://publib.boulder.ibm.com/infocenter/hctool/v1r0/index.jsp?topic=%2Fcom.ibm.java.diagnostics.memory.analyzer.doc%2Fgcroots.html     特别注意点包括java local Java local A local variable. For example, inpu ...
1:Shallow and retained sizes http://www.yourkit.com/docs/11/help/sizes.jsp yourkit分析工具的文档,有图示说明。   2:Shallow and retained heap http://publib.boulder.ibm.com/infocenter/hctool/v1r0/index.jsp?topic=%2Fcom.ibm.java.diagnostics.memory.analyzer.doc%2Fshallowretainedheap.html IBM 文档中的解释,概念上多了个Retaine ...
突然看到一个JSR JSR 326: Post mortem JVM Diagnostics API http://jcp.org/en/jsr/detail?id=326 描述如下: A standard Java API designed to support the generation and consumption of post mortem or snapshot Java diagnostic artefacts.    很期待这样的api出来,同时看目前已有的解决方案     1) HPROF: http://java.sun.com/developer/te ...
1:Linux and H/W optimizations for MySQL http://www.slideshare.net/matsunobu/linux-and-hw-optimizations-for-mysql-7614520
有些文章看了,以后想再看已经忘了在哪里了。故在此一一记录下那些值得看的文章。     1:如何确定Java对象的大小 中文版本 :http://article.yeeyan.org/view/104091/62930?from_com 原版:http://www.jroller.com/maxim/entry/again_about_determining_size_of   该文章中谈及了3种方法来确定java对象的大小,最后一种方法使用到了JDK提供的新的api。 该方法与visualVM以及btrace中的sizeOf方法得到的值都一样。     2:常用 Java ...

CPU C-states

  1:ACPI http://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface     2:What is difference between deep and deeper sleep states? http://www.intel.com/support/processors/sb/CS-028739.htm     3:Everything You Need to Know About the CPU C-States Power Saving Modes http://www.h ...
1: disruptor High Performance Inter-Thread Messaging Library http://code.google.com/p/disruptor/     2:Dissecting the Disruptor: Why it's so fast (part one) - Locks Are Bad http://mechanitis.blogspot.com/2011/07/dissecting-disruptor-why-its-so-fast.html   3:Dissecting the Disruptor: Why i ...
Global site tag (gtag.js) - Google Analytics