Hello, everyone! I am relatively new to the Akka world, and I am leading a project based on the Akka Cluster toolbox for an undergrad course, that will be presented to professors a few weeks from now.
We are using 64 actors that send String messages every 10 milliseconds to another actor chosen randomly. The receiver actor records the received message in a database. But, for some reason we cannot find, over 50% of the messages are being lost. We noticed that if we increase the period between the sent of the messages (e.g. from every 10ms to every 100ms) or if we decrease the number of actors (e.g. from 64 actors to 16 actors), the loss decreases exponentially. It looks like the loss is related to the load of messages, but not to the network (we tested the same configurations for a single-noded cluster, and we still had the same loss rates) Any ideas on how could we solve, or at least understand, the loss of these messages? Below, I present two charts for the messages being lost on a 6-Node-Cluster and the messages lost on a Single-Node-Cluster. The proportions are the same (more than 50% of loss). (- Y axis: the period (ms) between two sent messages. Smaller periods mean higher frequency of messages sent. - X axis: number of actors, from 4 to 64 - Z axis: proportion of messages lost, from 0 to 1, where 1 means all messages being lost) Thank you very much in advance! <https://lh3.googleusercontent.com/-GelXJSXwzAY/Vh_Dclv0U3I/AAAAAAAAATM/qeSpefLRHi0/s1600/delta6.png> <https://lh3.googleusercontent.com/-G4LoxjAnfVY/Vh_DVrmVFyI/AAAAAAAAATE/a5vZGC822vg/s1600/delta1.png> -- >>>>>>>>>> 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.
