Session Details

Everything to know about writing async, high-concurrency HTTP apps in Java  

Level :
Date :
11:15 AM Saturday
Room :
Interested : (99) - Registered : (-)
Tag(s) :


With tens of millions of clients continuously downloading binaries from our repositories, we decided to offer an OSS client that natively supports these downloads. In this talk, we will share the main challenges in developing a highly-concurrent, resumable, async download library on top of Apache HTTP client. We will cover other libraries we tested and why we decided to reinvent the wheel. We will see important pitfalls we came across when working with HTTP and how using the right combination of techniques can improve performance by an order of magnitude. We will also see why your initial assumptions may completely change when faced with other players on the network. Consider yourself forewarned: lots of HTTP internals, NIO and concurrency ahead!

The Speaker(s)


Baruch Sadogursky

JavaOne Rockstar Baruch Sadogursky (a.k.a JBaruch) is the Developer Advocate of JFrog, the home of Artifactory - the Universal Artifact Repository, and Bintray - the Universal Distribution Hub. For a living he hangs out with the JFrog tech leaders, writes some code around Artifactory and Bintray, and then speaks and blogs about all that. He does it repeatedly for the last dozen of years and enjoys every moment of it. Baruch is @jbaruch on twitter and mostly blogs on and His speaker history on Lanyrd:
  • Not Interested
  • Interested