- 博客(46)
- 收藏
- 关注
转载 JTAXAReliabilityWithoutThePerformanceOverhead
https://www.atomikos.com/Blog/JTAXAReliabilityWithoutThePerformanceOverhead
2018-03-06 17:51:13 134
转载 what-does-scalable-database-mean
http://jamesgolick.com/2010/3/30/what-does-scalable-database-mean.html
2018-01-12 19:35:58 249
转载 cms收集器
https://blogs.oracle.com/poonam/understanding-cms-gc-logshttps://blogs.oracle.com/jonthecollector/our-collectorshttps://blogs.oracle.com/jonthecollector/when-the-sum-of-the-parts
2017-12-12 00:49:55 240
转载 tcp backlog
http://veithen.github.io/2014/01/01/how-tcp-backlog-works-in-linux.html
2017-12-11 11:00:26 275
转载 jvm tuning
https://www.slideshare.net/aszegedi/everything-i-ever-learned-about-jvm-performance-tuning-twitter/11-Areas_of_memory_performance_tuning
2017-12-09 22:31:48 155
转载 可靠消息
https://www.atomikos.com/Blog/ReliableJMSWithTransactions?sortcol=3;table=1;up=0#sorted_table
2017-11-29 22:57:21 190
转载 classloader memory leak
http://java.jiderhamn.se/2011/12/11/classloader-leaks-i-how-to-find-classloader-leaks-with-eclipse-memory-analyser-mat/
2017-11-25 16:54:18 256
原创 jmm知识点
原子性: 对象类型: 对象地址读写,原子操作 并发读不可变状态,线程安全 并发读写可变状态,非线程线程 基本类型: int,char数值读写,原子操作 long,double高低位,非原子操作 i++等组合操作,非原子操作可见性: final 初始化final字段确保可见性 volatile 读写volatile字段确保可见性 synchronized 同步块内读写字段确
2017-11-01 16:19:45 252
转载 GC Algorithms: Implementations
https://plumbr.io/handbook/garbage-collection-algorithms-implementations
2017-10-28 15:47:00 232
转载 distributed-transactions-microservices-icebergs
http://www.grahamlea.com/2016/08/distributed-transactions-microservices-icebergs/
2017-10-13 17:41:20 191
转载 Distributed Transaction Patterns
Distributed Transaction PatternsThis tech tip explores some patterns for distributed transactions. Suppose you have two processes (A and B) on two different machines. How can you ensure reliability of
2017-10-13 17:18:03 248
转载 Challenges of Sharding MySQL
MySQL databases are sharded for the best of reasons. At some point the MySQL workload needs to scale, and scaling RDBMSs is hard (Clustrix’s unofficial motto!). Adding read scale to RDBMSs is straightf
2017-10-13 10:41:53 309
转载 designing a non-blocking server
http://tutorials.jenkov.com/java-nio/non-blocking-server.html
2017-09-28 17:21:19 185
转载 获取泛型类型
https://www.javacodegeeks.com/2013/12/advanced-java-generics-retreiving-generic-type-arguments.html
2017-09-27 11:15:41 175
原创 spring aop简单记录
以spring aop的jdk实现为例,配置文件如下:<bean id=”targetProxy” class=”org.springframework.aop.framework.ProxyFactoryBean”> <property name=”target”> //代理的对象
2017-09-19 10:26:56 325
原创 spring循环引用
// Eagerly cache singletons to be able to resolve circular references // even when triggered by lifecycle interfaces like BeanFactoryAware. boolean earlySingletonExposure = (mbd.isSi...
2017-09-18 09:51:19 457
转载 HTTP 缓存
https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching?hl=zh-cn 通过网络获取内容既速度缓慢又开销巨大。较大的响应需要在客户端与服务器之间进行多次往返通信,这会延迟浏览器获得和处理内容的时间,还会增加访问者的流量费用。因此,缓存并重复利用之前获取
2017-09-07 11:24:42 186
原创 缓存
http://www.cnblogs.com/dotey/archive/2013/03/08/2949153.htmlhttp://data.qq.com/article?id=28791、数据库用单表查询,利于拆分和缓存2、缓存失效策略 delete,防止击穿 update,丢失更新3、扩容方案
2017-09-06 18:31:02 131
原创 HOW TO CACHE RESULTS TO BOOST PERFORMANCE
http://www.javacreed.com/how-to-cache-results-to-boost-performance/最简单的想法 IF value in cached THEN return value from cache ELSE compute value save value in cache
2017-09-05 16:40:30 198
原创 understanding-jvm-internals
http://www.cubrid.org/blog/understanding-jvm-internals
2017-09-02 10:07:06 316
原创 ConcurrentHashMap
https://www.burnison.ca/articles/the-concurrency-of-concurrenthashmaphttps://www.ibm.com/developerworks/library/j-jtp08223/index.htmlhttp://wiki.jikexueyuan.com/project/java-collection/concurrenthashma
2017-09-01 18:53:44 131
原创 hsdis插件查看汇编码
1、引入hsdis的dll文件 到 C:\Program Files\Java\jdk1.8.0_131\jre\bin\server\hsdis-amd64.dll2、配置jvm参数 -server -Xcomp -XX:+UnlockDiagnosticVMOptions -XX:CompileCommand=dontinline,*Hello.getA -XX:Co
2017-08-30 12:04:22 1341
翻译 String intern
http://www.kscodes.com/java/string-pool-in-java-string-initialization/String Pool in Java and String Initialization How to Create a StringAs we know that String in java can be created using 2 types.
2017-08-28 16:58:55 200
原创 linux查看进程线程数量命令:
linux查看进程线程数量命令:1、root@iZj6c7f7xayisgqsw2hpx8Z:~# pstree -p 1388 | wc -l 498 root@iZj6c7f7xayisgqsw2hpx8Z:~# 2、 root@iZj6c7f7xayisgqsw2hpx8Z:~# cat /proc/1388/status Name: java State: S (sleepi
2017-08-19 15:25:33 13774 1
转载 iostat命令
from http://linuxtools-rst.readthedocs.io/zh_CN/latest/tool/iostat.html#iostat 11. iostat 监视I/O子系统 iostat是I/O statistics(输入/输出统计)的缩写,用来动态监视系统的磁盘操作活动。11.1. 命令格式 iostat[参数][时间][次数]11.2. 命令功能 通过iostat
2017-08-16 17:25:30 170
转载 free命令
from http://linuxtools-rst.readthedocs.io/zh_CN/latest/tool/free.html#free 9. free 查询可用内存 free工具用来查看系统可用内存:/opt/app/tdev1$free total used free shared buffers cach
2017-08-16 17:24:10 284
转载 linux命令
from http://linuxtools-rst.readthedocs.io/zh_CN/latest/advance/03_optimization.html性能优化 分析系统瓶颈 分析内存瓶颈 分析IO瓶颈 分析进程调用 优化程序代码 gprof使用步骤 其它工具 性能优化的核心是找出系统的瓶颈点,问题找到了,优化的工作也就完成了大半; 这里介绍的性能优化主要从两个层面来介
2017-08-16 17:23:06 166
转载 RDS MySQL InnoDB 锁等待和锁等待超时的处理
摘自阿里 rdsRDS MySQL InnoDB 锁等待和锁等待超时的处理 更新时间:2017-08-10 13:51:23 分享: 1. Innodb 引擎表行锁等待和等待超时发生的场景2.Innodb 引擎行锁等待情况的处理2.1 Innodb 行锁等待超时参数 innodb_lock_wait_timeout2.2 大量行锁等待和行锁等待超时的处理Innodb 引擎表行锁等待和等待超
2017-08-14 19:10:50 511
原创 metadata lock
To ensure transaction serializability, the server must not permit one session to perform a data definition language (DDL) statement on a table that is used in an uncompleted explicitly or implicitly st
2017-08-14 16:42:33 278
原创 spring ioc过程 记录
1、不同标签不同的parse类处理2、处理annotation的类 ComponentScanBeanDefinitionParser parse================================================== 3、initializeBean()3.1 aware接口 3.2 前置处理器 3.3 init方法
2017-07-22 18:08:00 224
转载 Fixing the Java Memory Model, Part 2
Java theory and practiceFixing the Java Memory Model, Part 2How will the JMM change under JSR 133?Brian GoetzPublished on March 30, 2004FacebookTwitterLinked InGo
2017-07-20 10:50:12 369
转载 Fixing the Java Memory Model, Part 1
Java theory and practiceFixing the Java Memory Model, Part 1What is the Java Memory Model, and how was it broken in the first place?Brian GoetzPublished on February 24, 2004
2017-07-20 10:48:54 482
原创 多线程原子性、可见性、可排序
原子性:对象类型:对象地址原子读写,线程安全并发读不可变状态,线程安全并发读写可变状态,非线程线程基本类型:int,char数值读写,线程安全long,double高低位,非线程安全(32位系统)i++等组合操作,非线程安全可见性:final初始化final字段确保可见性volatile读写volatile字段确保可见性synch
2017-07-18 17:40:43 393
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人