quda

quda

Tired of old REST/GraphQL web APIs I am wondering if there is a library for building Elixir APIs on/with RPC ?
I’ve been using trpc - nice, swift, easy to deploy - but on Node & Typescript; I feel the need of something similar on Elixir.

I found Erlang rpc but this module is very cryptic for me, impossible to use. An Elixir wrapper would be great.

Showing Posts 11 to 2

manhvu

manhvu

Build a distributed system by Elixir is fun!
For RPC between Elixir nodes, I have built a EasyRpc and ClusterHelper for easy get target nodes in a dynamic cluster (like Elixir cluster on K8s). It’s quite late, but I hope these can help someone.

onaxon

onaxon

Twirp

Twirp is a framework for service-to-service communication emphasizing simplicity and minimalism.
JSON & Protocol Buffers.

twirp-elixir

krasenyp

krasenyp

If nothing existing suits your needs then it might be the time to implement it yourself and share it with the world.

quda

quda OP

@al2o3cr Thanks but was asking for Elixir not Erlang, that has already a rpc module.

“Something else” such as I specified initially, something similar to trpc:

I’ve been using trpc - nice, swift, easy to deploy

Quote from trcp website:

tRPC allows you to easily build & consume fully typesafe APIs, without schemas or code generation

LE: Or maybe “something” that implements JSON-RPC 2.0 Specification where I could specify my own methods, in my own way, beyond the get/post/put/delete of REST. :love_you_gesture:t3:

quda

quda OP

you’re right, my mistake. Thanks but not interested in this anyway.

Exadra37

Exadra37

That TODO List have all boxes ticked:

So, nothing more left to do on that list.

The latest tag is 0.4.0 not 0.3.1:

al2o3cr

al2o3cr

What specifically are you looking for? “Something else” doesn’t give folks much insight into your criteria.

For instance, CORBA is “something else” - it was even part of the OTP distribution until OTP 21 (2018)! You almost certainly do NOT want it. GitHub - erlang/corba: The Corba and Cos* applications from OTP · GitHub

quda

quda OP

Mmmm.. thanks I am already aware of gRPC, is there something else available ? Maybe a wrapper around Erlang rpc module ?

Anyway the gRPC Elixir library doesn’t seem very mature (v.0.3.1 and this long todo)

Exadra37

Exadra37

If you don’t mind to use gRPC then you can read this blog:

by @akoutmos

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
brecabral
Documentation While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
asweet-confluent
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

Latest on Elixir Forum

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews