Akka.NET is quite opinionated in terms of persistence. Paraphrasing Henry Ford’s famous quote: You can persist your data any way you want in Akka.NET, so long as you use event sourcing. But what if you don’t want to? Perhaps the problem you are trying to solve doesn’t overlap with this particular mental model, and yet you think you can still gain a lot by leveraging Akka. Then you have to bake your own solution. In this blog post, I would like to show you one way of integrating Akka.NET with an ORM. To k...
Programowanie rozproszone 2229 dni, 1 godzinę, 16 minut temu 131 źrodło rozwiń
Architektura 2254 dni, 1 godzinę, 48 minut temu 57 źrodło rozwiń
Integrating Akka.NET and ASP.NET Core can be quite tricky. In this blog post, I would like to demonstrate how to make these two technologies work together smoothly.
Architektura 2260 dni, 1 godzinę, 47 minut temu 138 źrodło rozwiń
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.
Sztuka programowania 2598 dni, 2 godziny, 38 minut temu 84 ź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.
Daj się poznać 2017 2741 dni, 21 godzin, 49 minut temu 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.
Daj się poznać 2017 2746 dni, 12 godzin, 22 minuty temu 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.
Daj się poznać 2017 2753 dni, 42 minuty temu 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.
Daj się poznać 2017 2774 dni, 1 godzinę, 4 minuty temu 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.
Daj się poznać 2017 2784 dni, 3 godziny, 56 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, 14 godzin 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, 19 godzin, 18 minut 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, 1 godzinę, 11 minut temu 139 źrodło rozwiń
Akka.NET simple example with Github Api Posted on by Michal Franc In this post I want to a simple introduction to Akka.NET using an example app based on Github api. I have been diving into Akka .NET lately. My first encounter with this technology was on Vaughn Vernon workshop in Krakow. The main event had couple of side presentation and one of them was about Akka project in Java world. It was a magic to me. Couple years later, I accidentally found ( probably on twitter ) Bartosz Sypytkowski blog and ...
Programowanie rozproszone 3486 dni, 3 godziny, 59 minut temu 162 źrodło rozwiń
Akka.NET is a .NET port of famous actor model programming framework Akka, well known for the JVM community. This blog post discuss how in few lines of code we can distribute our computations by deploying actors on the remote machines. And all of that using F# functional API.
Programowanie rozproszone 3623 dni, 1 godzinę, 44 minuty temu 101 źrodło rozwiń