In the previous post, I’ve briefly described part of a process of persisting state of our actor. I’ve told you about storing events and I’ve mentioned things called snapshots. This post is entirely about them.
Daj się poznać 2017 2742 dni, 12 minut temu 25 źrodło rozwiń
In one of my posts about Akka.NET I’ve covered actor selections and paths. Sadly I’ve skipped one rather important part regarding allowed characters for actor paths and what to do if our name cannot be used for creating an actor. And recently I’ve received a question about why I’m creating actors using encoded string. This is the cause.
Daj się poznać 2017 2753 dni, 3 godziny, 5 minut temu 30 źrodło rozwiń
One of the concepts of actor model that could be hard to grasp at the begining is fact that we will not operate on direct reference to actor instance. This can be a bit confusing before you’ll get used to it but by not using any direct references you’re sure to achieve very good level of encapsulation.
Daj się poznać 2017 2784 dni, 6 godzin, 20 minut temu 44 źrodło rozwiń
Let’s take a closer look at our actors, how their life looks like, what exactly they’ve been doing and what they can do. As they are basic building block of applications built on actor model it’s crucial to understand and being able to communicate with them.
Daj się poznać 2017 2795 dni, 16 godzin, 23 minuty temu 34 źrodło rozwiń
In previous post I’ve explained briefly what actor model is and why it’s so fun. Today we’ll create our ActorSystem instance, learn what it is and send first messages to them. I hope it will be nice and easy start.
Daj się poznać 2017 2799 dni, 21 godzin, 42 minuty temu 43 źrodło rozwiń
Actor model concept fascinated me since I’ve heard about it for the first time. It’s been on my todo list ever since and Get Noticed 2017 is great opportunity to give it a try. That’s why there is an actor responsible for almost anything in Me2.0. But, what is an actor, actor model and are benefits of using it in our projects? You’ll find out in a minute.
Daj się poznać 2017 2801 dni, 3 godziny, 35 minut temu 139 źrodło rozwiń
W poprzednim poście użyliśmy metody ActorSelection w celu uzyskania referencji do aktora: var actor1 = system.ActorSelection("/user/ApplicationUserControllerActor/Piotr") Dzisiaj chciałbym bardziej skupić się na definiowaniu ścieżki do aktora. Pełna ścieżka może zawierać następujące elementy: – protokół – nazwa systemu – adres ip aktora – seria nazw aktorów opisująca hierarchie np. ApplicationUserControllerActor/actor1/actor2 itp.
Programowanie rozproszone 3259 dni, 21 godzin, 47 minut temu 62 źrodło rozwiń