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
0
votes
1 answer

Akka.net Lighthouse keeps trying to connect to failed node

I am trying to learn akka.net clustering. I thought I understood that when a node went down, it would be removed from the cluster. But that does not seem to be happening. I fired up a instance of Lighthouse (as the seed node) and made a super…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
0
votes
0 answers

Are actor paths case sensitive in Akka?

In Akka I've found that the name of an actor system is case sensitive but I'm so far unable to find any documentation on whether the other parts of the actor paths themselves are case sensitive.
jpierson
  • 16,435
  • 14
  • 105
  • 149
0
votes
1 answer

Can I Read/Write from separate actors with same PersistenceId?

The Petabridge blog's Akka.Persistence intro makes it clear that you can't have multiple actors with the same PersistenceId: The PersistenceId field is important - it uniquely identifies an entity that is persisting its state using…
Gigi
  • 28,163
  • 29
  • 106
  • 188
0
votes
1 answer

AKKA.NET configuration in a unittest context

I'm trying to configure my AKKA.NET runtime environment using a HOCON configuration block in a unittest context in .NET Core 1.0. Apparently the configuration is not picked up from the App.config file. Can anybody explain how the HOCON…
Nikola Schou
  • 2,386
  • 3
  • 23
  • 47
0
votes
1 answer

Akka.net Testkit does not mark test case failed despite ActorInitializationException exception

Following is the actor, I've defined (trying to get my head around persistent actor!!) public class Country : ReceivePersistentActor { public override string PersistenceId => GetType().Name + state.Id; private CountryState state; …
101V
  • 492
  • 1
  • 6
  • 13
0
votes
1 answer

Unit of work across multiple actors Akka.Net

I got a requirement that two actors are need to be in the same unit of work, my understanding is actor is location transpancy which mean that it can be in any where, anyone got any suggestion?
Eddy Ma
  • 98
  • 9
0
votes
1 answer

Akka .net inbox tutorial

Hi there i have searched over the internet on how to configure and use Inbox in Akka .net,but I havent found any tutorials or examples regarding it. If you have knowledge in using Inbox in Akka.net please share it.So that it will be helpful for…
Thickar
  • 171
  • 1
  • 8
0
votes
0 answers

akka.net can it support millions of stateful actors?

I have a hierarchy like /user/{supervisors}/{children}. There can be 10s of thousands {supervisors} and equally as many {children} per supervisor. Both have a complex state and a lot of different messages that each need to be able to handle. I…
Josh
  • 1,058
  • 9
  • 27
0
votes
1 answer

akka.net managing actor hiearchy and creating/getting actors

I am learning akka and am not sure how best to organize, get/create my actors. Right now I have a setup like Department (1000s) can each have many items (10000s) and each item has properties and work that can be done to it If I want to perform a…
Josh
  • 1,058
  • 9
  • 27
0
votes
1 answer

Why is Akka.Persistance not replaying my Journal entries

I am writing an implementation of the Akka.Persistence for Service Fabric, and I don't seem to be able to get the snapshotting working. When it attempts to recover state it gets the latest snapshot but it does not replay the events since the latest…
Noel
  • 1,968
  • 3
  • 20
  • 38
0
votes
1 answer

Actors ReceiveAsync method unable to POST data to the listener

Background Notification service has a Notify method which is invoked when an event occurs, so here Im creating the FloorActor and sending the message consisting data and post url to the Actor. public class NotificationService { …
Bopanna
  • 37
  • 1
  • 7
0
votes
1 answer

Are two IActorRef pointing to the same actor always equal?

Assume I have two IActorRef pointing to the same actor but obtained from different sources: One actor reference was obtained during local creation of an actor: var actorRef1 = system.ActorOf("myActor"); Later this actor reference was passed…
Sergey Kostrukov
  • 1,143
  • 15
  • 24
0
votes
0 answers

Adding async message processing to some MVC requests

I have a site built in asp.net mvc 5 and it integrates/communicates with other systems/sites. At some points there is the need to communicate to several of these other systems and we are doing so synchronously now, so the original request would have…
Luiso
  • 4,173
  • 2
  • 37
  • 60
0
votes
1 answer

Akka.net: assuring a timeout message is always launched

Imagine you have an actor that has a "business" timeout on it. I would like that timeout to be launched even if the server where the actor lives dies or reboot. I would create that actor as persistent. Which is the best way to assure that a timeout…
Pablo Castilla
  • 2,723
  • 2
  • 28
  • 33
0
votes
2 answers

Is there a working example of Akka.net Persistence with MongoDb out there anywhere?

I am attempting to configure Akka.Net with journal persistence to MongoDb but it is throwing an exception that I can't quite figure out. Is there a reference example out there anywhere I can look at to see how this is supposed to work? I would…
Mark Ewer
  • 1,835
  • 13
  • 25