CoboCards App FAQ & Wünsche Feedback
Sprache: Deutsch Sprache
Kostenlos registrieren  Login

Zu dieser Karteikarte gibt es einen kompletten Satz an Karteikarten. Kostenlos!

Alle Oberthemen / PTT / PTT / PTT
22
Akka
● Benutzt das "Actor Modell" um unabhängige Aktivitäten zu definieren.
● Die Kommunikation zwischen den "Actors" ist mit "messanges" definiert.
● Unterstützt synchrone Kommunikation auf einem lokalen Level.
● Unterstützt "Point-To-Point Messaging" durch sogenannte "Mailboxes".
● Unterstützt "Public-Subscribe Messanging" durch "Routing".

Actor Model
●  Excessively uses `divide and conquer'
● An actor can be envisioned as a human worker.
● Communication based on messages.
● Messages can be placed in an actor's mailbox.
● A hierarchy of supervision has to be set up.
● If an actor does not know how to handle a certain situation, it might send a message to a supervising actor.

Actor Model Guidelines
● A manager supervises its workers that are assigned to a subtask by it.
● If an actor has `critical' data, it should assign subtasks to children to enable appropriate recovery from a failure.
● One actor may simply watch out for another's liveness, if it depends on its work.

Akka – beyond local communication
● Akka Cluster, a fault-tolerant decentralized peer-to-peer based cluster membership service.
● Based on gossip protocols (randomly communicating the cluster's state).
● Cluster membership used in Akka is based on Amazon's Dynamo system.
● One node is defined by a (hostname:port:uid) tuple and is part of a cluster, where a single node acts as a `team-leader'.
Neuer Kommentar
Karteninfo:
Autor: CoboCards-User
Oberthema: PTT
Thema: PTT
Schule / Uni: Uni Koblenz
Ort: Koblenz
Veröffentlicht: 08.07.2016

Abbrechen
E-Mail

Passwort

Login    

Passwort vergessen?
Deutsch  English