I just put the finishing touches on an article comparing MongoDB 4.0.x transactions to using Two-Phase commit for a simple bank account transfer pattern. Head on over to http://learnmongodbthehardway.com/article/transactions/ to read all about it.
Introduction This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I’ll explain how Hugo uses templates and how you can organize your templates to create a theme. I won’t cover using CSS to style your theme. We’ll start with creating a new site with a very basic template.
Mongo Driver and Mongo DB 2.6 Features MongoDB 2.6 introduces some new powerful features that are reflected in the 1.4 driver release. These include. Aggregation cursors Per query timeouts maxTimeMS Ordered and Unordered bulk operations A parallelCollectionScan command for fast reading of an entire collection Integrated text search in the query language Moreover the driver includes a whole slew of minor and major bug fixes and features. Some of the more noteworthy features include.
The MongoDB driver is not installing correctly Most of the problems are with the native BSON parser and there can be a multitude of reasons why it’s not installing correctly and the driver is falling back to the js implementation of the serializer. This post will hopefully help you track down what the problem is on your system. We will start looking at it from a checklist point of view. Build Essentials Linux/Unix If you don’t have the build essentials it won’t build.
The New Bulk API One of the core new features in MongoDB 2.6 is the new bulk write operations. All the drivers include a new bulk api that allows applications to leverage these new operations using a fluid style API. Let’s explore the API and how it’s implemented in the Node.js driver. The API The API have two core concepts. The ordered and the unordered bulk operation. The main difference is in the way the operations in a bulk are executed.
I gave the presentation “Lessons from 4 years of driver develoment“ at JSConf EU 2013 in Berlin. The presentation is a summary of my four years of experience writing a successful open source project and all the good and bad experiences I’ve had over the last years in relation to this. Lessons from 4 years of driver develoment The video is also available Lessons from 4 years of driver develoment