• Complain

Guy Harrison - MongoDB Performance Tuning: Optimizing MongoDB Databases and their Applications

Here you can read online Guy Harrison - MongoDB Performance Tuning: Optimizing MongoDB Databases and their Applications full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2021, publisher: Apress, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Guy Harrison MongoDB Performance Tuning: Optimizing MongoDB Databases and their Applications
  • Book:
    MongoDB Performance Tuning: Optimizing MongoDB Databases and their Applications
  • Author:
  • Publisher:
    Apress
  • Genre:
  • Year:
    2021
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

MongoDB Performance Tuning: Optimizing MongoDB Databases and their Applications: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "MongoDB Performance Tuning: Optimizing MongoDB Databases and their Applications" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Intermediate-Advanced user level

Guy Harrison: author's other books


Who wrote MongoDB Performance Tuning: Optimizing MongoDB Databases and their Applications? Find out the surname, the name of the author of the book and a list of all author's works by series.

MongoDB Performance Tuning: Optimizing MongoDB Databases and their Applications — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "MongoDB Performance Tuning: Optimizing MongoDB Databases and their Applications" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Contents
Landmarks
Book cover of MongoDB Performance Tuning Guy Harrison and Michael Harrison - photo 1
Book cover of MongoDB Performance Tuning
Guy Harrison and Michael Harrison
MongoDB Performance Tuning
Optimizing MongoDB Databases and their Applications
1st ed.
Logo of the publisher Guy Harrison Kingsville VIC Australia Michael - photo 2
Logo of the publisher
Guy Harrison
Kingsville, VIC, Australia
Michael Harrison
Derrimut, VIC, Australia

Any source code or other supplementary material referenced by the author in this book is available to readers on GitHub via the books product page, located at www.apress.com/9781484268780 . For more detailed information, please visit http://www.apress.com/source-code .

ISBN 978-1-4842-6878-0 e-ISBN 978-1-4842-6879-7
https://doi.org/10.1007/978-1-4842-6879-7
Guy Harrison, Michael Harrison 2021
This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.
The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use.
The publisher, the authors and the editors are safe to assume that the advice and information in this book are believed to be true and accurate at the date of publication. Neither the publisher nor the authors or the editors give a warranty, expressed or implied, with respect to the material contained herein or for any errors or omissions that may have been made. The publisher remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Distributed to the book trade worldwide by Springer Science+Business Media LLC, 1 New York Plaza, Suite 4600, New York, NY 10004. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer-sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.

Dedicated to my darling Jenny, who makes my life joyful.Guy

Dedicated to Oriana, without whom this book would have been completed much sooner.Mike

Introduction

When MongoDB emerged in 2009, database technologies were at a crossroads. For more than 20 years, relational databases such as Oracle, SQL Server, and MySQL had dominated the database market. These databases, which combined the relational data model, SQL language, and ACID transactions, had been the foundation for applications that transformed modern business and which powered the Internet revolution. But by the middle of the first decade of the new century, it was clear that the relational database was failing to meet the demands of a new breed of always-on, globally scalable, web applications. These new Web 2.0 applications demanded new breeds of database management systems.

By 2010, a plethora of non-relational NoSQL systems had emerged Hadoop, HBase, Cassandra, and many others. Of these non-relational upstarts, MongoDB has been by almost any measure the most successful. As we write this, MongoDB ranks as one of the top five database management systems. Of these top five, only MongoDB is based on 21st-century technologies. The other four (Oracle, MySQL, SQL Server, and Postgres) all have their origins in the 1980s and 1990s.

MongoDBs success can be ascribed to many factors such as alignment with object-oriented programming paradigms and compatibility with modern DevOps practices. In the main, MongoDB has thrived because it made life easier for developers. However, in the past few years, weve seen MongoDB graduate from a by developers for developers database to a platform supporting a new generation of mission-critical systems across an increasingly broad range of enterprises.

As MongoDB has matured and expanded its enterprise footprint, performance management has become increasingly important. As we know, poorly performing customer-facing applications can be fatal for todays online enterprise. For instance, when the load time for a web page increases from 1 second to 5 seconds, the probability of a user abandoning the page rises by 90% directly impacting online revenue. And because databases perform so much disk IO and data crunching, the database is often the root cause of that poor performance.

Furthermore, in the cloud, performance management is cost management: poorly performing databases consume unnecessary CPU, memory, and IO resources that cost real money. A couple of days spent tuning a large-scale MongoDB-based cloud application could potentially save hundreds of thousands of dollars in hosting fees.

Indeed, we could even argue that performance management is an environmental imperative. The electricity that powers busy database servers costs more than just money its also associated with greenhouse gas production. Reducing energy consumption in the home is a social responsibility; reducing energy consumption in the data center is as important. A badly tuned MongoDB database is like a poorly tuned car that backfires and belches smoke: it may get you from A to B, but it will cost you more in gas and exact a heavier toll on the environment.

This book is our attempt to produce a coherent and comprehensive MongoDB tuning manual. To that end, we set out with the following objectives:
  • To provide a methodology for MongoDB performance tuning that addresses performance issues systematically and efficiently. In particular, this methodology attempts to address causes before symptoms.

  • To address all aspects of MongoDB performance management, from database design through to the tuning of application code and on to server and cluster optimization.

  • To maintain a strong focus on tuning fundamentals. Fundamentals are usually where the most significant performance gains can be achieved and if not addressed usually limit the benefits gained through the application of advanced techniques.

How This Book Is Structured
The chapters of this book fall into the following broad parts:
  • Chapters cover methods and techniques. In these chapters, we describe a performance tuning methodology that we believe provides the most effective means of tuning MongoDB databases. We also offer some background on MongoDB architecture and on the tools that MongoDB provides for investigating, monitoring, and diagnosing MongoDB performance.

  • Chapters cover application and database design. Here, we cover the basics of developing an efficient document model and of indexing MongoDB collections.

  • Chapters cover the optimization of application code. Tuning your application code usually offers the most significant database performance opportunities and should be addressed before adjusting your server or cluster configuration. Well look at how to optimize MongoDB find() statements, aggregation pipelines, and data manipulation statements.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «MongoDB Performance Tuning: Optimizing MongoDB Databases and their Applications»

Look at similar books to MongoDB Performance Tuning: Optimizing MongoDB Databases and their Applications. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «MongoDB Performance Tuning: Optimizing MongoDB Databases and their Applications»

Discussion, reviews of the book MongoDB Performance Tuning: Optimizing MongoDB Databases and their Applications and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.