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 2026/06/17 14:00:23 UTC
[I] use jctools instead of agrona? [pekko]
pjfanning opened a new issue, #3080:
URL: https://github.com/apache/pekko/issues/3080
Aeron uses Agrona so we won't lose the dependency altogether but Aeron is an optional dependency of pekko-remote and only needed if you Aeron UDP comms.
We have a small amount of code in pekko-remote that uses Agrona directly
The main issue with Agrona is that it uses the Unsafe class in Java and all the warnings and need for command line settings like:
```--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED```
Since it is not uncommon to have to add similar command line settings, maybe this is not a big deal.
In our unit tests, we set this for Virtual Thread usage.
```--add-opens=java.base/java.lang=ALL-UNNAMED```
One possible replacement in our code is JCTools MpmcAtomicArrayQueue to replace Agrona ManyToManyConcurrentArrayQueue.
--
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
Re: [I] use jctools instead of agrona? [pekko]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning closed issue #3080: use jctools instead of agrona?
URL: https://github.com/apache/pekko/issues/3080
--
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
Re: [I] use jctools instead of agrona? [pekko]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on issue #3080:
URL: https://github.com/apache/pekko/issues/3080#issuecomment-4732031632
We actually use a reasonable number of agrona classes in pekko-remote - I don't think is worth the time and effort - and disruption.
https://github.com/search?q=repo%3Aapache%2Fpekko%20%22import%20org.agrona%22&type=code
--
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