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

Chapter 6. When Failure is not an Option

As you scale up your users, the RavenDB server will be a critical piece of your infrastructure. Planning for failure is a key step for providing high availability and uptime to your users.

For high availability, RavenDB provides the following:

Type

Shared resources

How it works

Replication

Shared nothing

Documents are shipped from the source server to one or more destination servers on add, update, or delete.

Failover Clustering

Shared disk

Each node accesses shared database storage, but only one node is active at a time.