摘要:
Druid是什么?Druid首先是一个数据库连接池。Druid是目前最好的数据库连接池,在功能、性能、扩展性方面,都超过其他数据库连接池,包括DBCP、C3P0、BoneCP、Proxool、JBoss DataSource。Druid已经在阿里巴巴部署了超过600个应用,经过一年多生产环境大规模部...
阅读全文
posted @ 2014-12-25 17:12
一天不进步,就是退步
阅读(10057)
推荐(0)
摘要:
原文地址:http://www.aboutyun.com/thread-9938-1-1.html问题导读1.Kafka提供了Producer类作为java producer的api,此类有几种发送方式?2.总结调用producer.send方法包含哪些流程?3.Producer难以理解的在什么地方...
阅读全文
posted @ 2014-12-24 11:16
一天不进步,就是退步
阅读(18345)
推荐(3)
摘要:
IntroductionApache Kafkais a distributed publish-subscribe messaging system. It was originally developed at LinkedIn Corporation and later on became a...
阅读全文
posted @ 2014-12-23 18:49
一天不进步,就是退步
阅读(712)
推荐(0)
摘要:
ByPeter Lawreyhttps://www.voxxed.com/blog/2014/12/how-and-why-unsafe-is-used-in-java/Overviewsun.misc.Unsafe has been in Java from at least as far bac...
阅读全文
posted @ 2014-12-23 18:37
一天不进步,就是退步
阅读(318)
推荐(0)
摘要:
关于keepalived的详细介绍,请移步本人相关博客:http://wangfeng7399.blog.51cto.com/3518031/1405785功能ip地址安装软件主redis10.13.6.13redis,keepalived从redis10.13.6.16redis,keepaliv...
阅读全文
posted @ 2014-12-23 16:20
一天不进步,就是退步
阅读(426)
推荐(1)
摘要:
// 获取真实IP的方法() public String getIpAddr() { String ip = request.getHeader("x-forwarded-for"); if (ip == null || ip.length() == 0 || "unknown".equals...
阅读全文
posted @ 2014-12-23 15:41
一天不进步,就是退步
阅读(2281)
推荐(0)
摘要:
一、简介 Exchanger是自jdk1.5起开始提供的工具套件,一般用于两个工作线程之间交换数据。在本文中我将采取由浅入深的方式来介绍分析这个工具类。首先我们来看看官方的api文档中的叙述:A synchronization point at which threads can pair and ...
阅读全文
posted @ 2014-12-23 09:51
一天不进步,就是退步
阅读(11921)
推荐(0)
摘要:
[This article was originally written by Yves Trudeau.]http://java.dzone.com/articles/exploring-message-brokersMessage brokersare not regularly covered...
阅读全文
posted @ 2014-12-22 13:55
一天不进步,就是退步
阅读(1073)
推荐(0)
摘要:
You wanna look at a JVM class while you are coding and you cannot. Here is the solution.First of all,downloadyour related JDK source code files unless...
阅读全文
posted @ 2014-12-22 09:47
一天不进步,就是退步
阅读(331)
推荐(0)
摘要:
原文地址:http://blog.sina.com.cn/s/blog_7cc0c8cc0101mb4a.html1.下载并安装erlang,http://www.erlang.org/download.html,最新版是R15B01(5.9.1)。由于我机器是64位的Win7,所以找到otp_wi...
阅读全文
posted @ 2014-12-19 14:45
一天不进步,就是退步
阅读(402)
推荐(0)