I have some synchronous calls in my Scala code. I've wrapped them in a blocking() context and then in a Future: Future(blocking(syncCall())), but I don't know which type of ExecutionContext to use.
I know there may be a lot of possibilities and that there is not an ExecutionContext that it's the "best". I just need some information in order not to choose the worst because there is a lot of information out there and I have a mess in my head.
来源:https://stackoverflow.com/questions/38014748/best-executioncontext-for-io