-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cleanup BatchingExecutor and execution contexts #26690
Comments
|
Thanks for input |
Might also want to add a comment to Akka's BatchingExecutor to NOT do any bugfixes directly there, but instead open up an Issue against scala. And just treat the code in Akka as a "shaded" class |
* deprecate internal sameThread ec and use a new one for all internal use sites * Use the respective Scala version standard library "same thread" ec * fallback to the old inline impl on 2.12 when reflection isn't possible
Using the execution context from the respective Scala version implemented. Doing something with the BatchingExecutor remains (if we can at all do anything about it) |
@johanandren was this fully completed or something remaining? |
No, only partially completed, see my comment above |
ok, thanks |
Perhaps we should be careful with backporting the BatchingExecutor given scala/bug#12089 |
Looking into this a little bit more the current batching impl we have has the same behavior as the 2.13.2 one, so it probably doesn't matter if we update to a faster one with the same behavior. |
@johanandren, @patriknw Can you please confirm if |
The impl of the BatchingExecutor is absolutely fine.
--
Cheers,
√
|
A few things that I think we can cleanup:
akka.dispatch.BatchingExecutor
? What is the difference between this and then one in Scala?ActorSystem.internalCallingThreadExecutionContext
vsakka.dispatch.ExecutionContexts.sameThreadExecutionContext
The text was updated successfully, but these errors were encountered: