O'Reilly logo

JavaScript at Scale by Adam Boduch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Coping with Failure

At this point in the book, we would like to think that our architecture is sound. We've thought about scale, and made all the appropriate trade-offs, sacrificing performance for configurability, and so on. The one aspect of scalable JavaScript architectures we have yet to go into any depth on is the human factor. As smart as we are, we're the weakest link because we design the application and write the code—and we're really good at making subtle mistakes.

Until we're taken out of the software development equation completely, we have to design our components with failure in mind. This involves thinking about the failure modes—do we fail fast, or do we try to recover from the error? It involves thinking about the quality ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required