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

How to convert blocking IEnumerable to Akka actor

I would like to convert a blocking IEnumerable (possibly infinite) into messages sent to an Actor. What is the best way to do this? I am currently attempting to create a Task within an actor on PreStart and inside the task have it send messages to…
Danny G
  • 581
  • 4
  • 16
0
votes
2 answers

Akka.DI.Autofac did not create actor

I am trying to set up DI followed by official akka.net document (http://getakka.net/docs/Dependency%20injection#autofac). However Actors never create. What's wrong in the following my code? public class Worker: ReceiveActor { public Worker() …
Stonpid
  • 349
  • 1
  • 3
  • 14
0
votes
0 answers

Akka.net/RavenDB how to properly load data from database to initialize actors?

I'm working on a project that computes a continuous flow of data. I've been strugling lately with some memory and networking exceptions to the point where I ask myself if the way i'm getting the data from my database is good. I am using: .NET…
0
votes
2 answers

Akka.net actor selections or references

What is more efficient in Akka.net, talking to actor selections or interacting with an IActorRef being passed in a message?
oeaoaueaa
  • 91
  • 1
  • 4
0
votes
0 answers

Reply to remote akka.net actor

I have a SenderActor deployed to one machine and one ReceiverActor deployed on another machine (using Akka.Remote). The Sender succesfully initiates the call to the Receiver. I'm trying to reply some status from the Receiver back to the sender but…
bdaniel7
  • 197
  • 1
  • 10
0
votes
2 answers

How can I deploy actors to separate processes / machines and use ConsistentHashingGroup router?

How can I deploy actors to separate processes / machines and use ConsistentHashingGroup router? My strategy is to leverage the ConsistentHashingGroup router by dynamically constructing a config file with the addresses of nodes on my system. These…
Scott Nimrod
  • 11,206
  • 11
  • 54
  • 118
0
votes
1 answer

Akka.net persistence actor doesn't get connection string from Fallback Config?

I have my main hocon config in app.config file and try to set connection string from code behind using fallback config. but when actor system start it doesn't working. here is my hocon config and C# code as below. Can someone help me please? Hocon…
0
votes
1 answer

I receive errors with my F# implementation of SimpleClusterListener

I have observed the following error on my F# implementation of SimpleClusterListener: [ERROR][3/20/2017 11:32:53 AM][Thread 0008][[akka://ClusterSystem/system/endpoin …
Scott Nimrod
  • 11,206
  • 11
  • 54
  • 118
0
votes
2 answers

Why akka.persistence is still having beta release? Is it stable?

Why akka.persistence is still having beta release on nuget packages. Does it imply it is still not stable and not good for used in production applications?
Amal Shalika
  • 1,077
  • 1
  • 13
  • 22
0
votes
1 answer

Does Akka.net actor suitable for GET and Search Operation?

We are using akka.net actor model in current project. I used an entity actor to handle insert, update and delete operations on it. In a case of search or get does actor model not suit? If it is support in UI how it possible to get result (weather to…
Amal Shalika
  • 1,077
  • 1
  • 13
  • 22
0
votes
0 answers

Can an instance of an Akka.net actor exist twice in a cluster?

I'm looking at doing domain driven design and wanted to know if an instance of an actor that is an aggregate can exist in two places at once on a global network/cluster, say in the USA and also in Europe so clients with staff in both locations don't…
cdmdotnet
  • 1,663
  • 3
  • 17
  • 22
0
votes
1 answer

How to create SHARED LIST for store objects for actor?

I want to calculate average complete time for a goods pick in giving store. Picking module will send a message with number of time to complete and store name when pick is complete to Actor A. Like wish each time it complete pick operation in…
Amal Shalika
  • 1,077
  • 1
  • 13
  • 22
0
votes
1 answer

Akka.net - Loads all journal data everytime I create a new object

Every time I create a new object of type in Akka.NET. The entire Journal of that type gets loaded in the constructor My test: [Test, Category("Integration")] public async Task Should_Persist_Actor() { var model =…
KenL
  • 865
  • 5
  • 14
0
votes
0 answers

How to add stash to the actor in Akka.Net with Windsor Container

Here is my try to add a Stash to the actor: class Program { static void Main(string[] args) { var actorSystem = ActorSystem.Create("mySystem"); var container = new WindsorContainer(); container.Install(new…
bonzaster
  • 313
  • 2
  • 12
0
votes
1 answer

Inheritance with Akka.Net actors

I'm wondering, how to implement inheritance with Akka.Net. I want base actor to handle base messages and child actor to handle child messages. For example, I have following hierarchies: public class BaseMessage { public string Data { get; set;…
bonzaster
  • 313
  • 2
  • 12