REST, gRPC, or GraphQL: Which Should You Use?

  Рет қаралды 4,218

Gui Ferreira

Gui Ferreira

Күн бұрын

Пікірлер: 9
@JoaoVictorFerreira-xx1rq
@JoaoVictorFerreira-xx1rq 4 ай бұрын
Once I used Graphql with strawberry library to consume an array of large objects and the performance was horrible, multiple times slower than rest. With my small knowledge/experience with Graphql, I imagine it is better than rest only for BFF and small requests as you said.
@gui.ferreira
@gui.ferreira 4 ай бұрын
That's the problem. It's hard to get it right
@Fikusiklol
@Fikusiklol 3 ай бұрын
Im currently trying graphQL and it actually feels really hard to build and also amount of sugar and short cuts are insane. Just feels like im swimming against the tide. From my experience, which is low, graphQL is only good for BFF.
@zikkrype
@zikkrype 3 ай бұрын
gRPC and good developer experience? Configuring, maintaining gRPC is exactly opposite of development experience. As you mentioned “not human readable” can be one the definitions of bad developer experience
@parabambara
@parabambara 3 ай бұрын
Right?! My experience exactly. Ok, it's performant, but also a pain in the bottom to setup and maintain. Protobuf syntax, binary serialization, client code generation. When you're targeting performance you usually sacrifice convenience. And deactivate user using REST? Easy-peasy if you are not hell-bent on RESTFUL. Even GET request can contain a body and IIRC there is nothing in the RFC against that. And if you want to follow RESTFUL it becomes a kind of mind exercise - you can treat user block as a resource that can be POSTed or DELETEd from user. It's all in your mind. Frameworks and design patterns primarily should be enhancing development, not hindering it.
@zikkrype
@zikkrype 3 ай бұрын
@@parabambara maintaining proto file is something. You really need to be wealthy company to benefit from spending expensive developers time to maintain and troubleshoot grpc in order to benefit in long perspective
@gui.ferreira
@gui.ferreira 3 ай бұрын
I mentioned the developer experience from the consumer perspective. With tooling in place, you have the generated clients that simplify a lot
Now I Know Why Most People Don’t Use gRPC
19:11
ArjanCodes
Рет қаралды 60 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
GraphQL vs REST: Which is Better for APIs?
7:31
IBM Technology
Рет қаралды 214 М.
Что такое gRPC и Protobuf?
8:37
Merion Academy
Рет қаралды 60 М.
Goodbye Exceptions! Hello Result Pattern!
9:16
Gui Ferreira
Рет қаралды 11 М.
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Software Developer Diaries
Рет қаралды 91 М.
Here Is the Most Powerful EF Core Configuration Technique
16:05
Zoran Horvat
Рет қаралды 14 М.
Where should you use gRPC? And where NOT to use it!
10:57
CodeOpinion
Рет қаралды 87 М.
The Hidden Cost Of GraphQL And NodeJS
28:35
ThePrimeTime
Рет қаралды 200 М.
Building better DTOs in C#
11:57
Gui Ferreira
Рет қаралды 7 М.
When to Use Kafka or RabbitMQ | System Design
8:16
Interview Pen
Рет қаралды 149 М.
Do NOT Use Int IDs In Your API
8:01
Gui Ferreira
Рет қаралды 34 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН