ITeye博客

2016 年文章归档

共 3 篇文章

Quarz 常用范式

Quaz is a very common library for us to use to scheudle regular jobs. Just record the paradism to use the Quarz 1, SchedulerFactory to initialize a scheduler to use, there might be several kinds of schedulers to use base on the property configuration, for example the thread pool size, the thread po…

2016-06-14 14:26 · 企业架构

How to implement a system with high throughput , low latency

Do not use locks in the main transaction flow because they cause context switches, and therefore latency and unpredictable jitter. Never have more threads that need to run than you have cores available. Set affinity of threads to cores, or at least sockets, to avoid cache pollution by avoiding migr…

2016-06-08 15:53 · Java 并发编程

编译github 上的dubbo 2.5.3

从 github上下载好dubbo2.5.3 的源代码后, 可以没有办法编译。 从出错信息看 是找不到parent opensesame pom 文件。 这个pom 文件还是比较好解决的, 从 github.com/alibaba 上面能够找到这个parent pom 文件。 一般来讲开源的公司都会有一个公共的parent pom 文件从项目管理角度定义它的整个license, source code 的repository, binary 的repository, 以及所有项目都会用到的一些公共的定义。但是把这个pom 文件install 到我的local repository 后问题还是…

2016-05-21 13:29