Похожие чаты

Guys What'S the best practice to build backward compatible gRPC services?

I mean how to have multiple versions of the same service at the same time, in one gRPC server? Example in rest:
Site.com/api/v1/something
And so on. I need to have a REST interface that maps services to the gRPC call.

Thank for your help

5 ответов

17 просмотров

In this man scenario, what is best for you to manage your endpoins versions, as you will have rEST in this scenario, it may be interesting to use GRPC with gateway

Peyman-EhsanDoost Автор вопроса
jeffotoni
In this man scenario, what is best for you to mana...

The REST interface doesn't matter in this. it can be a gateway or whatever. The point here is how to manage a single gRPC server to provide multiple versions of one service. and also, we may have more services. so we will have v1, v2, v3 ... and each of them will have some proto files that need to be compiled and served. How to do this? building this thing extensible is the issue I have...

Peyman EhsanDoost
The REST interface doesn't matter in this. it can ...

I understand, Man, maybe I wasn't so clear. As there is a rEST behind you can make your gRPC under gw and with each version you can keep everything, changing your PROTO and its changes etc ... it's a way. Here we don't usually keep these versions, but when you have this possibility you can use this path, and another way is to separate defragment your protos and services according to the version so that your code doesn't get too bloated

Peyman-EhsanDoost Автор вопроса

Похожие вопросы

Обсуждают сегодня

Ready for some fun AND a chance to win TKO Tokens? Join us for exciting minigames in our Telegram group! 🕒 Don’t miss out—games start on today 25 October 2024, at 8 PM! Ge...
Milkyway | Tokocrypto
255
Мужики и девушки, привет) в Вelphi xe7 в настройках во вкладке "Editor Options" далее " Color" есть список: "Elements", открыв который мы можем настраивать отображение разных...
Kraszx
14
VIP-392 [zkSync] New native USDC market in the Core pool Summary If passed, following the Community proposal “Support native USDC on Venus Core Pool of ZKSync Era” and the a...
Venus Announcements
1
is that okay?
Samurai 🇯🇵
21
Добрый вечер. Есть вопрос, а может и предложение. Был у меня диалог в другой группе о делфи и я задался вопросом: "А нельзя ли в делфи цвет //коментария и {комментария} сде...
Kraszx
24
How about the project bro Likes the community not that active ?
🅿️abby_FX
19
Я вот подумал. SSE выполняет операции максимум с 64-битной точностью. А FPU - всегда с 80-битной. Разве не должно быть FPU точнее тогда?
The Bird of Hermes
13
Guys, Donald Trump or Kamala Harris? It does not matter for Bitcoin in the long run!! 2020 Election: After Joe Biden's victory in November 2020, Bitcoin steadily rose from...
Sabah Shabu
3
как быть с принтером? такой подход прокатит?
zamtmn
12
Мдя, прикол, боевая сборка запускается (именно под отладчиком) после F9 примерно полторы минуты (97 секунд если быть точным). Начал копать - проблема детектится сразу - зависа...
Александр (Rouse_) Багель
38
Карта сайта