Book Image

RavenDB High Performance

By : Brian Ritchie
Book Image

RavenDB High Performance

By: Brian Ritchie

Overview of this book

<p>RavenDB is an exciting technology that challenges developers to reconsider their old ways of thinking about databases. In this day and age, Internet-scale applications require this fresh perspective. RavenDB High Performance moves beyond the basics and guides you through building scalable applications using the rich features and extensibility of RavenDB.</p> <p>RavenDB High Performance cuts through the noise and focuses on the key information you need to build scalable applications on the RavenDB document database. The book discusses every aspect of building a high performance system, from modeling your data to deploying it in a clustered environment. Examples are provided to make this information easy to apply to your specific application scenario.</p> <p>Beginning with the NoSQL movement, RavenDB High Performance delves into the forces pushing developers beyond the traditional relational database solutions. From there, the book focuses on the design and development of web-based applications on RavenDB. It gives clear advice and examples to guide the reader through this new and exciting technology. Data modeling through documents is discussed in detail. This understanding is critical for building clean code and scalable applications. Once this foundation is established, the author focuses on key APIs that optimize data access and give end users great experiences. Scaling out and high availability techniques are also discussed in detail.</p> <p>RavenDB High Performance brings together the resources you need for building scalable applications on RavenDB in an easy to understand and use format. Advice, diagrams, and code will help you quickly understand the concepts that you will apply to your next application.</p>
Table of Contents (17 chapters)
RavenDB High Performance
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Preface

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.

What this book covers

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.

What you need for this book

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

Who this book is for

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.

Conventions

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".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

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 , 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.

Customer support

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.

Errata

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

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 with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.