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
2 answers

How to make akka-tree work with akka.net cluster?

I am currently looking for a visualizer for akka.net (.NET version). I found none so I am wondering if there is any way to make akka-tree (scale) and akka.net cluster work together. I guess if both framework are following the same spec then it…
Michael Sync
  • 4,834
  • 10
  • 40
  • 58
0
votes
1 answer

Unable to communicate between actors in Akka.Cluster

I am having some problems in communicating between actors in Cluster. My test project has this structure below. TestJob [C# Console Project] TestJobService.cs TestJobActor MainProject [C# Console Project] //Note: I configured this service as a…
Michael Sync
  • 4,834
  • 10
  • 40
  • 58
0
votes
1 answer

User's profiles as actors with akka.cluster. Routing and creating

I want to use Akka.Cluster for simple user profile service. There will be few instances of http-api services witch will send messages for some backend instances with userprofile persistent actors(Profile Actor). Every http-api service can send…
neftedollar
  • 1,108
  • 10
  • 14
0
votes
1 answer

Service Fabric, Akka.net and Persistent actor integration

I have some snippet of code from a working example. This example is to make a REST call (WebAPI) and a poller in the service fabric to poll the requests. There are five actors (1) FileImportValidator to validate the file name (2) FileParser to parse…
wonderful world
  • 10,969
  • 20
  • 97
  • 194
0
votes
1 answer

How to get an actor from a deep graph in AKKA without ActorSelection?

This blog talks about to less use ActorSelection to select an actor. I have a CatalogActorSystem having 10000 product actors. All these actors have names which is really their ids. If I need to have access to the a product with id for example…
wonderful world
  • 10,969
  • 20
  • 97
  • 194
0
votes
1 answer

Akka.NET TestKit synchronous behavior

I have the following C# code to test an AKKA.NET actor's behavior. The statement productActor.Tell(new ChangeActiveStatus(true)); is expected to be a blocking call (TestKit makes it a synchronous call as per this blog) but I'm seeing it returns…
wonderful world
  • 10,969
  • 20
  • 97
  • 194
0
votes
1 answer

Is it possible to hook into the prestart method from F#?

In the current v.1.0 version of Akka.NET it is not possible to combine a FSM approach with persistency from the F# API. I was wondering if it is possible to use a functional approach like…
carstenj
  • 693
  • 5
  • 13
-1
votes
1 answer

Akka Cluster basic clarifications about creating actors dynamically

In Akka remote we crate actor by defining in actor system configuration,or programmatically saying the other actor system location. We send messages to the actor by the references we created or we can get a actor reference by getting…
-1
votes
1 answer

SimpleInjector container verify and Akka.net

I'm currently using SimpleInjector together with Akka.net to resolve dependencies that some actors might need from the container. It works well using the Akka.DI.SimpleInjector nuget package. Now my problem is, that actors, that need some…
Thomas Lazar
  • 315
  • 3
  • 10
-1
votes
1 answer

Is it right to ceate actor instance for each new process managed by FMS

I'm trying to design application which will manage multi state processes. Something like money transfer processes from one account to another. I have decided to use Akka.Net FMS. But then I have stucked when I found out that each new process (new…
Gioalhaz
  • 3
  • 2
-1
votes
1 answer

How valid is it to use `Result` inside `Task.Run`

In Akka.Net there is the nice design inside an actor, to start a task with Task.Run and pipe the result back to the actor: Task.Run(() => Method(...)).PipeTo(self); Note, there is no IO involved. Inside Model Method(...) there is a little bit of…
Gerard
  • 13,023
  • 14
  • 72
  • 125
-1
votes
1 answer

Actor model advantages over task-based asynchronous pattern

The actor model is known as a way to achieve better usage of CPU resources. In the same way, programming using C#'s async / await also help programmers to use threads properly since the thread is not blocked while making some IO call and then can be…
Fabio
  • 3,020
  • 4
  • 39
  • 62
-1
votes
1 answer

How can assign an EntityID to an entity of a shard in Akka.NET?

I don't understand how ID's are assign when you create a new actor in a ShardRegion, I was looking through this example https://github.com/akkadotnet/akka.net/tree/dev/src/examples/Cluster/ClusterSharding/ClusterSharding.Node If someone has a more…
-3
votes
1 answer

large message Sender.Forward 133KB

I am trying to send a txt file (size 133 kB) public class HelloActor : UntypedActor { public HelloActor() { } protected override void OnReceive(object request) { var data =…
Encep
  • 23
  • 6
1 2 3
44
45