Questions tagged [proto.actor]

A toolkit for building highly concurrent, distributed and fault tolerant event-driven applications in multiple programming languages like platforms like go, .NET, JVM etc.

Proto.Actor is following the core cocept of Akka and Akka.NET with a different strategy. It is created by Roger Johansson who was the original creator of Akka.NET. So in future Proto.Actor may replace Akka.NET.

Proto.Actor focuses on only solving the actual problems at hand, concurrency and distributed programming by reusing existing proven building blocks for all the secondary aspects.

Proto.Actor uses Protobuf for serialization, a decision that vastly simplifies the way Proto.Actor works. Message based systems should be about passing information, not passing complex OOP object graphs or code.

Proto.Actor also uses gRPC, leveraging HTTP/2 streams for network communication.

6 questions
6
votes
1 answer

C# protoactor - alternative to Akka.NETs pipeto?

In Akka and Akka.Net there is the PipeTo pattern for handling asynchrounous stuff (like I/O) and pipe a message back to the actor´s messagebox. How can that be done in Protoactor?
2
votes
1 answer

Async request/respone in Proto.Actor?

I’m new to proto.actor/actor programming and I’m wondering is this possible to achieve this behavior: Actor A is asking actor B via async command – he should await for response to achieve request/response model but using tasks. Actor B is using…
dnf
  • 1,659
  • 2
  • 16
  • 29
2
votes
1 answer

StructureMap and Proto.Actor in .NET Core 2

I have been using Proto.Actor and specifically the ActorFactory to spawn actors. To be able to use these features I need to add services.AddProtoActor() to the ConfigureServices method of my startup class. However, now I want to transition to using…
DenverCoder9
  • 1,119
  • 3
  • 16
  • 30
1
vote
0 answers

Should Proto.Actor ActorSystem.ShutdownAsync() stop all actors?

I was expecting the ActorSystem.ShutdownAsync() stop all actors before finishing returned Task, but this doesn't seem to happen. Does anyone know how I should terminate the ActorSystem correctly? I'd like all the actors to get called…
Rexxowski
  • 160
  • 10
1
vote
2 answers

Golang HelloActor I fatal error: all goroutines are asleep - deadlock

I have the following Code to test the actor-model with Go 1.18 package main import ( "fmt" "sync" "github.com/AsynkronIT/protoactor-go/actor" ) // Actor type helloActor struct{} func (*helloActor) Receive(context actor.Context) { …
MKSK
  • 21
  • 1
0
votes
0 answers

How to use Proto.Mailbox.BatchingMailbox in proto.actor?

I want to use Proto.Mailbox.BatchingMailbox as a buffer for batch writing to a database. For example, I have several producers of messages and one persistence actor (it writes messages to the database). And I want that the persistence actor doesn't…
Iurii
  • 1