Похожие чаты

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 ответов

9 просмотров

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 Автор вопроса

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

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

А чем вам питонисты не угодили?😂
.
79
всем доброго времени суток! имею вопрос: как понять ТОЧНО, что на нексус производится атака или он перегружен? исходные данные: - Nexus OSS 3.67.1-01 на OrientDB - Total co...
Michael Kostelcev
11
Всем привет, написал код ниже, но он выдает сегфолт, в чем причина? #include <stdio.h> #include <stdlib.h> #include <string.h> struct product { char *name; float price; };...
buzz базз
75
or any website to buy prepaid card with xmr that's not trocador that's down?
Umbrella Party Partner
18
Hi, I can't understand promises in JavaScript and what we should use them for (maybe the teacher didn't teach well XD). Do you have a solution for this? And are promises used...
A
29
Ещё такой вопрос. Мне необходимо хранить пароль пользователя локально. Для этого планирую использовать ini файл. Это для автозаполнения полей логин и пароль при авторизации. Е...
Евгений
19
Добрый день, LO Writer, проблема с нумерацией таблиц (вставка названия). У меня два стиля нумерованных списка, один для основного текста (вида 1.1.1) другой доя приложений (ви...
Виктор
6
My assets the Oceans at Binance, its displaying passive and no automatically convert, this situation will change?
Nationalizze
8
Xem delist ho rha hai agr naa bhechu toh kya hoga after 1 july?
ABHI
27
Ты просто гитлеровскую эстетику плохо понимаешь. Он же всё под Цезаря делал. А это как бы запрещённый приём в политике. Пиджаки они зачем все носят? Чтобы показать что они тип...
Ivan Kropotkin
4
Карта сайта