Know Thy Threadpool: A Worked Example with Dropwizard

from blog nickb.dev, | ↗ original
Dealing with concurrent and parallel code is hard, so I’ll be using concrete examples with Dropwizard that demostrate an asynchronous server and client implementations. For our tests, we’ll have 100 requests sent to a server that waits for a second before returning hello world. All java metrics were recorded using Java VisualVM From the Jersey...