Context: I want to write scalding job(hadoop) to crawl pages and I want to set timeout on url extraction(without timeout on URLConnection, I want generic solution for other timeout cases) i.e. map function.
I'm think about futures which are killed after some timout with all resources released since it is memory critical code. Not sure what to use in scala API.