protoactor-js icon indicating copy to clipboard operation
protoactor-js copied to clipboard

plans for js client

Open jinhong- opened this issue 7 years ago • 2 comments

Hi, any plans to have just a js client only implementation? I know in theory it might be possible to use the proto contracts and talk to the cluster via grpc but nothing beats an official implementation

jinhong- avatar Jul 04 '18 04:07 jinhong-

I have been toying with this idea before; it could definitely be very useful for non-actor-based clients. Perhaps even browser-based clients once grpc-web matures.

Unfortunately, this project has been on hiatus for quite some time now (as you can see in the commit log). Mostly because of issues I ran into with Google's Protobuf generator for JS - it doesn't generate any type metadata, which is necessary to get remote fully working. I filed an issue with them but didn't get much of a response, which to be honest kind of killed my motivation to keep working on this. I'd happily pick it up again though if there is interest and willingness to help out :)

cpx86 avatar Jul 09 '18 10:07 cpx86

+1

I've currently got a GraphQL server written in NodeJS. Would be great if I could do Request/Tells to my Go Actors.

I did see something about a simple HTTP interface.

-- edit -- Found it.. https://github.com/AsynkronIT/protoactor-dotnet/issues/410 This would be a good solution to my needs. Don't know about others.

chriskolenko avatar Sep 23 '18 01:09 chriskolenko