Optimizing our models

Before we discuss how to build optimal models, we first need to understand the characteristics that need to be present in an optimal model. Let's take a look at the following:

  • Easy to adapt: An optimal model should be easy to adapt according to the changing needs of the application as its user base grows. This means changing a particular model should not require changes all across the application, and should be high in cohesion.
  • Maximizes the throughput on a host: Every host has a different architecture, and a data model should be able to exploit the underlying host resources in a manner that maximizes its throughput. This can be made possible by using the correct data storage engine for a particular architecture and ...

Get Hands-On Enterprise Application Development with Python 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.