04 2019 档案
摘要:面向的对象的设计里,我们一般推荐模块之间基于接口编程,模块之间不对实现类进行硬编码。一旦代码里涉及具体的实现类,就违反了可拔插的原则,如果需要替换一种实现,就需要修改代码。为了实现在模块装配的时候不用在程序里动态指明,这就需要一种服务发现机制。java spi就是提供这样的一个机制:为某个接口寻找服
阅读全文
摘要:热点Key问题的发现与解决 https://help.aliyun.com/document_detail/67252.html 缓存击穿、失效以及热点key问题 https://www.jianshu.com/p/d5a3668d4dad 2017双11技术揭秘—分布式缓存服务Tair的热点数据散
阅读全文
摘要:BigDecimal 1. BigDecimal加减乘除后,最终结果为返回值,原来的BigDecimal对象不变。 2. BigDecimal比较用 compareTo方法
阅读全文
摘要:In contrast, the lifecycle of a bean in a Spring container is more elaborate. It’simportant to understand the lifecycle of a Spring bean, because you
阅读全文
摘要:https://github.com/crossoverJie/Java-Interview Java-Interview https://github.com/aalansehaiyang/technology-talk?hmsr=toutiao.io&utm_medium=toutiao.io&
阅读全文
摘要:参考文献 Class Loaders in Java https://www.baeldung.com/java-classloaders 类加载原理分析&动态加载Jar/Dex https://www.jianshu.com/p/0b1dba1a1e95
阅读全文
摘要:参考文献 Introduction to Java 8 Streams https://www.baeldung.com/java-8-streams-introduction A Guide to Streams in Java 8: In-Depth Tutorial with Examples
阅读全文
摘要:五种IO模型介绍和对比 https://juejin.im/post/5bd32b84f265da0ac962e7c9 Linux 的 IO 通信 以及 Reactor 线程模型浅析 https://juejin.im/entry/5abc896c6fb9a028c675c837
阅读全文