The Little Mongo DB Schema Design Book

The Little Mongo DB Schema Design Book covers the fundamentals of Schema design with Mongo DB as well as several useful Schema design patters for your application. It will introduce such patterns as the queue pattern, the transaction pattern, the metadata pattern and much more as well as going into the fundamentals you will need to efficiently leverage Mongo DB in your application.

The Little Mongo DB Schema Design Book

Leanpub.com

Buy

Amazon.com

Buy

Amazon.co.uk

Buy

Amazon.de

Buy

Amazon.fr

Buy

Amazon.es

Buy

Latest Articles

  • Bit Packing or How to Love AND, OR or XOR https://www.maxpixel.net/Ones-Binary-Numbers-Zeroes-Random-Digital-1-0-1254485 Bit Packing or How to Love AND, OR or XOR Summary In this article we are going to explore the use of bit packing. It allows us to compress multiple values into a integer or binary field in MongoDB potentially allowing us to save on document size in storage and transmission over the wire. It has some real benefits but comes with trade offs that you should be clearly aware off before applying it.
  • Transactions vs Two-Phase commit MongoDB Transactions vs Two-Phase commit In this article we are going to investigate the difference in performance between using MongoDB Transactions or a Two-phase commit for a simple bank account transfer. The benchmarks were run on a local desktop and over a limited set of accounts to ensure we can get intermittent write conflicts. The Code We are going to try to transfer an amount of money between two accounts and rollback if it fails.