It is always important to use the right tool for the right job. The RavenDB API is no exception. Use the standard session-based APIs for 90 percent of your application and bring out these specialized APIs only when needed. However, when these APIs are used in the right place, they will make a huge difference in your application performance.
The foundation of our high performance application is now in place. We have explored building a great data model and how to tune the usage of the RavenDB API. In the next chapter, we will look at monitoring the application under load. This chapter will cover the tools available for locating bottlenecks and how to tune the server for optimal performance.