Summary
Hopefully, this chapter has given the reader food for thought and techniques to apply to scale a RESTful web service. Ultimately, scaling a system is a complex exercise and no one solution fits all needs. The most important aspects for designers to bear in mind are that they should avoid single points of failure and prefer stateless systems over stateful ones to the extent that it is possible to do so (not all applications lend themselves to statelessness). Avoiding tight coupling between the components of a system through well-defined interfaces and asynchronous communication should also be high on the agenda.
This chapter also concludes our tour of building performant, secure, and scalable RESTful web services with the Spring Framework. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access