chulkilee

chulkilee

Elixir and gRPC - what's the status / what can be done better/differently?

I’ve heard of several companies using Elixir + gRPC successfully. Tubi is one example - which sponsors grpc

However, grpc still depends on pre-release version of gun. There is a fork for that - Fork of Elixir GRPC as grpc development does not seem very active. Can anyone from Tubi can comment on what’s going on? (@tony612 seems here!)

Also there is GitHub - tsloughter/grpcbox: Erlang grpc on chatterbox · GitHub (in Erlang) which uses chatterbox for HTTP2 and gpb for Probotuf. nathancyam/boxy is a demo project to show how to use erlang protobuf/grpc from elixir.

I’m curious what people are actually using in the production, and any experience of using the lib.

Also what could be ideal. For example, spear implements grpc client side with mint, not using grpc library (which uses gun), and gpb for protobuf. It makes for the client library - then would it be better if we have grpc-server and grpc-client separately? Does it even make sense as grpc can be bidirectional streaming rpc?

Previous topics:

Most Liked

wingyplus

wingyplus

I’ve used elixir-grpc as a client library with TLS authentication on the production, which the library currently supports. It would be fine if you use just that. The current lack of:

conradwt

conradwt

I have used elixir-grpc and I wish there were better abstractions for configuring the HTTP client and the associated web server. For example, I would like to use Req for the HTTP client and Bandit for the web server.

Where Next?

Popular in Discussions Top

artimath
I think I’ve tried 5 different graph database libraries in the last two days and not a single one has been able to connect to a remote/lo...
New
heathen
Quite interesting article Google brought me. Didn’t find any mentions about it here. What do you think in general? Would you use togethe...
New
adamu
When starting a new project, do you have any go-to libraries you pull in out of habit/preference? For example, Ash, Credo, Mox, ExMachin...
New
smueller
With the announcement of 1.19 rc0 and the path to user-supplied type annotations, I want to make the case for inline types—both for funct...
New
Morzaram
Hey everyone. I’m feeling a bit conflicted. I’ve learned Flutter and built a somewhat MVP of this app. I’m a solo dev and throughout this...
New
James_E
I see that the current ExUnit source code has support for rich failure messages on a small whitelist of “recognized” assertion patterns, ...
New
jonator
FLAME is basically the dream for running AI agents that need system command access such as coding agents. However, I have concerns about ...
New
AstonJ
A remark @Garrison made… ..has already inspired a thread for the technical side of reclaiming our internet, but there is of course anot...
New
AstonJ
Posting this as a separate thread as I’m sure lots of people will be curious - what will the (or the intended) differences be and when mi...
New
AstonJ
Inspired by Andrew’s post in another thread about types: If the main benefit of static typing is to catch errors, and most people think...
New

Other popular topics Top

JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1140 51847 244
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
William
I would like to know that is there any online source for learning Phoenix Framework for building E-Commerce Store? Any advantage on build...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set? Thanks.
New
vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 27727 240
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

We're in Beta

About us Mission Statement