-
Enterprise Java

Retry-After HTTP header in practice
Retry-After is a lesser known HTTP response header. Let me quote relevant part of RFC 2616 (HTTP 1.1 spec): 14.37…
Read More » -
Desktop Java

Storing months of historical metrics from Hystrix in Graphite
One of the killer-features of Hystrix is a low-latency, data-intensive and beautiful dashboard: …
Read More » -
Core Java

Asynchronous timeouts with CompletableFuture
One day I was rewriting poorly implemented multi-threaded code that was blocking at some point on Future.get(): …
Read More » -
Enterprise Java

Accessing Meetup’s streaming API with RxNetty
This article will touch upon multiple subjects: reactive programming, HTTP, parsing JSON and integrating with social API. All in one…
Read More » -
Enterprise Java

Hazelcast member discovery using Curator and ZooKeeper
At one project I was setting up Hazelcast cluster in a private cloud. Within cluster all nodes must see each…
Read More » -
Core Java

Converting between Completablefuture and Observable
CompletableFuture<T> from Java 8 is an advanced abstraction over a promise that value of type T will be available in…
Read More » -
Core Java

ExecutorService – 10 tips and tricks
ExecutorService abstraction has been around since Java 5. We are talking about 2004 here. Just a quick reminder: both Java…
Read More » -
Enterprise Java

Batching (collapsing) requests in Hystrix
Hystrix has an advanced feature of collapsing (or batching) requests. If two or more commands run similar request at the…
Read More » -
Scala

Property-based testing with ScalaCheck – custom generators
One of the core data structures provided by Hazelcast is IMap<K, V> extending java.util.concurrent.ConcurrentMap – which is basically a distributed…
Read More »



