Questions tagged [akka.net]

A toolkit and runtime for building highly concurrent, distributed and fault tolerant event-driven applications on .NET & Mono.

Akka.NET is a port of the popular Java/Scala framework Akka to .NET.

It is a community driven port and is not affiliated with Typesafe who makes the original Java/Scala version.

References

674 questions
9
votes
2 answers

Async API call inside an actor and exceptions

I know about PipeTo, but some stuff, like synchronous waiting on nested continuation, seems to go against the async & await way. So, my first question [1] would be: is there any 'magic' here, so that we can just synchronously wait for nested tasks…
Patryk Ćwiek
  • 14,078
  • 3
  • 55
  • 76
8
votes
4 answers

.Net Standard 4.7.1 Could not load System.Private.CoreLib during serialization

I'm working on migrating most of my project to .Net Standard 2.0. Last part of the project in .net standard 4.7.1 is a WCF front end. This executable communicate with a .net core application throught a library Akka.net by…
Mickael Thumerel
  • 516
  • 4
  • 14
8
votes
1 answer

Akka.Net Remoting: ActorSelection vs. IActorRef

Using Akka.net with remoting. This article has the following to say about using ActorSelection: The other time when I tend to use an ActorSelection is when I am initially communicating with a remote actor system. What I don't quite understand…
Phil Sandler
  • 27,544
  • 21
  • 86
  • 147
8
votes
0 answers

Akka.Net remote disconnection

I am using Akka.Net in a very simple client server configuration. Nothing very advanced at this time. After about 3 or 4 days of sending messages back and forth it seems that the entire system gets in a disconnection state. With a restart of the…
Telavian
  • 3,752
  • 6
  • 36
  • 60
8
votes
1 answer

Akka.NET actors and wrappers (potentially with Rx)

I started playing with the Actor model, and in particular with Akka.NET. Overall I think I have a good idea of what's all about, but of course the devil is in the detail. I was thinking about adopting Akka.NET in an already existing codebase, and…
Wasp
  • 3,395
  • 19
  • 37
7
votes
1 answer

Akka .NET Connection Pool Timeout Issues

We are creating a new system using Akka.NET and have a basic cluster setup with sharding and persistence. We've used the official documentation as well as some Petabridge blog posts to get sharding working correctly. However, we've hit a problem…
7
votes
1 answer

Port exhaustion issue with Akka.Cluster

We created an Akka Cluster infrastructure for Sms, Email and Push notifications. 3 different kind of nodes are exist in the system, which are client, sender and lighthouse. Client role is being used by Web application and API application(Web and API…
Deniz İrgin
  • 597
  • 3
  • 15
7
votes
1 answer

How to receive any type of message in Akka.Net Receive Actor

I'm trying to implement a some sort of console writer for all of my actors. Here's my code: class ConsoleWriterActor : ReceiveActor { public ConsoleWriterActor() { Receive(s => { …
himekami
  • 1,419
  • 3
  • 13
  • 21
7
votes
2 answers

Akka.NET Ask Task never completing

I may be doing something incorrect, but it is not apparent. I have the following code: namespace test { class Program { static void Main(string[] args) { using (var system =…
Matt Johnson
  • 1,913
  • 16
  • 23
7
votes
0 answers

Optimizing the Akka.NET message dispatcher

I'm currently trying to find the bottlenecks in our message dispatcher for Akka.NET (port of java/scala actor model framework) For those interested, it can be found here: https://github.com/akkadotnet/akka.net We seem to scale great up to 8 cores,…
Roger Johansson
  • 22,764
  • 18
  • 97
  • 193
6
votes
1 answer

Is there a way to get all instantiated actors currently available on a given node in Akka.NET

I have the following code in my application which creates an instance of an Akka.NET actor in my cluster as such: _actorSystem = ActorSystem.Create("mycluster"); _actoraActor = this._actorSystem.ActorOf(); Note that I deliberately omit the…
Maxim Gershkovich
  • 45,951
  • 44
  • 147
  • 243
6
votes
1 answer

Actor Model for instant messaging app?

i have a background in enterprise distributed systems using Messaging technologies such as RabbitMQ and others, though i am relatively new to Actor Model. with that said, i am wondering if it is a good idea to use the Actor Model frameworks such as…
SHM
  • 1,896
  • 19
  • 48
6
votes
1 answer

Exception Handling with akka.net PipeTo() on Task

Referring to Akka.Net documentation, using PipeTo() is preferred when dealing with asynchronous jobs. When dealing with a function that returns Task, I can handle the failure event, no problem. The problem is, when dealing with a function that…
monstertjie_za
  • 7,277
  • 8
  • 42
  • 73
6
votes
1 answer

Is it safe to use async/await inside akka.net actor

In the following code, I am using the syntactic sugar provided by .net, the async/await approach, but read that this is not a good way of handling asynchronous operations within akka, and I should rather use PipeTo(). public class AggregatorActor :…
monstertjie_za
  • 7,277
  • 8
  • 42
  • 73
6
votes
1 answer

akka.net is there a a way to get or create actor

For my actor hierarchy, I do not know all the actors I need until I process the data through a few actors, so I'm looking for a way to either return an existing ActorRef or create a new action. This is what I would like the code below to either…
Zeus82
  • 6,065
  • 9
  • 53
  • 77
1
2
3
44 45