Home > General > 50 Tips And Tricks For MongoDB Developers
50 Tips And Tricks For MongoDB Developers

50 Tips And Tricks For MongoDB Developers

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

Getting started with MongoDB is easy, but once you begin building applications with it, you'll face some complex issues. What are the tradeoffs between normalized and denormalized data? How do you handle replica set failure and failover? This collection of MongoDB tips, tricks, and hacks helps you resolve issues with everything from application design and implementation to data safety and monitoring. You get specific guidance in five topic areas directly from engineers at 10gen, the company that develops and supports this open source database: Application Design Tips: What to keep in mind when designing your schema Implementation Tips: Programming applications against MongoDB Optimization Tips: Speeding up your applications Data Safety Tips: Using replication and journaling to keep data safe without sacrificing too much performance Administration Tips: How to configure MongoDB and keep it running smoothly About The Author Kristina Chodorow, a software engineer at 10gen, is a core contributor to the MongoDB project and has worked on the database server, PHP driver, Perl driver, and many other areas. She s given talks at conferences around the world, including OSCON, LinuxCon, FOSDEM, and Latinoware. Kristina Chodorow Chapter 1 Application Design Tips. Table of ContentChapter 1 Application Design Tips Tip #1: Duplicate data for speed, reference data for integrity Tip #2: Normalize if you need to future-proof data Tip #3: Try to fetch data in a single query Tip #4: Embed dependent fields Tip #5: Embed point-in-time data Tip #6: Do not embed fields that have unbound growth Tip #7: Pre-populate anything you can Tip #8: Preallocate space, whenever possible Tip #9: Store embedded information in arrays for anonymous access Tip #10: Design documents to be self-sufficient Tip #11: Prefer $-operators to JavaScript Tip #12: Compute aggregations as you go Tip #13: Write code to handle data integrity issues Chapter 2 Implementation Tips Tip #14: Use the correct types Tip #15: Override _id when you have your own simple, unique id Tip #16: Avoid using a document for _id Tip #17: Do not use database references Tip #18: Don t use GridFS for small binary data Tip #19: Handle seamless failover Tip #20: Handle replica set failure and failover Chapter 3 Optimization Tips Tip #21: Minimize disk access Tip #22: Use indexes to do more with less memory Tip #23: Don t always use an index Tip #24: Create indexes that cover your queries Tip #25: Use compound indexes to make multiple queries fast Tip #26: Create hierarchical documents for faster scans Tip #27: AND-queries should match as little as possible as fast as possible Tip #28: OR-queries should match as much as possible as soon as possible Chapter 4 Data Safety and Consistency Tip #29: Write to the journal for single server, replicas for multiserver Tip #30: Always use replication, journaling, or both Tip #31: Do not depend on repair to recover data Tip #32: Understand getlasterror Tip #33: Always use safe writes in development Tip #34: Use w with replication Tip #35: Always use wtimeout with Tip #36: Don t use fsync on every write Tip #37: Start up normally after a crash Tip #38: Take instant-in-time backups of durable servers Chapter 5 Administration Tips Tip #39: Manually clean up your chunks collections Tip #40: Compact databases with repair Tip #41: Don t change the number of votes for members of a replica set Tip #42: Replica sets can be reconfigured without a master up Tip #43: --shardsvr and --configsvr aren t required Tip #44: Only use --notablescan in development Tip #45: Learn some JavaScript Tip #46: Manage all of your servers and databases from one shell Tip #47: Get help for any function Tip #48: Create startup files Tip #49: Add your own functions Tip #50: Use a single connection to read your own writes


Best Sellers



Product Details
  • ISBN-13: 9789350233993
  • Binding: Paperback
  • ISBN-10: 9350233993
  • Language: English

Related Categories

Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
50 Tips And Tricks For MongoDB Developers
-
50 Tips And Tricks For MongoDB Developers
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

50 Tips And Tricks For MongoDB Developers

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals



    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!