This article describes how to use Python, Selenium, and search‑index services to scrape and visualize popularity data for Chinese tourist spots during the National Day holiday, presenting a ranking of destinations and providing full code examples for data collection, cleaning, and storage.
The 2018 Gdevops Global Agile Operations Summit in Beijing gathered experts who shared practical insights on AIOps, DevOps, cloud‑native databases, MongoDB, TiDB on Kubernetes, SQL optimization, and operational best practices, providing a comprehensive snapshot of modern enterprise operations trends.
The article presents a detailed case study of the 58 Cloud DB Platform, describing its architecture, automated workflow using Celery and Ansible, and intelligent features such as server selection and alarm merging powered by machine‑learning, highlighting how it streamlines MySQL, Redis, and MongoDB operations for developers and DBAs.
This article explains how to design data architecture for microservice systems, covering microservice fundamentals, advantages, decoupling, lightweight APIs, continuous delivery, database per service versus shared databases, polyglot persistence, scaling dimensions, sharding strategies, and why MongoDB is a suitable choice.
This guide explains how to set up a Python‑based log‑analysis tool for web servers, defines key terminology, outlines installation requirements, describes its abstract‑based aggregation features, and demonstrates usage of the accompanying command‑line utility for request, IP, distribution, and detail analysis.
MongoDB 4.0 has been officially released, bringing multi‑document ACID transactions, new aggregation operators, driver compatibility updates, enhanced security features, deprecation of the MMAPv1 storage engine, and broader platform support, while also offering free cloud monitoring for standalone and replica set deployments.
This article examines the requirements of active‑active applications across multiple data centers, compares distributed database architectures—including two‑phase commit, multi‑master, and sharded designs—and explains how MongoDB’s sharding and write/read concerns enable high availability, consistency, and rapid failover in such environments.
This tutorial walks you through creating a reactive Spring WebFlux RESTful API using Spring Boot 2.0 and MongoDB, covering project setup, database connection, model, DAO, controller implementation, and testing the CRUD operations with practical code examples and screenshots.
MongoDB 4.0 introduces true ACID‑compliant multi‑document transactions, bridging the gap between relational database consistency and NoSQL flexibility, while preserving high performance, scalability, and ease of development for a wide range of application scenarios.
This tutorial demonstrates how to install PyMongo, connect to a MongoDB server, and perform comprehensive CRUD operations, query filters, array manipulations, and nested field updates using Python code examples.
This tutorial walks you through creating a reactive microservice architecture using Spring WebFlux, Spring Cloud components such as Eureka and Gateway, and Spring Data Reactive MongoDB, covering dependency setup, controller and repository code, service discovery, load‑balanced inter‑service calls, gateway routing, Docker deployment, and testing with curl.
This article introduces MongoDB, an open-source document-oriented database, outlines its key features such as indexing, sharding, and MapReduce, and provides step-by-step instructions for installing and running MongoDB on a system using Homebrew, along with basic shell commands.
The article compares the MEAN (MongoDB, Express, Angular, Node.js) and LAMP stacks, highlighting MEAN's flexibility, simplicity, and performance advantages while acknowledging LAMP's reliability, and lists nine reasons to consider MEAN for new projects.
This article introduces a Python‑based log analysis tool for web servers that provides minute‑level aggregation, abstracted URI and argument patterns, and multi‑dimensional performance metrics, along with installation steps, core features, implementation details, usage commands, and deployment guidelines.
This guide introduces the spring-boot-starter-mongodb-plus library, shows how to add it to a Spring Boot project, enables easy annotation-based activation, and provides a comprehensive list of configurable MongoDB connection properties with their default values for fine‑tuned backend performance.
This article shares a Linux operations engineer’s interview experience, presenting seven common interview questions—self‑introduction, gray‑release implementation, MongoDB deployment, Jenkins‑based release and rollback, Tomcat work modes, monitoring solutions, and data backup—along with concise, practical answers and preparation tips.
This article explains the reasons Python 2 remains dominant, compares Python 2 and 3 features, offers guidance on learning Python via the __future__ library, and provides a step‑by‑step tutorial for building a lightweight DevOps monitoring platform using Django, MongoDB, ECharts and Psutil.
Envoy’s extensible filters enable detailed access logging and database sniffing for MongoDB, DynamoDB, and Redis, offering customizable log formats, per‑operation statistics, health checks, and future enhancements such as circuit breaking and retries, while providing configuration guidance for each filter.
This article details the design of a modular Java payment system that handles payment initiation, refunds, and callback processing by leveraging asynchronous execution with ExecutorService, RabbitMQ, Redis caching, MongoDB for persistence, and MySQL for configuration data, all illustrated with architecture diagrams and code examples.
This article explains how to create a Python‑based Scrapy spider that logs into Sina Weibo using cookies, crawls user profiles, posts, followers and followees from the WAP site at speeds exceeding 13 million records per day, and stores the data in MongoDB.
This article explains the necessity of globally unique and trend‑ordered identifiers for business systems, compares database auto‑increment, UUID, Redis, Snowflake, and MongoDB ObjectId solutions, and outlines their advantages, drawbacks, and best‑practice design criteria.
MongoDB 3.6 introduces authentication restrictions that let you enforce IP whitelists for both client and server connections, and this guide walks through creating a user, configuring bind_ip, restarting the server, and verifying the setup with concrete commands and screenshots.
This article explains MongoDB indexing fundamentals, covering B‑Tree structures, index selectivity, unique and compound indexes, practical code examples, and guidelines to optimize query performance and reduce I/O operations.
This article evaluates MongoDB and MySQL for storing and querying large‑scale precious‑metal market data, detailing hardware setup, version configurations, schema designs, and extensive performance benchmarks across million‑ to billion‑record datasets, and concludes with analysis of memory architectures, data models, and suitable application scenarios.
This article provides a concise overview of MongoDB 3.6 RC3 release notes, covering security defaults, new aggregation operators, array update enhancements, shell command additions, JSON schema support, replica set authentication, sharding parameters, and practical tips to avoid common pitfalls.
The article explains eBay's use of MongoDB to create highly available, fault‑tolerant multi‑data‑center architectures, detailing design patterns, replica set configurations, read/write strategies, and recent MongoDB features that enable scalable, mission‑critical applications.
This article walks through a practical, step‑by‑step migration from MongoDB to MySQL for a Rails project, covering data export, preprocessing embedded documents, handling UUIDs, adapting Mongoid plugins, rewriting models, writing migration scripts, rebuilding relationships, managing many‑to‑many links, and emphasizing thorough testing to ensure a smooth, low‑downtime transition.
This article explains how MongoDB’s security features—including access control, authentication, encryption, data discovery, retention policies, zone sharding, backup, monitoring, and audit logging—help organizations meet GDPR requirements while minimizing operational overhead and ensuring data sovereignty.
This tutorial walks through using Python and BeautifulSoup to crawl user profiles, fan lists, and song information from the Quanmin K‑Song app, clean and store the data in MongoDB, handle pagination, and prepare the dataset for further analysis.
The article examines the widespread exposure of MongoDB instances on default ports, outlines how attackers hijack them, and provides concrete steps—including enabling authentication, configuring role‑based access, encrypting traffic, and limiting network exposure—to secure MongoDB deployments.
This article explains the concept of Database-as-a-Service (DBaaS), introduces MongoDB’s core capabilities, outlines the essential components such as lifecycle management, disaster recovery, monitoring, and value‑added services, and provides practical guidance on building a production‑grade MongoDB DBaaS platform.
Inspired by a tutorial, I created a MongoDB‑backed crawler for the Yisou novel website, extracting category links, managing URL states across multiple processes, handling millions of pages, and finally deduplicating the results to obtain a clean collection of books.
The article explains why thousands of MongoDB instances are repeatedly compromised—due to password‑less logins and public exposure—details the inherent design flaws, and describes UCloud’s UDB MongoDB security measures such as mandatory authentication, VPC isolation, data backup, and performance‑friendly connection pooling.
This article explains common MongoDB connection problems, authentication mechanisms, read‑preference tuning, index types and creation, query‑plan analysis, pagination techniques, and array handling, offering practical tips to improve performance and reliability for developers.
This article introduces MongoDB’s core characteristics, compares standalone, replica set, and sharded deployments, explains hash, range, and zone sharding methods, outlines data balancing mechanisms, and presents Qihoo 360’s QConf configuration service as a complementary solution.
This article explains MongoDB sharded clusters, covering data distribution, primary shard concepts, metadata collections, commands for moving primary shards, managing balancer settings, handling jumbo chunks, and procedures for adding or removing shards, with practical code examples for each operation.
This article details a step‑by‑step process for crawling all popular Ximalaya channels, extracting each audio's metadata, and storing roughly 700,000 records in MongoDB, while also showing how to speed up the crawl with asynchronous requests.
This article chronicles the multi‑year architectural evolution of Tongcheng Travel's push notification platform, detailing early batch‑job designs, successive redesigns using Redis, MongoDB, Kafka, Go, and .NET, and the performance, scalability, and operational improvements achieved through each major version.
This article explains how to build a basic SMS verification feature by choosing a gateway, generating and storing 4‑digit codes in MongoDB with TTL, and validating them through a simple backend workflow using Node.js and Mongoose.
The talk outlines MamaBang's evolution from MySQL to a multi‑zone MongoDB cluster, compares MongoDB with relational databases, discusses data‑model design, sharding, replication, transaction handling, operational challenges, and offers practical advice for teams considering MongoDB adoption.
The article shows how attackers automate mass exploitation of widely‑known flaws—scanning the Internet for open MongoDB, Redis, ElasticSearch or Struts2 services, using unauthenticated access or public PoCs to encrypt data, execute code, or build botnets, and stresses that timely patching and secure defaults are essential to stop such N‑day attacks.
This article introduces MySQL and MongoDB, compares their characteristics, and demonstrates simple CRUD commands for each, helping developers understand when to choose a relational versus a non‑relational database based on business needs.
TDSQL’s cloud‑based audit solution combines a three‑proxy high‑availability layer, Kafka’s O(1) persistent messaging, and a distributed audit‑server that uses consistent hashing and multi‑coroutine processing to consume data within seconds, while fault‑tolerant offsets, majority acknowledgments, and Tencent Cloud MongoDB storage ensure secure, ordered, scalable, and highly reliable audit logging.
Thousands of MongoDB databases were erased and replaced with ransom demands, yet almost no victims recovered their data, highlighting widespread misconfigurations, public exposure on Shodan, and the urgent need for proper security hardening of MongoDB deployments.
This article explains the root causes of unauthenticated public‑IP MongoDB breaches, outlines UCloud's built‑in security safeguards, and provides step‑by‑step guidance for hardening self‑hosted MongoDB and smoothly migrating it to a cloud‑managed service.
This article introduces Mongosync, a Qihoo 360‑developed tool for transferring data between MongoDB replica sets, detailing its background, supported features such as full‑data and real‑time oplog synchronization, version compatibility, multithreaded bulk writes, configurable options, performance test results, and future development plans.
This tutorial walks through creating a simple REST API with POST, GET, PUT, and DELETE endpoints using Node.js, Express, MongoDB, and Mocha, demonstrating a test‑driven development workflow from writing tests to implementing passing code.
This article summarizes the most recent releases of major NoSQL and NewSQL databases—including MongoDB 3.4, Redis 3.0/3.2, HBase 1.2.4, Apache Geode 1.0, TiDB RC1, and the final update of RethinkDB—highlighting key new capabilities, performance improvements, and operational enhancements.
This article surveys twelve leading open‑source big‑data and analytics platforms—including Hadoop, Spark, Talend, and MongoDB—detailing their capabilities, market adoption, and how they fit into modern enterprise data‑driven workflows.
This guide from the 360DBA team explains how to select the appropriate MongoDB PHP driver version based on PHP and server releases, shares real‑world case studies of version issues, and provides step‑by‑step instructions for downloading, compiling, installing, and verifying the driver.
This guide walks through the reasons for sharding in MongoDB, explains the sharding architecture, and provides detailed commands to configure config servers, shard servers, and mongos, add shards, enable sharding on databases and collections, insert test data, and verify successful data distribution across shards.
This article explains MongoDB’s key features, compares its advantages and disadvantages, and provides a detailed, step‑by‑step guide to installing, configuring, and verifying a replica set on CentOS 6.6, including commands for package installation, configuration file editing, service startup, node addition, and data synchronization verification.
This guide thoroughly explains MongoDB's permission system, covering key concepts, role creation, inheritance, privilege assignment, user management, and essential precautions to avoid common security pitfalls and simplify administration.
This guide explains MongoDB read preference options, write concerns, authentication setup, replica set configuration, and connection best practices with PHP examples, helping developers improve database performance and avoid common pitfalls in production environments.
This comprehensive guide presents the most common MongoDB interview questions, covering NoSQL fundamentals, replication, sharding, transactions, profiling, storage nuances, and operational details, providing concise yet thorough answers to help candidates confidently tackle technical interviews.
This guide explains how to use MongoDB's built-in mongostat tool and key database functions like db.stats() and db.serverStatus(), detailing command options, output metrics, and how to interpret them for diagnosing performance issues and monitoring server health.
This guide details a production‑grade MongoDB replica‑set deployment, covering hardware specs, configuration files, replica‑set initialization, user creation, incremental backup with mongobackup scripts, primary node switching, cold backup procedures, troubleshooting authentication errors, and test data generation for performance validation.
This guide walks you through purchasing a Tencent Cloud instance, installing and configuring Nginx, Node.js, MongoDB, and setting up deployment scripts, covering SSH access, compiling the latest Nginx with HTTP/2 support, and automating service startup for a robust community website.
MongoDB replicaSet offers various node roles—including data, arbiter, hidden, voting, and delayed nodes—each with distinct advantages and constraints, and the article explains their purposes, best‑practice configurations, and how to add them using appropriate rs commands for robust, automated failover.
This article explains the three scenarios that trigger MongoDB chunk migration, describes the Balancer's lock‑based operation, and walks through the six detailed steps—including tag‑based splits, draining shard handling, and load‑balancing thresholds—that ensure data is evenly distributed across shards.
This guide shares ten practical MongoDB performance tips—including proper index ordering, using explain() and hint(), avoiding costly query operators, leveraging capped collections, upsert, sorting limits, aggregation, drop vs remove, batch inserts, and optimal indexing for arrays and range queries—to help developers boost database efficiency.
This article introduces Apache Spark as a fast, general‑purpose big‑data engine, explains its ecosystem, compares HDFS with MongoDB, and demonstrates how Spark can be combined with MongoDB through the Mongo‑Spark connector, including real‑world case studies and sample code.
This article shares practical MongoDB indexing guidelines—including compound index rules, naming limits, cardinality considerations, TTL and geospatial indexes, lock behavior, and real‑world case studies—to help DBAs and developers design efficient, safe indexes for production workloads.
This tutorial shows how to create a three‑node MongoDB replica set using Docker, configure automatic primary election, verify data synchronization across secondaries, and simulate a primary failure to observe failover, providing a practical guide for high‑availability database deployments.
This article outlines essential MongoDB document best‑practice guidelines, including key naming restrictions, collection organization, avoiding custom _id values, pitfalls of array fields, compression of large fields, using MD5 hashes for long strings, case‑sensitivity handling, and index size limits, illustrated with real‑world cases.
Qihoo 360 shares how it grew from a 2011 MongoDB adopter to running over 1500 instances handling 200 billion queries per day, detailing its architecture, key applications, migration decisions, backup strategies, scaling best practices, and lessons for future MongoDB projects.
This guide outlines essential MongoDB naming conventions and planning strategies for databases and collections, highlighting common pitfalls, performance impacts of lock contention, and practical case studies on splitting databases and collections to improve scalability.
This article details the challenges of deploying traditional MongoDB clusters on physical servers and explains how the authors containerized MongoDB using a custom Docker orchestration system, covering architecture, initialization, resource isolation, automated deployment, monitoring, logging, storage, networking, scheduling, and practical pitfalls such as image caching and graceful shutdown.
The article shares a practical learning workflow for quickly mastering new technologies, illustrates a real‑world Ruby China case where a user‑verification flag must be updated, and demonstrates the correct MongoDB $set syntax to modify only one field without replacing the entire document.
An overview of NoSQL database types—including key‑value stores like Redis, column‑oriented systems such as BigTable and HBase, and document databases like MongoDB—covers their architectures, strengths, typical use cases, and key factors to consider when selecting a NoSQL solution for web applications.
This article explains why MongoDB is chosen, demonstrates practical PHP injection techniques against MongoDB queries, shows how to enumerate databases and collections, and provides concrete defensive measures such as using implode(), addslashes() and regex sanitization to prevent attacks.
This article provides a curated collection of online MongoDB learning resources, including the official website, Chinese community, issue tracker, blogs, and various tutorial sites such as Shiyanlou, imooc, Yiibai, Runoob, and others for developers seeking comprehensive database education.
This tutorial guides readers through using Apache Spark and MongoDB to compute daily active user statistics, covering Spark fundamentals, a Spark‑vs‑Hadoop comparison, MongoDB use cases, environment setup, Scala code workflow, Maven compilation, and job submission on a YARN cluster.
This article provides a detailed comparison of five popular NoSQL databases—HBase, Redis, MongoDB, Couchbase, and LevelDB—covering their data models, performance characteristics, CAP classification, Node.js client options, advantages, drawbacks, and ideal use‑cases to help developers choose the right storage solution for a new Node project.
This article compares relational SQL statements with MongoDB’s document‑oriented commands, presenting a side‑by‑side mapping of concepts and CRUD operations, illustrated with example documents and images to help developers quickly grasp MongoDB’s approach.
This article explains how MongoDB's MMAPv1 storage engine organizes databases, namespaces, data files, extents, and records, detailing the structures, write, delete, update, and query processes, and how space reclamation and fragmentation are handled.
This guide compares common relational databases and NoSQL solutions, outlining ideal use‑cases for MySQL, PostgreSQL, MongoDB, key‑value stores, Cassandra, Neo4j, and maps specific business scenarios to the most suitable database technology.
This article compares MongoDB to traditional relational databases, highlighting advantages such as eventual consistency, document storage, built‑in GridFS and sharding, rich third‑party support, and performance, while also discussing drawbacks like lack of transactions, high disk usage, and limited maintenance tools.
The article reviews MongoDB's storage engine developments—including MMAP, WiredTiger, RocksDB, and Memory engines—highlights replication protocol improvements, automatic sharding changes, and introduces new features such as batch and partial indexes, document validation, and join capabilities, while providing performance test results and a Q&A section.
This guide explains how to leverage MongoDB's flexible document model, introduces the open‑source Variety tool for schema analysis, demonstrates practical commands for sampling, depth control, filtering, sorting and result persistence, and covers MongoDB 3.2+ document validation features and their limitations.
Facing explosive growth in 2013‑2014, Kuaidi Dache re‑engineered its ride‑hailing platform by partitioning MongoDB, replacing single‑queue NICs with multi‑queue, rewriting its long‑connection service with AIO, adopting Dubbo and RocketMQ for micro‑services, and building a Storm‑HBase real‑time monitoring and data synchronization pipeline.
This article compiles Russell Smith’s comprehensive MongoDB best‑practice guide, covering architecture choices, file limits, write safety, schema design, replication, sharding, security, and performance tuning to help engineers avoid common pitfalls and optimize production deployments.
In this expert Q&A, Baidu’s senior big-data specialists reveal common project pitfalls, argue for Java in Hadoop-style systems, discuss MongoDB deployment, outline criteria for choosing open-source versus self-built solutions, and evaluate the viability of NewSQL/Spanner-type startups.
This article introduces NoSQL concepts, compares common storage models, and details MongoDB's replication architectures, special node roles, synchronization processes, and the variety of index types available for efficient data handling.
This article presents comprehensive MongoDB performance benchmarks, discusses version-specific issues, and offers practical best‑practice recommendations for schema design, driver usage, replication, and monitoring to help engineers optimize their deployments.
This tutorial walks you through building a starter authentication application using Play Framework, Scala, Silhouette, and MongoDB, covering email sign‑up, password reset, OAuth1 Twitter login, and user‑aware views, while explaining Play's reactive, asynchronous architecture for scalable backend development.
This tutorial walks through the step‑by‑step process of deploying a Play Framework web application with user authentication to IBM Bluemix using the Cloud Foundry Java buildpack, including configuration of MongoDB storage and SendGrid email services, and demonstrates how to secure and run the app in the cloud.
This step‑by‑step guide shows how to install Meteor on Linux/macOS, create and run a blank project, interact with MongoDB, and add a user authentication system, all without needing to refresh the browser.
This article explains what Meteor is, its full‑stack Node.js/MongoDB architecture, real‑time data handling with DDP, and the reasons it dramatically speeds up web and mobile app development for startups and rapid prototyping.
This article explains how to translate a classic SQL many‑to‑many schema for articles and tags into a MongoDB design, showing document structures and practical queries for listing tags, retrieving articles, and filtering by specific tags.
This tutorial walks through MongoDB query basics, showing how to perform simple retrievals, conditional filters, and nested‑document searches with clear code examples and step‑by‑step explanations for inserting and querying data.
The article examines why enterprises should consider NoSQL over Hadoop for big data storage, compares the three leading NoSQL databases—MongoDB, Cassandra, and HBase—based on market popularity, technical strengths, scalability, and use‑case suitability, and concludes with guidance on selecting the most appropriate solution.
This article compares SQL and NoSQL databases, outlining their core characteristics, advantages, and trade‑offs, and demonstrates practical schema designs for contact lists, social networks, and warehouse management, helping developers decide which technology best fits their project requirements.
This article compares traditional relational tables with document‑oriented NoSQL, showing how JSON‑based storage simplifies handling multiple phone numbers, emails, addresses, and evolving contact data without schema changes or complex joins.
This article explains MongoDB's three explain modes, details the fields returned by queryPlanner and executionStats, shows how IndexFilters influence the optimizer, and walks through practical examples that demonstrate how proper indexing eliminates collection scans and in‑memory sorts for faster query performance.
Worktile’s architecture combines a single‑page AngularJS front‑end with a Node.js/Express backend, leveraging MongoDB, Redis, and ejabberd for real‑time messaging, illustrating how SPA design, modular services, and long‑connection techniques enable a stable, high‑performance team collaboration platform.