话题编程语言 › Java

编程语言:Java

浅谈 Java 中的 AutoCloseable 接口

本文对 try-with-resources 语法进行了较为深入的剖析,验证了其为一种语法糖,同时给出了其实际的实现方式的反编译结果。

A Bird’s-Eye View on Java Concurrency Frameworks

A few years ago, when NoSQL was trending, like every other team, our team was also enthusiastic about the new and exciting stuff; we were planning to change the database in one of the applications. But when we got into the finer details of the implementation, we remembered what a wise man once said, “the devil is in the details,” and eventually, we realized that NoSQL is not a silver bullet to fix all problems, and the answer to NoSQL VS RDMS was: “it depends.” Similarly, in the last year, concurrency libraries like RxJava and Spring Reactor were trending with enthusiastic statements, like the asynchronous, non-blocking approach is the way to go, etc. In order to not make the same mistake again, we tried to evaluate how concurrency frameworks like ExecutorService, RxJava, Disruptor, and Akka differ from one another and how to identify the right use case for respective frameworks.

Java ConcurrentHashMap 高并发安全实现原理解析

深挖ConcurrentHashMap高性能和线程安全的底层支撑,运用并发和线程安全的基本理论验证其为何这么设计,以及如何保证安全。

java 零宽字符

零宽字符

Java编程技巧:如何实现参数的输入输出?

分享几种实现方法。

全面详细的java线程池解密,看我就够了!

本文是对java线程池的源码分析,在分析过程中洞悉了作者的设计理念,同时结合实际例子辅助理解。相信大家看过此文后,能够更加游刃有余的使用java线程池。

从0-1开发Java性能剖析工具

内附编码实录

高性能 Java 应用层网关设计实践

前言上文我们简单阐述了一下接入层网关的实现原理不少人对 Java 网关的实现也比较感兴趣,所以这篇文章我们来

Google Best Practices for Java Libraries

Tools for detecting and avoiding linkage errors in GCP open source projects

Java 开发必备! I/O与Netty原理精讲

一文了解BIO/NIO/AIO。

How To: Building a Debouncer…in Java

A short while ago, we were building a distributed backend service where multiple instances of the service would be sending requests to each other to coordinate work splitting and availability. We were…

Java堆外缓存OHC在马蜂窝推荐引擎的应用

OHC作为本地缓存工具,是如何提高马蜂窝推荐引擎系统性能的

Java生鲜电商平台-高并发核心技术订单与库存实战

Java生鲜电商平台-高并发核心技术订单与库存实战 一、 问题 一件商品只有100个库存,现在有1000或者更多的用户来购买,每个用户计划同时购买1个到几个不等商品。 如何保证库存在高并发的场景下是安

十个问题弄清JVM&GC(一)

每个java开发同学不管是日常工作中还是面试里,都会遇到JDK、JVM和GC的问题。本文会从以下10个问题为

Java各类日志组件分析汇总

压箱底日志库使用场景及冲突处理法

入侵JVM? Java Agent原理浅析和实践

Debug工具究竟是通过什么技术手段来实现对JVM的监控和动态修改呢?本文会进行介绍和简单的原理分析,同时附带一些样例代码来进行分析。

首页 - Wiki
Copyright © 2011-2024 iteam. Current version is 2.124.0. UTC+08:00, 2024-05-02 19:10
浙ICP备14020137号-1 $访客地图$