Sink<TIn, Task> ForEach<TIn>(Action<TIn> action)
async
creates a task where your exception is thrown and simply "returns" a failed tasked, but maybe the compiler is smart enough to reduce it to a simple action since you don't await anything
@aravindanck in general this is a good question for (https://gitter.im/akkadotnet/akka.net - akka .NET version) or (https://gitter.im/akka/akka - akka JVM version):
The simple answer is: millions - the pure actor overhead is several hundred of bytes. This doesn't count any sort of logic and state you're keeping inside them. But if you want some more advanced features, like persistence, this will require additional memory per actor + time spend on recovery/store process, which is heavily dependent on the actual persistence provider you're using - usually this is the major limiting issue aside of the hardware requirements.
Hi,
I'm new with Akka.NET streams and I'm experiencing a strange behavior. I try to implement parallelism on a part of a Akka.NET Stream using a Balancer stage and a Merge stage. The strange behaviour is that I am not getting any speed increase in the processing of the stream. My impression is that it does not spawn multiple threads (one for each parallel path) as I had expected.
Can you please give me a hint if there is some configuration settings that I'm missing?
Hi there all,
I am looking to implement Akka Streams with remoting in a single solution. I've been able to set up a connection from a source to a sink where the source is the origin and the sink is the remote. However, I am having difficulty implementing the reverse of this where the sink is the origin and the source is the remote.
My full question is asked on Stack Overflow [https://stackoverflow.com/questions/61588166/akka-net-reactive-streams-over-the-network]