![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
日记
文章平均质量分 67
lixjluck
这个作者很懒,什么都没留下…
展开
-
TCP的几个常用参数
SO_LINGERSpecify a linger-on-close timeout. This option disables/enables immediate return from a close()of a TCP Socket. Enabling this option with a non-z...2011-08-26 17:48:24 · 249 阅读 · 0 评论 -
20110728
参加了2个会整理了《应用无状态》的4件事情内容分发系统日志syslogmount去除应用服务器升级听了一个分布式cache实现,里面考虑了很多点通讯,大家都是基于mina或netty的nio,为了实现更高的性能通讯协议(这里也叫它序列化协议),考虑很多:hessian\json\pb\thift\java default数据一致性一致性ha...原创 2011-07-28 20:20:56 · 64 阅读 · 0 评论 -
20110729
java7 的特性http://www.oracle.com/technetwork/java/javase/jdk7-relnotes-418459.html java7已经GA了 WTP3.3的dynamic web project的属性,和之前的版本不一样,而且还需要手工设置一下,默认的不生效。...原创 2011-07-29 13:26:49 · 63 阅读 · 0 评论 -
20110731
java7 AIO问题,是基于java concurrent Future+nio完成?如AsynchronousSocketChannel,AsynchronousServerSocketChannel, AsynchronousFileChannel java7 自动资源关闭,实现AutoCloseable Grizlly http://grizzly.java.ne...原创 2011-07-31 21:26:24 · 62 阅读 · 0 评论 -
20110801
java se 7 AIO的实现 windows基于IOCP(input/output Completion Port,I/O完成端口) 它是应用程序使用线程池处理异步I/O请求的一种机制. linux基于epoll (EpollPort) 编程模型AIO模型相对于之前的编程模型,更加简便,且把线程池隐藏在内部实现中。 服务器端 channelGroup...2011-08-01 21:24:46 · 130 阅读 · 0 评论 -
20110802
Java & JVM 相关 买了一本书 ,深入理解java虚拟机JMM jsr-133-faq jdk7 source code: http://download.java.net/openjdk/jdk7/ 分布式锁相关 拜占庭失效问题Paxos算法, 分布式系统中消息传输一致性算法两个具体实现google chubby...2011-08-02 17:38:48 · 78 阅读 · 0 评论 -
20110806
IO 写道Disk latency is around 13ms, but it depends on the quality and rotational speed of the hard drive. RAM latency is around 83 nanoseconds. 性能指标IOPS (input/output operations per...2011-08-06 21:46:28 · 78 阅读 · 0 评论 -
20110809
The maximum heap size of a Java application is limited by three factors1、the process data model (32-bit or 64-bit) and the associated operating system limitations(what?)2、the amount of virtual ...原创 2011-08-09 19:15:00 · 78 阅读 · 0 评论 -
20110810
文武之道,一张一弛 java se6 性能改进 偏向锁锁粗化自适应旋转 Detecting Contention• IDEs, Profilers or 3rd party tools• Mpstat on Solaris – vctx rate• If suspected, sample process with pstack> Loo...原创 2011-08-10 22:14:16 · 161 阅读 · 0 评论