REST vs. GraphQL: Critical Look

  Рет қаралды 61,194

Nordic APIs

Nordic APIs

Күн бұрын

Пікірлер: 39
@samirsaeedi74
@samirsaeedi74 5 жыл бұрын
starts at 17:08
@xNReaperx
@xNReaperx 5 жыл бұрын
Thank you
@batabatonica
@batabatonica 4 жыл бұрын
people like you
@moritzw42
@moritzw42 4 жыл бұрын
this type of comment is great and needed for 80% of all youtube videos.
@osman3404
@osman3404 5 жыл бұрын
Woow! Honesty this they BEST talk on REST vs Graphql. I like how The conclusions of the speaker are based on objective criteria and very well understood concepts and standards.
@BGivo
@BGivo 5 жыл бұрын
That's so strange, because I thought almost completely the opposite. It seems he presented his opinions as facts, and then drew conclusions from them as if they were facts.
@a0um
@a0um Жыл бұрын
@nordicapis what resources would you recommend to learn about REST and how to implement it?
@lexsoft3969
@lexsoft3969 4 жыл бұрын
I am interested in learning GraphQL, knowing its advantage. But when I started to read its documentation, my motivation decreased, and turned to look at good articles on REST API and found one. I don't know. However, my goal is to have skill on both techs, knowing which areas each tech fits best. Btw the speaker, Zdenek Nemec is a good guy; he answered my question for suggestions via email. :)
@osquigene
@osquigene 5 жыл бұрын
Why choose between Rest and GraphQL? I mean both can live next to each other and you can take advantage of both, depending on what you want to expose. More or less: data -> graphql, all the rest -> rest
@aiukar
@aiukar 4 жыл бұрын
Thank you very much for this, Zdenek! Really helpful all the categories you present and how the different technical solutions match those categories. I definitely liked it and helped me understand a lot of concepts. Please, keep sharing :)
@steveeuphrates-river7342
@steveeuphrates-river7342 2 жыл бұрын
I like this presentation- good and bad points of each.
@sonyvegasuser
@sonyvegasuser 5 жыл бұрын
Your REST pros and cons don't seem to align with any of the experience we have had in the last 10 years of building REST APIs. I'm not sure where you get that there is a high learning curve. You can build a REST API in spring framework with a handful of lines of code. I like GraphQL but this comparison seems very biased and slanted.
@KheraShanu
@KheraShanu 5 жыл бұрын
code for 10 more years and you will get it
@coolemur976
@coolemur976 3 жыл бұрын
@Mike Dunn I think you talking about "so-called REST APIs" 19:56 If you create REST API and follow all its rules, then things might get trickier. For a starter: REST API must be uniform. It must follow HTTP rules (right headers, right status codes, etc.). Have layered architecture. Rarely companies follows all the rules, because they want to make things happen quick. You can take "REST API" and ask yourself a question "why it's not a real REST". Most likely you will find a bunch of things that are not following REST architecture.
@param_at_youtube
@param_at_youtube 5 жыл бұрын
This video deserves more likes!!
@shaunwhyte6686
@shaunwhyte6686 3 жыл бұрын
I dont really understand caching issues aside from Brower cache, aside from that you can cache like normal?
@martingauthier5245
@martingauthier5245 5 жыл бұрын
This is an AWSOME Talk on REST vs GraphQL. Good Job !!!!
@SkywalkerWroc
@SkywalkerWroc 5 жыл бұрын
Not sure if the guy ever heard of OpenAPI standard... it solves large chunk of the complains he has about REST APIs, while most of the other issues he had were fundamentally sourced in lack of communication, poor project management, lack of architecture, he was lucky not to stumble upon similar issues with GraphQL, always new girlfriend is more sexy one, but you can screw up GraphQL just like you can screw up REST. Not to mention that some of the issues he has are also an advantages if you have someone with architect mindset in your team. REST is like a PC, GraphQL is like a next shiny console (with SOAP being one of the older generations of a console) - sure, there's plenty of shit on PCs, and it's easy to build one that doesn't work, but at the end of the day - it still holds the upper hand.
@KheraShanu
@KheraShanu 5 жыл бұрын
30:20 he talks about swagger, so I am pretty sure he knows OpenAPI standards
@rodelias9378
@rodelias9378 3 жыл бұрын
Well done! Thank you!!
@nitnekb1954
@nitnekb1954 5 жыл бұрын
Excellent, thx a lot "Z"!
@alex_chugaev
@alex_chugaev 3 жыл бұрын
I think you can succeed with either of technologies if you're cooking them right
@jonnytheponny5753
@jonnytheponny5753 5 жыл бұрын
He is only advociting for REST, because with GraphQL he would loose its Job;-) GraphQL solves almost all Problems of REST and makes APIs so much easier and better. I spent a lot if time comparing REST versus GraphQL. GraphQL is in almost all cases the better choice. 1.) REST only wins in having multiple Representations (that 90% of the users do not need) 2.) REST can have a slightly better performance (due to parsing overhad of GraphQL) 3.) in REST caching can be easier. (But I hardly know any API that uses standard Internet-Caches, what he talks about). Caching is so complex, you normally do inside the server and then it is the same for GraphQL and REST. 4.) And yes, you have to do your homework with GraphQL to write query optimized Resolvers (N+1 Problem). But this is solvable. All the other cases he talks about you can have a completly oppositie view and stuff you can easily do with GraphQL, much better. It's like my dad defending that the music of the Beatles is the best music ever...
@gcfdcfgd2728
@gcfdcfgd2728 4 жыл бұрын
What do you mean by "multiple Representations"?
@mrwho2513
@mrwho2513 5 жыл бұрын
this was a "critical conclusion" based on your research, not a critical look on some examples
@j3bb9z
@j3bb9z 4 жыл бұрын
I'm dissapointed that the gRPC and protobuf were completely ignored here. Especially when talking about performance. Also, I don't agree with some of the disadvantages of GraphQL and advantages of REST. For example - I think that application-level caching is more significant than network level caching. You have to know what to cache and for how long - and this knowledge belongs to application, not the infrastructure. Also, some of the presented advantages (like paging and the whole HATEOAS) of REST APIs are not guaranteed by openapi/swagger specification and therefore can be subject of bikeshedding in same way as in GraphQL APIs.
@BlackShampoo75
@BlackShampoo75 5 жыл бұрын
Oranges vs apple juice
@FilipCordas
@FilipCordas 5 жыл бұрын
Can someone explain to me how is GraphQL different than a regular graph database? How is this suppose to be better then a good fast graph database you probably won't be able to make it run faster than the database so why?
@intelligentornotintelligen5485
@intelligentornotintelligen5485 5 жыл бұрын
it's not a database , it's an API..
@iex32
@iex32 4 жыл бұрын
@@intelligentornotintelligen5485 ahaha LOL ))))
@h0ph1p13
@h0ph1p13 3 жыл бұрын
Pretty much all they have in common is the word "graph" and maybe some of the concept. Outside of that - they are two completely different things.
@FilipCordas
@FilipCordas 3 жыл бұрын
@@h0ph1p13 Well no GraphQL is to graph database what odata is to sql. Sure you could make odata work with anything but once you get into advance stuff you actually need you really can't make it work. This just one more needles abstraction for 99% of applications.
@TomerBenDavid
@TomerBenDavid 4 жыл бұрын
:)
@intelligentornotintelligen5485
@intelligentornotintelligen5485 5 жыл бұрын
let's not use graphql , for the sake of engineering!
@hexchad765
@hexchad765 4 жыл бұрын
I love when I find strange, emotional, but enthusiastic opinions. It gives more insight into the person than the question
GraphQL vs REST: Which is Better for APIs?
7:31
IBM Technology
Рет қаралды 210 М.
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 6 МЛН
Why I Don’t Use GraphQL Anymore
16:29
Harry Wolff
Рет қаралды 70 М.
Event-Driven Architecture (EDA) vs Request/Response (RR)
12:00
Confluent
Рет қаралды 171 М.
The Right Way To Build REST APIs
10:07
Awesome
Рет қаралды 112 М.
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Software Developer Diaries
Рет қаралды 89 М.
BFF VS GRAPHQL
9:11
Going Headless with John
Рет қаралды 13 М.
The Truth About GraphQL
12:06
Theo - t3․gg
Рет қаралды 103 М.
GraphRAG: The Marriage of Knowledge Graphs and RAG: Emil Eifrem
19:15
How to (and how not to) design REST APIs
14:28
CodeOpinion
Рет қаралды 57 М.
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 6 МЛН