摘要:
IntroductionApache Kafkais a distributed publish-subscribe messaging system. It was originally developed at LinkedIn Corporation and later on became a... 阅读全文
摘要:
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... 阅读全文
摘要:
关于keepalived的详细介绍,请移步本人相关博客:http://wangfeng7399.blog.51cto.com/3518031/1405785功能ip地址安装软件主redis10.13.6.13redis,keepalived从redis10.13.6.16redis,keepaliv... 阅读全文
摘要:
// 获取真实IP的方法() public String getIpAddr() { String ip = request.getHeader("x-forwarded-for"); if (ip == null || ip.length() == 0 || "unknown".equals... 阅读全文
摘要:
一、简介 Exchanger是自jdk1.5起开始提供的工具套件,一般用于两个工作线程之间交换数据。在本文中我将采取由浅入深的方式来介绍分析这个工具类。首先我们来看看官方的api文档中的叙述:A synchronization point at which threads can pair and ... 阅读全文