Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Mar 10 11:24
    Build #1004 passed
  • Mar 07 13:31
    Build #996 passed
  • Mar 07 09:56
    Build #985 passed
  • Mar 07 09:50
    Build #984 passed
  • Mar 07 09:00
    Build #982 passed
  • Mar 07 08:51
    Build #981 passed
  • Feb 27 17:18
    Build #979 passed
  • Feb 23 18:31
    Build #978 passed
  • Jan 10 22:49
    Build #973 passed
  • Jan 10 21:56
    Build #972 passed
  • Dec 27 2019 00:57
    Build #971 passed
  • Dec 09 2019 02:56
    Build #970 passed
  • Dec 09 2019 02:52
    Build #969 passed
  • Dec 06 2019 05:05
    Build #968 passed
  • Nov 19 2019 21:14
    Build #966 passed
  • Nov 19 2019 06:43
    Build #965 passed
  • Nov 19 2019 06:38
    Build #964 passed
  • Nov 18 2019 06:26
    Build #963 passed
  • Nov 02 2019 19:12
    Build #962 passed
  • Sep 18 2019 05:12
    Build #961 passed
for persist you can see this test
thanks @Valentin-Miroshnichenko , I'll have a look later today.
@Valentin-Miroshnichenko , are actors distinct processes that can run on different cores? I had difficulty with another Python actor framework (pykka), which appeared to create multiple threads within the same process and couldn't leverage all the power my hardware offers.
Python use GIL and because and we can't use all cores of our machine directly. But we have some workarounds,
You can create some actors in python separate process and communicate with them through gRCP
each python process will be used separate core
or you can start process in you actor and wait result
in protoactor each actor started in separate thread but GIL execute only one thread
Wes Morgan
I'm getting a log message from protoactor-go like [ACTOR] Recovering actor="nonhost/$1" reason="runtime error: invalid memory address or nil pointer dereference" stacktrace="github.com/AsynkronIT/protoactor-go/actor.(*PID).ref:26". Is there a way to get the full stacktrace for that so I can see where my code is triggering the error?
I hope PEP 554 to solve our problems https://www.python.org/dev/peps/pep-0554/ but unfortunatly it's python 3.9
Thanks for the info @Valentin-Miroshnichenko .
@Valentin-Miroshnichenko , are you familiar with dask? I'm not sure how its workers execute tasks--but it is definitely in parallel and utilizes nearly 100% of multi-core resources.
No. I just looked their site. How I understand they used Scheduling for it. In protoactor you can use cluster for distributed work, protoactor is very modular and interchangeable. and you can write your provider for you task
Hi, any idea why my Sender is always null when I send messages?
I'm sending a message back to the parent with:
            context.Send(context.Parent, new BatchSent(sendSqsBatch.Id));
The parent receives the message but context.Sender is null
You need to called request rather than send (I think, it been a few months since I've used this library)
Doesn't request return a task that can be awaited (similar to Ask in Akka). I don't want to await a response, I just want to know who the sender of a message is
@ben-foster-cko No, request doesn't return a task, but there is an async variant that does
Hi, we are currently unhappy with Akka.net Cluster and are thinking about trying out protoactor. What is your honest opinion, is it stable enough for a >10k hour project?
Topper Bowers
Hi all, any recommendations for implementing a priority queue?
Magnus Sydoff
Hi all,
The newbie guy here again.
I need to port events back from a service and thought of using gRPC streaming service together with ProtoActor. (My ProtoActor messages are going back and forth between the server and the client just nicely, but I need my server to force feed the client with server events that are occuring)
Is this doable? I won't see the client trying to subscribe to the service in Task ReceiveAsync(IContext context) I assume.
Or am I thinking too much outside the box? ;-)
Short code snippets greatly appreciated :-)
Andreas Vilinski

Hi, we are currently unhappy with Akka.net Cluster and are thinking about trying out protoactor. What is your honest opinion, is it stable enough for a >10k hour project?

Hi, @tobowers, just asking, what are your complains about akka.net? My understanding it should be much more mature and buttle tested. I'm currently using neither, looking to Orleans. I have used akka in scala on jvm without any problems though

Alexey Zimarev
I guess that people that worked with akka.net end up being fed up by it. at the end, why would the creator of akka.net start proto.actor?
Andreas Vilinski
dunno, why actually? didn't realised that @rogeralsing created them both
Daniel Söderberg
@alexeyzimarev is on fire!
Thank you for finally merging in my test kit :)
Alexey Zimarev
@raskolnikoov yeah, I was holding off but a lot things are pending for too long. Talked to Roger
Alexey Zimarev
@vilinski ok, the more correct answer would be what Roger wrote in the infamous "is it dead" issue (#461).
Proto.Actor aims to be a feature-complete actor model implementation. unlike Akka.Net that gets tons of things into the core product.
I can say the same about Orleans - it grows endlessly, new things are being added all the time
we might decide moving contrib and samples to separate repos. I'd say that persistence providers belong to contrib as well. I created a couple of persistence providers myself but I hesitate to pollute the core product with those things. a contrib repo would be a better place to keep up with a demand for vendor-specific integrations
Andreas Vilinski

@vilinski ok, the more correct answer would be what Roger wrote in the infamous "is it dead" issue (#461).

I see 404. did you mean this AsynkronIT/protoactor-dotnet#461 ?

Olli Saari
Hi! Is someone using proto actor with Unity? Would like to see some example about the unity-side. I have problems spawning actors from Unity (dotnet) to golang server. golang client works fine with the server.
Swoorup Joshi
is proto actor a multilanguage actor library?
also is there any off the shelf tools to monitor state of actor system, dashboard, health etc
Christian Palmstierna
@Swoorup 1) Yes - primarily Go and .NET are the mature implementations. 2) Some - there's no fully off-the-shelf solution (and I don't think there should be). For tracing/instrumentation, there's the Proto.OpenTracing package which provides some instrumentation via the OpenTracing library (that you would hook up to e.g. Jaeger, Zipkin, or an OpenTracing-compatible APM). For metrics, we currently don't have anything built-in but we've been discussing how to solve that story. I think it would make sense to provide some built-in core metrics (maybe e.g. total actor count, message rates, actor events like spawn/stop/restart - up for discussion). Again though it wouldn't be a fully off-the-shelf tool, but something that you could integrate easily into e.g. Prometheus.
@Swoorup Are there any specific events/metrics that you would like to have exposed?
Ryan Bae
Swoorup Joshi
Yeah was thinking the same thing about message rates, actor events etc
were there any reasons to not use this over rabbitmq?
Vamshik Shetty
Is a there documentation which reasons protoactor-go design ?