RavenDB is an exciting document database built from the ground up on the .NET platform bringing unique capabilities to the .NET developer. A key goal of this book is to orient .NET enterprise and relational database developers with RavenDB and help you to think differently about data problems. RavenDB is not just another relational database. It is fundamentally different and requires a fresh perspective.
This book also approaches RavenDB from the perspective of scalability, availability, and performance. Taking RavenDB into big data environments requires learning to harness the power of the document data model and the RavenDB API.
Chapter 1, A Different Kind of Database, introduces you to the NoSQL movement, document databases, and why RavenDB is an important new tool for software engineers.
Chapter 2, Optimizing the Data Model, presents the concepts of document database modeling with an eye to building a high performance database.
Chapter 3, Optimizing the API, discusses specialized RavenDB APIs to tune database interactions.
Chapter 4, Monitoring and Tuning, covers server monitoring and aids in pinpointing bottlenecks and performance issues.
Chapter 5, Scaling Out, discusses options for distributing data across a multi-node cluster for ultimate scalability.
Chapter 6, When Failure is not an Option, discusses building a resilient data architecture which must be the foundation of operating a high performance system.
Chapter 7, Deploying to the Cloud, covers the options for deploying RavenDB into the cloud.
Chapter 8, Extending RavenDB, discusses high performance techniques for building distributed applications by extending the RavenDB server.
Chapter 9, Optimizing the User Experience, covers advanced capabilities for providing highly effective user experiences.
In order to test and compile all of the examples in this book, you will need to install .NET 4.5 Framework, which is supported on all versions of Windows from Windows Vista and up, which you can find at http://www.microsoft.com/en-us/download/details.aspx?id=30653.
You will also need RavenDB 2.0 and in some cases 2.5 as noted. These versions are available for download from http://ravendb.net/download
RavenDB High Performance is a concise book covering advanced topics and assumes a basic understanding of RavenDB. It is written for developers building or planning large-scale systems with high performance requirements. The book will also benefit those who are designing systems in order to achieve high performance right from the start.
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "We can include other contexts through the use of the include
directive."
A block of code is set as follows:
class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
class Program
{
static void Main(string[] args)
{
Console.WriteLine(“Hello World!”);
}
}
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "clicking the Next button moves you to the next screen".
Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.
To send us general feedback, simply send an e-mail to <[email protected]>
, and mention the book title via the subject of your message.
If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.
Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.
Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.
Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.
Please contact us at <[email protected]>
with a link to the suspected pirated material.
We appreciate your help in protecting our authors, and our ability to bring you valuable content.
You can contact us at <[email protected]>
if you are having a problem with any aspect of the book, and we will do our best to address it.