Похожие чаты

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

19 просмотров

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

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

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

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта