简体   繁体   English

如何分析Akka Java应用程序邮箱

[英]How to profile Akka Java application mailboxes

How can I profile my Java-based Akka application? 如何配置基于Java的Akka应用程序? I looked at the answer for this question . 我看着这个问题的答案。

But I found it to be unsatisfactory. 但是我发现它并不令人满意。 The answer says that Typesafe Activator released something called the 'Typesafe Console', but the link in the answer was a deadlink: Link 答案说Typesafe Activator发布了一个叫做“ Typesafe Console”的东西,但是答案中的链接是一个死链接Link

and the other Link just redirects you back to This Location 而另一个链接只是将您重定向回此位置

We're running into performance issues with our Akka-Java-based application and we want to identify whether it's an issue in the way we've modeled our actor hierarchy. 我们在基于Akka-Java的应用程序中遇到了性能问题,我们想确定在对参与者层次进行建模的方式中是否存在问题。 For example, how can we profile the application in such a way that we can see how many messages are queued in any actor's mailbox at any given point in time? 例如,我们如何以某种方式对应用程序进行配置文件,以便可以在任何给定的时间点查看在任何参与者的邮箱中排队的消息数量?

Thanks! 谢谢!

The Typesafe Console is being stopped by Typesafe. Typesafe控制台正在由Typesafe停止。

You should have a look at the community project Kamon , it offers several Akka monitoring metrics. 您应该看看社区项目Kamon ,它提供了几个Akka监视指标。

  • Message processing times 消息处理时间
  • Time waiting in mailbox 在邮箱中等待的时间
  • Mailbox sizes 邮箱大小
  • Message flow tracing 消息流跟踪
  • Dispatchers health 调度员健康

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM