Skip to content

Latest commit

 

History

History
67 lines (48 loc) · 4.57 KB

README.md

File metadata and controls

67 lines (48 loc) · 4.57 KB

Mythbusters.REST

With the relatively recent appearance of GraphQL and gRPC on the API scene, a lot of people have started sharing some Interesting Opinions™.

If you would like to know the technical differences between REST, gRPC and GraphQL, then this article can help highlight that.

If you would like to know when to use a specific paradigm over another, then this article can help with that.

If you would like to read some nonsense about REST that people have posted in their "I like GraphQL/gRPC/other but I didn't really understand REST so now I'm going to moan about REST" articles, then please do read on!

Articles

Once we have the FAQ/FUD content up, we can start tagging commonly referenced articles with those FUDs. We'll keep a list here until we get around to doing it. PR in your "favourites".

That last one has a lot of odd stuff in it, and I talked to the author a bunch which actually makes for some good content.

Yep, that’s 5 HTTP requests, 5 times the network latency, 5 times the battery drain. Over a 3G network, count at least 5 seconds for the list of tweets to show up on screen. That’s u...

iOS lets you make 5 concurrent HTTP connections, so this would actually only be 1 second. http://blog.lightstreamer.com/2013/01/on-ios-url-connection-parallelism-and.html

5x requests in serial is slower than 5 async requests.

REST doesn’t have the notion of schema, a contract that describes exactly what a web service is supposed to return. Just like with standards above, the absence of schema leads to the...

REST does not care about it no, but JSON Schema exists and it’s a thing. A lot of people ignore it, and that winds me up, but it’s not a failure of REST.

https://blog.apisyouwonthate.com/guessing-api-contracts-ac1b7eaebced