The design of your document data model is a key to performance and simplicity. But it requires thinking from a document perspective and not a relational one. Your documents should represent the natural boundaries within your application. The other tools such as indexes are there to aid in querying and are not meant to replace good document design. Next up, we will move beyond the session-based APIs covered in this chapter. These specialized APIs allow for further performance optimizations.