Comments (11)
Closing issue, as this has been released to cpan: https://metacpan.org/pod/Grpc::XS
from grpc-perl.
No, I don't see any blockers; I need a bit of time to do this though (holiday).
from grpc-perl.
I think the code is actually completed. My main concern was that it core-dumps when you connect to a port for which the connection is refused, but turned out to be an issue in the core grpc library instead (grpc/grpc#8205).
However, to use grpc, you should also have a protobuf implementation (minimum proto2). I couldn't find one, and hacked https://github.com/joyrex2001/protobuf-perlxs instead. I think this could be much more user-friendly, allthough it works. Maybe there is a better alternative that can be used?
from grpc-perl.
http://search.cpan.org/dist/Google-ProtocolBuffers-Dynamic/ ?
from grpc-perl.
@slanning thanks this looks interesting, really appreciate your note are you interested in helping create a POC? @joyrex2001 if we can get this going would you consider releasing to CPAN?
from grpc-perl.
Yes, that makes sense. There is a gap that needs to be addressed here, the cpan module only implementes the 'message' types. To make it 'rpc', the service type needs to be implemented as well. Typically, this piece is generated by a code generator. If that component is there as well; creating modules for each service, and using the Google-ProtocolBuffers-Dynamic for the 'message' types, we could end up with something more friendly/useable.
from grpc-perl.
I have a work-in-progress branch to add support for services to Google::ProtocolBuffers::Dynamic: https://github.com/mbarbon/google-protobuf-dynamic/tree/grpc
I tested it with the helloworld service so far, and it works fine.
from grpc-perl.
@mbarbon thank you for your work here, very exciting.
from grpc-perl.
@mbarbon that's great news, very exciting!
from grpc-perl.
I uploaded version 0.19 of Google::ProtocolBuffers::Dynamic with support for gRPC client generation.
Do you see other blockers with releasing Grpc::XS to CPAN?
from grpc-perl.
@joyrex2001 @mbarbon thank you!
from grpc-perl.
Related Issues (7)
- build on Ubuntu 14.04 issue HOT 3
- Unicode bug?
- t/17-fork_friendliness.t hangs on Ubuntu20/aarch64 HOT 4
- Changes required to support grpc 1.45.0 and later HOT 1
- Unit test "t/02-call.t" hangs for 40 seconds with recent versions of libgrpc
- Grpc::XS::CallCredentials::createFromPlugin fails with core dump HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grpc-perl.