benperiton

benperiton

Elixir and Protobuf / gRPC

Does anyone have any experience with using protobuf / grpc and Elixir?

I’ve seen GitHub - bitwalker/exprotobuf: Protocol Buffers in Elixir made easy! · GitHub and GitHub - elixir-grpc/grpc: An Elixir implementation of gRPC · GitHub but I was wondering if anyone had used them, and if they feel they are ‘production’ ready, as in they work and are stable?

Long story short, I have a few different services that need re-writing, and I was going to place them all behind a GraphQL server for easy access from other more front facing services, but for communicating between themselves and the GraphQL server I was thinking of using protobuf for it.

Now, I haven’t actually used any protobuf stuff before, but I’ve been wanting to try it for a while and this seems like it could be a good project to use it on.

Does this seem like a good fit for it? Are there any large drawbacks? (From what I’ve been reading about it, the main one is visibility for debugging, but it seems that might be mitigated with interceptors)

Thanks!

Most Liked

keathley

keathley

I’ve been exploring grpc for some work stuff. Based on my testing so far I don’t believe that grpc-elixir is quite ready for production. The pattern that you’re describing seems reasonable but its hard to say without more context about your domain and the problems that you’re specifically trying to address.

Where Next?

Popular in Questions Top

RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New

Other popular topics Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New

We're in Beta

About us Mission Statement