distributed in-memory lru cache using akka cluster

100 views
Skip to first unread message

Ben Fonarov

unread,
Jul 18, 2016, 6:12:51 PM7/18/16
to Akka User List
Hi all, a question... I'm trying to implement a distributed in-memory lru cache using consistent hashing router and actor level lru logic. I want to dynamically scale out to new members in the cluster (adding a server) when i reach 80% of the memory capacity on a given server... is there a way to monitor memory from inside an actor? Thank you

Akka Team

unread,
Jul 22, 2016, 6:20:38 AM7/22/16
to Akka User List
Hi Ben,

I think you can use JMX for this. If you need more detailed information you might want to look into SIGAR: https://github.com/hyperic/sigar

-Endre

On Tue, Jul 19, 2016 at 12:11 AM, Ben Fonarov <ben.f...@gmail.com> wrote:
Hi all, a question... I'm trying to implement a distributed in-memory lru cache using consistent hashing router and actor level lru logic. I want to dynamically scale out to new members in the cluster (adding a server) when i reach 80% of the memory capacity on a given server... is there a way to monitor memory from inside an actor? Thank you

--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.



--
Akka Team
Lightbend - Reactive apps on the JVM
Twitter: @akkateam
Reply all
Reply to author
Forward
0 new messages