Chapter 5. Re-architecting

This chapter covers

  • Splitting a monolithic codebase into multiple components
  • Distributing a web application into a collection of services
  • The pros and cons of microservices

In the previous chapter we looked at techniques for refactoring—making improvements at the source code level. But refactoring can get you only so far, and sometimes you need to think bigger. In this chapter we’ll look at ways to improve the structure of the software as a whole by splitting it into smaller, more maintainable components. I’ll also discuss the pros and cons of splitting an application into multiple services, micro or otherwise, communicating over the network.

5.1. What is re-architecting?

Don’t worry too much about the difference ...

Get Re-Engineering Legacy Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.