Hi Daniel, You might find this article interesting: http://chrisloy.net/2014/05/11/akka-cluster-ec2-autoscaling.html /Patrik
On Thu, Dec 18, 2014 at 3:49 PM, Martynas Mickevičius < [email protected]> wrote: > Hi Daniel, > > I wanted to elaborate that before joining a cluster you can send and > receive messages between nodes to determine what seed nodes or the order of > thereof would suit best. In such way you can determine the start time or > the uptime (reported by methods on ActorSystem > <http://doc.akka.io/api/akka/2.3.8/index.html#akka.actor.ActorSystem>) of > the other actor systems. > > On Mon, Dec 15, 2014 at 11:23 AM, Daniel Stoner <[email protected]> > wrote: >> >> I am trying to run an AKKA cluster on Amazon Elastic Beanstalk. A work in >> progress at the moment, but I have noticed that I am suffering cluster >> partitioning in various situations. >> >> My current set up is: >> Scaling group set to 4 static instances, with the potential to go up to >> 10 based on demand. >> >> On application startup, query the scaling group of elastic beanstalk and >> add all ACTIVE instances to the list of this servers seed nodes. (This list >> will include the server querying). >> >> The problem with this: >> The documentation states that the first server to respond in the seed >> nodes list will be the one used for current cluster state. This leads to >> cluster partitioning when the first server is actually itself. >> >> Simply removing yourself however (Except of course for the very first >> server starting up), we believe can lead to situations where Elastic >> Beanstalk will start 3 servers at the same time, and they can end up >> believing only each other are their seed nodes - and not contacting any of >> the older active cluster nodes. >> >> We have considered trying to choose the oldest, or some arbitrary metric >> that is consistent across servers - IE the lowest IP address, but would >> like to know what other people do with regards populating their seed node >> list in Amazon. >> >> Thanks kindly, >> Daniel Stoner >> >> -- >> Daniel Stoner | Senior Software Engineer UtopiaIT | Ocado Technology >> [email protected] | Ext 7969 | www.ocadotechnology.com >> >> >> Notice: This email is confidential and may contain copyright material of >> members of the Ocado Group. Opinions and views expressed in this message >> may not necessarily reflect the opinions and views of the members of the >> Ocado Group. >> >> >> >> If you are not the intended recipient, please notify us immediately and >> delete all copies of this message. Please note that it is your >> responsibility to scan this message for viruses. >> >> >> >> Fetch and Sizzle are trading names of Speciality Stores Limited, a member >> of the Ocado Group. >> >> >> >> References to the “Ocado Group” are to Ocado Group plc (registered in >> England and Wales with number 7098618) and its subsidiary undertakings (as >> that expression is defined in the Companies Act 2006) from time to time. >> The registered office of Ocado Group plc is Titan Court, 3 Bishops Square, >> Hatfield Business Park, Hatfield, Herts. AL10 9NE. >> >> -- >> >>>>>>>>>> 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 [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/akka-user. >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > Martynas Mickevičius > Typesafe <http://typesafe.com/> – Reactive > <http://www.reactivemanifesto.org/> Apps on the JVM > > -- > >>>>>>>>>> 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Patrik Nordwall Typesafe <http://typesafe.com/> - Reactive apps on the JVM Twitter: @patriknw -- >>>>>>>>>> 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
