@eugenemiretsky wrote:
Akka Http uses FastFuture internally to avoid context switching
A common pattern is to make calls likeUnmarshal(decodedResponse.entity).to[Res] .map(..do domething) .recover(..do domething)
The map is usually very simple (transforming one case class to another, logging, etc.). Does it make sense to use fast future in these type of calls (again, assuming we are very confident the transformations are non-blocking )
Unmarshal(decodedResponse.entity).to[Res].fast .map(..do domething) .recover(..do domething)
Posts: 1
Participants: 1