Home / Companies / MongoDB / Blog / February 2017

February 2017 Summaries

3 posts from MongoDB

Filter
Month: Year:
Post Summaries Back to Blog
MongoDB can generate globally unique identifiers, but sometimes an application may need to create custom unique identifiers. To address this, MongoDB provides several approaches for generating unique identifiers, including using ObjectID, a single counter document, multiple counter documents, randomly choosing a unique identifier and retrying if it is already assigned, or using a standard UUID algorithm. Each approach has its benefits and drawbacks, such as potential bottlenecks with the single counter document approach, the need to define the number of counter documents with the multiple counter documents approach, and the use of 128-bit UUIDs which may result in slightly larger documents. The choice of approach depends on the specific requirements of the application.
Feb 14, 2017 2,856 words in the original blog post.
Ops Manager 3.4, released in December, introduces a revamped user interface with notable changes and new features compared to its predecessor, version 2.0. The deployment page has been redesigned, featuring tabs for Processes, Servers, Agents, and Security, while additional functions such as Host Mappings and Version Manager are now accessible under a "More" section. Alerts in Ops Manager 3.4 have been streamlined into tabs, including a new Alert Settings tab, and agent health is now reported via alerts. Metric settings have been enhanced with dropdown menus for zoom and granularity, including a new auto-setting for optimal granularity, and hardware metrics are automatically gathered without the need for munin-node. Documentation and support are now accessed via buttons in a new location, and the Admin page retains its previous functionality while adding S3 blockstore configuration and server pool administration.
Feb 02, 2017 544 words in the original blog post.
This post demonstrates how to use MongoDB from Node.js, providing a thin layer between the application code and the MongoDB driver to simplify database interactions. The MongoDB Node.js Driver API is used to connect to a local or remote MongoDB database, perform CRUD operations, and access data in a document-based database. The application uses promises to handle asynchronous operations, making it easier to write efficient and scalable code. The post also covers the basics of the Express framework and its integration with MongoDB, providing a solid foundation for building modern web applications.
Feb 01, 2017 3,376 words in the original blog post.