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

How to expose an asynchronous api as a custom akka stream Source now that ActorPublisher is deprecated?

With ActorPublisher deprecated in favor of GraphStage, it looks as though I have to give up my actor-managed state for GraphStateLogic-managed state. But with the actor managed state I was able to mutate state by sending arbitrary messages to my…
Warren
  • 1,903
  • 1
  • 21
  • 30
0
votes
1 answer

Create an actor with a BoundedMessageQueue

we need to create an Actor that discards messages once it's mailbox is filled up to a certain size. Browsing the assemblies reveiled that there is a BoundedMessageQueue already implemented offering the options:…
Xcessity
  • 529
  • 6
  • 12
0
votes
1 answer

Using ConsistentHashingPool with ClusterRouterPool

We currently use a ConsistentHashingPool to provide sticky routes and throttling for a specific type of actor: var hashRouter = new ConsistentHashingPool(_hashPoolSize).WithHashMapping(o => { var command = o as…
Phil Sandler
  • 27,544
  • 21
  • 86
  • 147
0
votes
1 answer

Akka.Net ClusterClientReceptionist multinode crash

I'm trying to create a sample that create a cluster able to process an order and a client that send order. To do so i use the ClusterClientReceptionist and ClusterClient to communicate between an client and a cluster network. Cluster Node code…
Mickael Thumerel
  • 516
  • 4
  • 14
0
votes
1 answer

Asp.Net Web API with a message bus/queue

I am currently experimenting with implementing the micro service architecture on a REST service that I will be developing. The REST service will communicate with a third party SOAP service and also another component that I will be creating to…
NyronW
  • 1
  • 1
  • 1
0
votes
1 answer

Finding a previously persisted Akka actor with an indirect reference

There are quite a few places in a system I am currently building in which there are multiple ways to reach the same actor. For instance, if you have a persistent car actor, you could use the VIN or registration plate. As we need a single "true…
jameswilddev
  • 582
  • 7
  • 16
0
votes
1 answer

Second message becomes Unhandled in my Akka.Net actor and then it seems to halt

Disclaimer: I'm new to Akka :) I'm trying to implement a router in Akka, that basically receives a message looks up in dictionary for IActorRef that handle type of message if no match is found, create one using Akka.DI as child actor and add to…
Lars Baunwall
  • 75
  • 1
  • 4
0
votes
1 answer

akka.cluster and persistence delivering issue

In our cluster we have four nodes composite of: 2 seed nodes (backend) 1 worker 1 webapi on IIS The cluster is joined, up and running; when i send a POST to the webapi,: IIS join the cluster the API recieve the a post and send the message with a…
Irvin Dominin
  • 30,819
  • 9
  • 77
  • 111
0
votes
0 answers

.net core (.net framework) mvc System.MissingMethodException

{ "dependencies": { "Autofac": "4.6.0", "Autofac.Extensions.DependencyInjection": "4.1.0", "AutoMapper.Extensions.Microsoft.DependencyInjection": "2.0.1", "xx.Service.Core": "1.0.0-*", "Akka": "1.2.0", "Akka.Remote":…
ayse
  • 93
  • 8
0
votes
1 answer

Round Robin Group over two different hosts is not working

I am trying to split load over more than one akka actor system. Unfortunately the round robin group in not forwarding messages to remote workers. I can see that actor is activated, but there is no work done. the full code is on github Is there any…
profesor79
  • 9,213
  • 3
  • 31
  • 52
0
votes
1 answer

How does Akka.NET persistence handle replaying messages containing IActorRef?

If I send an Akka.NET actor a message which is an object containing an IActorRef, and then persist that message, the JSON written to the journal table looks like this: {"$id":"1","$type":"LearningAkka.Program+BindReference,…
jameswilddev
  • 582
  • 7
  • 16
0
votes
1 answer

akka.cluster with double asp.net webapi on IIS

In out cluster we have five nodes composite of: 2 seed nodes (backend) 1 worker 2 webapi on IIS The cluster is joined, up and running; but the second IIS when perform the first message to the cluster via router make all cluster unreachable and…
Irvin Dominin
  • 30,819
  • 9
  • 77
  • 111
0
votes
1 answer

Why does read after right method not produce consistent results?

I'm watching this video about Akka.net and the speaker says read after right does not produce consistent results because the order of events is not predictable at the network level. The arhcitecture the presenter is speaking about in this video is…
user3587180
  • 1,317
  • 11
  • 23
0
votes
2 answers

Cluster sharding client not connecting with host

After recent investigation and a Stack over flow question I realise that the cluster sharding is a better option than a cluster-consistent-hash-router. But I am having trouble getting a 2 process cluster going. One process is the Seed and the other…
S. Harrap
  • 31
  • 3
0
votes
1 answer

De-Serialize akka.net persistence message using C#

I used akka.net persistence to store some message type in sql server database. And on that business scenario it works. In other case i just wanted to deserialize message using C# .net and see the message property without akka.net. how could it…
Amal Shalika
  • 1,077
  • 1
  • 13
  • 22