Summary
In this chapter, we have reviewed how to decide which database to use, depending on the kind of workload that we need to implement. We have looked at what hot-spotting is and how to avoid this problem when we design our primary keys. Finally, we have learned the best practices around performance, error handling, and the reduction of costs and latency. In the next chapter, we will review how to optimize our application's performance using caching strategies.