Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

Where Does API Complexity Live?

DEV Community·WunderGraph·29 days ago
#hu8P8mNx
#references#how#why#graphql#rest#caching
Reading 0:00
15s threshold

TL;DR Every API architecture handles the same five concerns - data fetching, security, caching, contract management, and governance. None of them disappear. They just move. REST pushes data fetching to the client and keeps security and caching in the infrastructure. GraphQL pulls data fetching to the server and pushes security and caching into application code. Federation distributes the runtime concerns across teams but lands governance on humans. Fission moves governance from humans to design-time tooling. The question you should be asking yourself is where you want each responsibility to live. In thermodynamics, the first law is non-negotiable: energy cannot be created or destroyed. It can only change form. To heat one thing, you must cool another. The total energy in a closed system remains constant. Software architecture obeys a similar law.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More