The latest version of the MongoDB NoSQL database has simpler sharding alongside capped arrays, text search, and geospatial enhancements. A new commercial version has also been released.
The hash-based sharding is a new option designed to make it easier to create large-scale MongoDB systems. According to a post on the MongoDB blog:
“Using a hashed shard key allows users to get a good distribution of load and data in a simple manner, in cases where documents are accessed randomly through the key space, or if the access patterns may not be totally predictable.”
The addition of capped arrays will make it easier for you to maintain a fixed-length sorted array, so you can show top ranking items such as leaderboards and most viewed, emailed or purchased items. On a $push operation, users can now specify a $slice modifier, which trims the array to the last N items.
The geospatial features have been improved with the addition of GeoJSON support, a more accurate spherical model and polygon intersections. Elsewhere, a working set analyzer has been added to help with capacity planning on MongoDB clusters. The working set size analyzer tells you how many unique pages the server has needed in the last 15 minutes, so that you can track usage over time.
While the main MongoDB remains free of charge to use, 10gen has introduced a commercial version, MongoDB Enterprise, as part of a new MongoDB Enterprise subscription level. MongoDB Enterprise contains new monitoring and security features including Kerberos Authentication and Role-based Privileges with separate roles for server, database and cluster administration.
MongoDB is an open-source document database that provides a JSON data model with dynamic schemas, auto-sharding, built-in replication, and GridFS for large file storage. It has more than 4 million downloads.
When Apple introduced its Swift language there wasn't much point in being interested in it unless you were an iOS programmer. Now, with Apple promising to open source the new Swift 2.0, the situation [ ... ]
Smart Lock for Passwords, Instance ID, new APIs for Google Cloud Messaging and Google Cast, access to the Google Maps API on Android Wear devices and API enhancements for Google Fit are all incl [ ... ]