[HN Gopher] How Akka Cluster Works: Actors Living in a Cluster
       ___________________________________________________________________
        
       How Akka Cluster Works: Actors Living in a Cluster
        
       Author : walkingolof
       Score  : 23 points
       Date   : 2021-01-16 20:17 UTC (2 hours ago)
        
 (HTM) web link (www.lightbend.com)
 (TXT) w3m dump (www.lightbend.com)
        
       | t-writescode wrote:
       | I've written a high-availability service with Akka.NET and
       | RabbitMQ and I remember when I was working with that
       | infrastructure, my biggest question around Akka Cluster was "why
       | would I use this when I already have a message queue
       | infrastructure?"
       | 
       | Maybe real Akka is better than Akka.NET when it comes to Akka
       | Cluster?
        
         | 29athrowaway wrote:
         | Queues overlap with the messaging aspects of actors but not the
         | supervision aspect of actors.
        
       | tunesmith wrote:
       | In scala-land, a lot of people like to scoff at Akka because they
       | prefer other pure fp concepts, but I don't think they've found a
       | replacement for Akka Cluster - where you need objects that have
       | both state and behavior, meaning they need to exist in memory,
       | and where there are too many to exist on one server.
       | 
       | If you don't need behavior, you can use things like distributed
       | databases or caches, and if you don't need to scale out, there
       | are other pure fp solutions. But for this kind of distributed
       | behavior, it still seems to me that Akka Cluster is the killer
       | app.
        
       | jpcooper wrote:
       | Carl Hewitt, the inventor of the actor model, wrote this paper:
       | https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3418003,
       | which he posted a link to on a recent post here on Erlang.
       | 
       | In it, he claims that Godel's Incompleteness Theorem is not true,
       | and that the actor model is more general than the Turing machine.
       | I am open to entertaining the idea.
       | 
       | I've seen that his ideas have been discredited elsewhere on HN. I
       | would be interested to know people's opinions on this, as a lot
       | of the paper went over my head.
        
       | d3ntb3ev1l wrote:
       | Wait, what, are you saying Akka Clusters "works"
        
       | 29athrowaway wrote:
       | I used Akka cluster many years ago.
       | 
       | One of the problems I encountered was that to finding actors in
       | remote actor systems. i.e.: you have a unique actor responsible
       | for X, living somewhere in your cluster and you need to know its
       | name as well as the IP address of the actor system where it is
       | running.
       | 
       | A message queue solves this problem, but that was not the
       | approach I took.
       | 
       | My solution was to implement an actor discovery system on top of
       | Zookeeper. Using that, I could have a cluster-wide unique actors.
        
       ___________________________________________________________________
       (page generated 2021-01-16 23:00 UTC)