dotnetomaniak.pl - Artykuły z tagiem actor model

A while ago I wrote about creating Actor System and top-level actors. Sadly it was stored in a static field. And keyword static is … let’s say it’s not one of my favourites. Today I’ll show you how I’m doing the exact same thing but in Dependency Injection container.

Źródło: hryniewski.net
Dziel się z innymi:
Akka.NET #7: Creating and accessing Actor System with Dependency Injection Container – Hryniewski.NET

Sztuka programowania 2637 dni, 10 godzin, 47 minut temu Rafał Hryniewski 84 źrodło rozwiń

So, currently I’m working on a brand-new project involving variety of services being run on Service Fabric cluster in Azure. I’ve never had anything to do with Service Fabric (except for one, short hackathon) before, nor have any of my team mates. For the last couple of weeks, we’ve been struggling to make good architectural choices for the platform we’re still learning about. For the last few days we were working on a service that on certain triggers will populate Redis cache with certain sets of valu...

Dziel się z innymi:
Service Fabric services done right — CodeSenpai

Cloud 2708 dni, 8 godzin, 55 minut temu codesenpai 64 źrodło rozwiń

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.

Źródło: hryniewski.net
Dziel się z innymi:
Akka.NET #6: Persisting actors state – snapshots – Hryniewski.NET

Daj się poznać 2017 2781 dni, 5 godzin, 58 minut temu Rafał Hryniewski 25 źrodło rozwiń

As I’ve mentioned in previous posts about Akka.NET, everything that actor knows is stored in memory. While we can skip any database or IO related bottlenecks because things in memory are generally speaking very fast, we must remember that memory is not a place where you can store your data for an extended period of time and keep it. So let’s talk about persisting it.

Źródło: hryniewski.net
Dziel się z innymi:
Akka.NET #5: Persisting actors state – events – Hryniewski.NET

Daj się poznać 2017 2785 dni, 20 godzin, 31 minut temu Rafał Hryniewski 46 ź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.

Źródło: hryniewski.net
Dziel się z innymi:
Akka.NET #3.5: Actor paths requirements and how to meet them – Hryniewski.NET

Daj się poznać 2017 2792 dni, 8 godzin, 51 minut temu Rafał Hryniewski 30 źrodło rozwiń

As you’ve probably seen in previous posts about Akka.NET, actor model is no rocket science and is really easy and fun to start with. However entire actor model may seem like closed and hermetic ecosystem, today I’ll show you how to poke actors in way that’ll make them poke back.

Źródło: hryniewski.net
Dziel się z innymi:
Akka.NET #4: Connecting Actor Model with endpoints – Hryniewski.NET

Daj się poznać 2017 2813 dni, 9 godzin, 13 minut temu Rafał Hryniewski 24 ź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.

Źródło: hryniewski.net
Dziel się z innymi:
Akka.NET #3: Actor selections, paths and references – where should you send your messages – Hryniewski.NET

Daj się poznać 2017 2823 dni, 12 godzin, 5 minut temu Rafał Hryniewski 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.

Źródło: hryniewski.net
Dziel się z innymi:
Akka.NET #2: A day in the life of an Actor – Hryniewski.NET

Daj się poznać 2017 2834 dni, 22 godziny, 9 minut temu Rafał Hryniewski 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.

Źródło: hryniewski.net
Dziel się z innymi:
Akka.NET #1 – Creating Actor System and making first contact – Hryniewski.NET

Daj się poznać 2017 2839 dni, 3 godziny, 27 minut temu Rafał Hryniewski 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.

Źródło: hryniewski.net
Dziel się z innymi:
Akka.NET #0 – Actor Model Basics – Hryniewski.NET

Daj się poznać 2017 2840 dni, 9 godzin, 20 minut temu Rafał Hryniewski 139 źrodło rozwiń

Na zewnątrz gorąco, a tu kolejna porcja ciekawych programistycznych treści pcha się wprost w dev-uszy! W 34. odcinku eksplorujemy temat aktorów. Oskary rozdane, więc się spóźniliśmy, ale oczywiście przecież i tak o innych aktorów chodzi, prawda? Chodzi o Actor Model. Aktorów komentuje dla nas Bartosz Sypytkowski. Doskonale wie, o czym mówi, ponieważ jest jednym z corowych contrybutorów frameworka AKKA.NET (jak to ładnie po polsku brzmi 😉 ). Prowadzi też bloga (http://bartoszsypytkowski.com) i czasami w...

Źródło: devstyle.pl
Dziel się z innymi:
O Actor Model z Bartoszem Sypytkowskim

Sztuka programowania 3153 dni, 9 godzin, 18 minut temu rroszczyk 48 źrodło rozwiń

Najaktywniejsi w tym miesiącu