You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "pjfanning (via GitHub)" <gi...@apache.org> on 2023/02/17 13:48:23 UTC

[GitHub] [incubator-pekko] pjfanning opened a new issue, #207: support adding custom dispatchers

pjfanning opened a new issue, #207:
URL: https://github.com/apache/incubator-pekko/issues/207

   Akka/Pekko may already have a mechanism for adding custom dispatcher implementations. I just haven't found anything obvious.
   
   With [Java Virtual Threads](https://blogs.oracle.com/javamagazine/post/java-loom-virtual-threads-platform-threads), it would be nice if an external party could create a custom dispatcher that uses throwaway virtual threads instead of pooling them.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org


[GitHub] [incubator-pekko] spangaer commented on issue #207: support adding custom dispatchers

Posted by "spangaer (via GitHub)" <gi...@apache.org>.
spangaer commented on issue #207:
URL: https://github.com/apache/incubator-pekko/issues/207#issuecomment-1434716832

   But isn't point that that Configurator can produce a custom dispatcher/executor?
   
   https://gist.github.com/yanns/f7da61c582ab1da3535d#file-gistfile1-scala-L41


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org


[GitHub] [incubator-pekko] pjfanning commented on issue #207: support adding custom dispatchers

Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on issue #207:
URL: https://github.com/apache/incubator-pekko/issues/207#issuecomment-1434714595

   something like:
   
   ```
   my-dispatcher {
     # Dispatcher is the name of the event-based dispatcher
     type = Dispatcher
     # What kind of ExecutionService to use
     executor = "com.acme.pekko.extensions.JavaVirtualThreadDispatcher"
     ..
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org


[GitHub] [incubator-pekko] spangaer commented on issue #207: support adding custom dispatchers

Posted by "spangaer (via GitHub)" <gi...@apache.org>.
spangaer commented on issue #207:
URL: https://github.com/apache/incubator-pekko/issues/207#issuecomment-1517701560

   The what from the what now?
   
   Anyhow, using the fork join pool is also about the interaction with the scala.concurrent.blocking code block of course.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org


[GitHub] [incubator-pekko] spangaer commented on issue #207: support adding custom dispatchers

Posted by "spangaer (via GitHub)" <gi...@apache.org>.
spangaer commented on issue #207:
URL: https://github.com/apache/incubator-pekko/issues/207#issuecomment-1434705348

   You mean something else then?
   
   ```
     akka.actor {
       default-dispatcher = {
         type = "....MyDispatcherConfigurator"
       }
     }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org


[GitHub] [incubator-pekko] pjfanning commented on issue #207: support adding custom dispatchers

Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on issue #207:
URL: https://github.com/apache/incubator-pekko/issues/207#issuecomment-1434719509

   thanks - that gist looks like a good example - maybe we should include something like that in the Pekko docs


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org


[GitHub] [incubator-pekko] He-Pin commented on issue #207: support adding custom dispatchers

Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin commented on issue #207:
URL: https://github.com/apache/incubator-pekko/issues/207#issuecomment-1434994886

   it's currently using the fork join pool, maybe we can change that as CE to include ab WSTP。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org