Note that there are some explanatory texts on larger screens.

plurals
  1. POUpdate akka cluster entry points data
    primarykey
    data
    text
    <p>I am working on a system that utilizes an Akka cluster. The dilemma that I am facing is how to update data on entry points. I have the following structure:</p> <blockquote> <p>[Load Balancer] -> [Entry Point](spray powered) -> [Workers]</p> </blockquote> <p>On the entry point I need to keep a list of users that are allowed to access data, in other words I need to keep a list with, let's say emails. However this list has to be updated frequently when new users are authorized or removed.</p> <p>What would be the best approach to tackle this problem? I was thinking about just switching this container of e-mails/IDs to a mutable one, but then the question is whether the system will lock this data on event processing and how this affects performance.</p> <p>Any recommendations would be great!</p> <p>Update: - distribution of a new user will be done via a regular spray rest request. From the outside authorized for such system requests request will be made with security keys and a user ID to be added to the list - there are multiple nodes, each has spray rest entry point - speed doesn't matter as long as it is a couple seconds - order doesn't matter.</p> <p>The system will just a get a message on load balancer that it has to add one more ID to the list of users. Because of load balancer it will end up on one of the entry point spray nodes. It has to update it's own list of IDs and also broad cast to all other entry points in the app(basically all from the load balancer list) the required update.</p> <p>Hope this clarifies better.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload