Search Results for: Concurrency
-
Enterprise Java
Hibernate Locking Patterns – How does PESSIMISTIC_READ and PESSIMISTIC_WRITE work
Introduction Java Persistence API comes with a thorough concurrency control mechanism, supporting both implicit and explicit locking. The implicit locking…
Read More » -
Enterprise Java
How to: Refine Hive ZooKeeper Lock Manager Implementation
Hive has been using ZooKeeper as distributed lock manager to support concurrency in HiveServer2. The ZooKeeper-based lock manager works fine…
Read More » -
Enterprise Java
Hibernate locking patterns – How does PESSIMISTIC_FORCE_INCREMENT Lock Mode work
Introduction In my previous post, I introduced the OPTIMISTIC_FORCE_INCREMENT Lock Mode and we applied it for propagating a child entity…
Read More » -
Enterprise Java
Hibernate locking patterns – How does OPTIMISTIC_FORCE_INCREMENT Lock Mode work
Introduction In my previous post, I explained how OPTIMISTIC Lock Mode works and how it can help us synchronize external…
Read More » -
Java核心
Java 8特性指南 – 终极手册 (PDF下载)
编者按:距离Java 8的发布已经有段时间了,就目前看来它的确是一个非常重要的版本。我们之前已经在JavaCodeGeeks发布了一系列专题文章,如玩转Java 8-Lambda表达式和并发,Java 8日期/时间API入门:LocalDateTime 以及 JDK8时代的抽象类vs.接口。同时我们也从其它来源处引用了15个必读的Java 8教程。当然,我们也对它的一些短板进行了验证,如Java 8的暗面。为了读者们更好的阅读体验,现在是时候整合所有Java 8的主要特性于一处了。一起来享受它吧! 目录 1. 简介 2. Java语言的新特性 2.1. Lambda表达式和函数式接口 2.2. 接口的默认方法和静态方法 2.3. 方法引用…
Read More » -
Software Development
Fault Tolerance in Go
In distributed systems, failure is inevitable. Eventually, some service will become bogged down and consequently won’t respond quickly enough or,…
Read More » -
Enterprise Java
Top 10 Most Common Java Performance Problems
Java performance is an issue of interest for all Java application developers, since making an application fast is as important…
Read More » -
Enterprise Java
How to fix optimistic locking race conditions with pessimistic locking
Recap In my previous post, I explained the benefits of using explicit optimistic locking. As we then discovered, there’s a…
Read More » -
Enterprise Java
Do you really understand @WebService ?
SOAP web services are not cutting edge technology by any means – although it still has it’s place, REST based…
Read More »