Hacker News new | ask | show | jobs
by jamespollack 2682 days ago
> That doesn't seem like a valid issue. If a bug in a single page could take the application down then the same could be said for the API powering the front-end.

What? The previous poster said coupling frontend / server tightly will result in crash of both if there is a server bug. Your response is that a bug in an unattached API could happen? Of course a bug in your API could crash your API. But at least then it's just your API that's crashed, not the (thousand) servers you're using to serve the front end and every device using them.

1 comments

If your API is down who cares if your app is being served or not? In the majority of cases it won’t work because the API is down.
If my app runs off multiple API, then the bug in my (for example) commenting API shouldn't prevent users from using the shopping cart API to check out.