[et_pb_section fb_built=”1″ _builder_version=”4.3.2″][et_pb_row _builder_version=”4.3.2″ custom_margin=”-31px|auto||auto||” custom_padding=”1px|||||”][et_pb_column type=”4_4″ _builder_version=”4.3.2″][et_pb_text _builder_version=”4.3.2″ min_height=”454px” custom_padding=”0px|35px|0px|35px|true|true”]
In this article
- Introduction
- What is ApsaraDB for MongoDB?
- How MongoDB- a NoSQL DB supports faster iteration than Relational Database Management System (RDBMS)?
- Features of ApsaraDB for MongoDB
- Competency differences between ApsaraDB for MongoDB and MongoDB Community Edition
- Advantages of ApsaraDB for MongoDB
- Advantages of ApsaraDB for your business
- Use cases of ApsaraDB for MongoDB
- Why go for ZNetLive managed Alibaba Cloud’s ApsaraDB for MongoDB?
Introduction
Technology is undoubtedly the most quickly evolving space where multiple thousand options come to meet varying business needs. However, with changing business needs come changing database dynamics – relational to non-relational, SQL to NoSQL and structured to unstructured databases with big data requirements.
MongoDB is no doubt the pioneer in fault-tolerant, high availability, scalable NoSQL database that can be used to work with unstructured database. MongoDB is basically a document-oriented database in which you store documents and not entities and objects.
It’s like you build an object using blocks and store it in a box, to use it further when you build other objects, rather than breaking all blocks each time and starting to build an object from the scratch – it saves your time and improves your performance.
[/et_pb_text][et_pb_image src=”https://www.znetlive.com/blog/wp-content/uploads/2020/03/1.png” _builder_version=”4.3.2″][/et_pb_image][et_pb_text _builder_version=”4.3.2″ custom_padding=”0px|35px|0px|35px|false|true”]
In this article, we’ll discuss Alibaba Cloud’s MongoDB offering – ApsaraDB for MongoDB. Let’s see how it helps businesses reduce infrastructure costs by providing a number of features and functionalities.
[/et_pb_text][et_pb_text _builder_version=”4.3.2″ custom_padding=”|35px||35px|false|true” link_option_url_new_window=”on”]
What is ApsaraDB for MongoDB?
ApsaraDB for MongoDB is a reliable, scalable and stable database service that is in complete compliance with MongoDB protocols. It provides full database solution for data backup, disaster recovery, data recovery, monitoring, data backup, and alerts. ApsaraDB supports flexible deployment architecture. As per different business scenarios, it provides a standalone instance, replica set instance and sharded cluster instance.
Standalone instance
With this architecture, enterprises can minimize their expenses and costs. It is ideal for development, testing, and scenarios involving non-core enterprise data. With it, you can buy ApsaraDB for MongoDB in a cost-effective manner and enjoy superior kernel-level optimization and O&M support.
[/et_pb_text][et_pb_image src=”https://www.znetlive.com/blog/wp-content/uploads/2020/03/2.png” align=”center” _builder_version=”4.3.2″ module_alignment=”center” custom_padding=”|35px||35px|false|true”][/et_pb_image][et_pb_cta title=”Managed Alibaba Cloud” button_url=”https://www.znetlive.com/alibaba-cloud/” url_new_window=”on” button_text=”Get $300 Credit” _builder_version=”4.3.2″ background_color=”#333333″ link_option_url_new_window=”on”]
Cheaper, Faster & Secure Cloud Hosting
[/et_pb_cta][et_pb_text _builder_version=”4.3.2″ custom_padding=”|35px||35px|false|true”]
Replica set instance
Three-node replica set: Three- node replica set is created in ApsaraDB for MongoDB automatically. Operations can be performed directly on the primary node and a secondary node, while a secondary node remains hidden. You get advanced features like failover and switchover when you use this instance.
Multiple node (five or seven nodes) replica set: Some business scenarios need database with better read performance, like reading websites and order query systems with more read than write operations. For that, you can increase nodes in replica set instance. Secondary nodes can be added or deleted on-demand in ApsaraDB for scaling out flexibly or in the read performance.
[/et_pb_text][et_pb_image src=”https://www.znetlive.com/blog/wp-content/uploads/2020/03/3.png” _builder_version=”4.3.2″ custom_padding=”|35px||35px|false|true”][/et_pb_image][et_pb_text _builder_version=”4.3.2″ custom_padding=”14px|35px||35px|false|true”]
Sharded cluster instance
This instance is created basis multiple three-node replica set. Each sharded cluster comprises three components – shard, mongos and config server. Number and configuration of mongos nodes and shards can be specified by you as needed for different service capabilities.
[/et_pb_text][et_pb_image src=”https://www.znetlive.com/blog/wp-content/uploads/2020/03/4.png” _builder_version=”4.3.2″ custom_padding=”|35px||35px|false|true”][/et_pb_image][et_pb_cta title=”Managed Alibaba Cloud” button_url=”https://www.znetlive.com/alibaba-cloud/” url_new_window=”on” button_text=”Get $300 Credit” _builder_version=”4.3.2″ background_color=”#333333″ link_option_url_new_window=”on”]
Cheaper, Faster & Secure Cloud Hosting
[/et_pb_cta][et_pb_text _builder_version=”4.3.2″ background_color=”rgba(12,0,11,0.07)” custom_margin=”0px||0px||false|false” custom_padding=”50px|50px|50px|50px|true|true”]
Note
- Mongos is a service agent that’s configured with one node. Multiple mongo nodes can be purchased for achieving failover and load balancing. A sharded cluster instance can support 2 to 32 mongos nodes.
- You can modify configuration of a shard but cannot change number of nodes in replica set. A sharded cluster instance supports 2 to 32 shards.
- A config server is configured using a one core CPU, 20 GB storage space 2 GB memory by default. This configuration cannot be changed.
[/et_pb_text][et_pb_text _builder_version=”4.3.2″ custom_margin=”30px||0px||false|false” custom_padding=”|35px||35px|false|true”]
How MongoDB- a NoSQL DB supports faster iteration than Relational Database Management System (RDBMS)?
NoSQL database tends to be a far better option for modern applications that have complex data sets that are constantly changing and need a flexible data model that doesn’t need to be defined immediately. The following table will help you understand the difference between NoSQL and RDBMS.
[/et_pb_text][et_pb_text _builder_version=”4.3.2″ custom_padding=”|35px|0px|35px|false|true”]
RELATIONAL DATABASE | NoSQL DATABASE |
Rich query statement | Flexibility and agile development |
Strong Data Consistency | Good scalability |
ACID transactions | Extreme performance |
Table based data structure with predefined schema can impact performance. | No predefined schema allows one to work more with unstructured data. |
Less equipped to handle huge data volumes and complex data structures | Can store and process data in real-time. |
More expensive | Cost-effective |
Vertically scalable | Horizontally scalable |
Use a relational database when you need have. | Use a non relational database when you have. |
Centralized applications e.g. ERP | Decentralized applications e.g. Web, mobile, and IOT |
Moderate to high availability | Continuous availability |
Moderate velocity data | High velocity data |
Data ingestion from one location | Data ingestion from multiple locations |
Structured data | Semi structured or Unstructured data |
Complex transactions | Simple transactions |
Concern is to scale reads | Concern is to scale both reads and writes |
Scaling up for more users/data | Scaling up for more users/data |
Maintain moderate data volumes | Maintain high data volumes; retain forever |
Features of ApsaraDB for MongoDB
Flexible architecture
ApsaraDB for MongoDB offers flexible architecture for deployment. As stated above, it offers standalone, replica set and sharded cluster instances to fulfil different business needs.
Auto scaling
You can modify configuration of ApsaraDB instance basis your specific business needs, including number of nodes, specifications and storage space. You can set the time you want for configuration to change, like you can select off peak hours to avoid business impact.
Round the clock monitoring
With ApsaraDB for MongoDB, you get more than 20 system performance metrics, including IOPS, CPU usage, disk capacity, connections, cache hit ratio, network traffic, queries per second (QPS) and transactions per second (TPS).[/et_pb_text][et_pb_text _builder_version=”4.3.2″ background_color=”rgba(12,0,11,0)” custom_margin=”0px||0px||false|false” custom_padding=”|35px||35px|true|true” border_color_all=”#000000″]
Data security
- Automatic Backup: You can set a backup policy for flexibly starting up data backup in off-peak hours.
- Temporary Backup: ApsaraDB for MongoDB supports logical and physical backup. You can start data backup as needed by you.
- Data Recovery: You can use backup files for directly overwriting data for recovering an existing instance or creating one based on a time point.
- SSL Encryption: Data security and integrity are ensured during communication by encrypting network connections with SSL at the transport layer.
- Anti-DDoS: ApsaraDB keeps monitoring traffic at the network ingress in actual time. On detecting heavy traffic attacks, it begins traffic scrubbing for filtering source IP addresses. If this is ineffective, it triggers black hole mechanism.
- Backup File Download: ApsaraDB keeps backup files for seven days free of charge. During this time, you can log in to your console and download files to your local device.
- Multiple Layer Network Security: A VPC is kept isolated and is protected at the TCP layer. Anti-DDoS mechanism takes care of real time monitoring and traffic scrubbing for mitigating heavy traffic attacks.
- IP Address Whitelisting: ApsaraDB for MongoDB filters IP addresses for accessing instances to provide best security protection there is. You can add up to 1000 IP addresses to the whiltelist.
[/et_pb_text][et_pb_text _builder_version=”4.3.2″ custom_margin=”30px||0px||false|false” custom_padding=”|35px||35px|false|true”]
Professional Tools
Alibaba Cloud provides a data service, Data Transmission Service (DTS) for supporting data exchanges between different data sources, including NoSQL, relational database management system (RDBMS), online analytical processing (OLAP) and others. DTS offers various data transmission features like real-time data subscription and synchronization, and data migration.
Data transmission is useful in cases like remote disaster recovery, data migration, cache update policies without service interruption and cross-border data synchronization. This helps you build a scalable, safe and highly available data architecture.
[/et_pb_text][et_pb_text _builder_version=”4.3.2″ custom_padding=”|35px|0px|35px|false|true”]
Competency differences between ApsaraDB for MongoDB and MongoDB Community Edition
FEATURE | APSARADB FOR MONGODB | MONGODB COMMUNITY EDITION |
Setup | Elastic scalability – One click setup | Self-build – Downtime for scalability |
Security | Whitelist, audit log, SSL, TDE (coming soon) | Only simple password management |
Optimization | Cloud DBA Intelligent Diagnostic, Short Connection Performance Improvement, Multi storage engine support | No automatic optimization, Restricted Usage |
Maintenance | Physical backup 3X performance improvement, Second level monitoring, Intelligent Diagnostic | Logical backup, Minute level monitoring |
Disaster Recovery (DR) | SingleAZ DR Support, MultiAZ DR Support, Cross-region DR Support | Self-deployed, Restricted Usage |
[/et_pb_text][et_pb_text _builder_version=”4.3.2″ background_color=”rgba(12,0,11,0)” custom_margin=”0px||0px||false|false” custom_padding=”|35px||35px|true|true” border_color_all=”#000000″]
Advantages of ApsaraDB for MongoDB
- Rich query statement, multiple query update mode.
- Strong consistency ensures data reliability. Is suitable for financial scenarios.
- Flexible data model – JSON, that’s widely used.
- Scale out as well as scale-up, dynamically add nodes. No bottleneck for performance and data volume.
[/et_pb_text][et_pb_image src=”https://www.znetlive.com/blog/wp-content/uploads/2020/03/Advantages.png” align=”center” _builder_version=”4.3.2″][/et_pb_image][et_pb_text _builder_version=”4.3.2″ background_color=”rgba(12,0,11,0)” custom_margin=”0px||0px||false|false” custom_padding=”|35px||35px|true|true” border_color_all=”#000000″]
Advantages of ApsaraDB for your business
- Flexible Storage architecture: MongoDB documentary storage is like a completely built car, ready to use. But, Relational Database table storage is like parts of a car with nothing built as such.
- Enterprise level capability: You get features like cloud elasticity, document features and core level optimized management and maintenance functions with ApsaraDB for MongoDB.
- Multiple architecture for different business scenarios: As per your business needs, you can use single node, replica set or sharding clusters as explained in detail in the first section. While single node architecture is cost effective, replica set ensures high availability of data and sharding provides high performance, high availability and scalability.
- HA architecture: 3 copies HA architecture of MongoDB helps with:
- High level availability protection.
- Support cross AZ availability, nodes (data copies) in different AZ, provides AZ level disaster tolerance.
- Full managed service, automatic maintenance: Manual operation is mandatory when doing failure recovery for self-build. MongoDB cloud service recovers/replaces failed node automatically.
- DR architecture, data security, backup and recovery: Multiple level Disaster Recovery (DR) architecture with one click deployment. It meets all kinds of HA requirements.
It provides full stack security, one stop backup and recovery with 3X performance improvement for physical backup. - Multiple storage engines for different business scenarios: ApsaraDB for MongoDB provides WiredTiger as default (Balanced), RocksDB for High Performance (Continuous data writing) and TerarakDB for High compression (Mass Data Storage).
[/et_pb_text][et_pb_cta title=”Managed Alibaba Cloud” button_url=”https://www.znetlive.com/alibaba-cloud/” url_new_window=”on” button_text=”Get $300 Credit” _builder_version=”4.3.2″ background_color=”#333333″ link_option_url_new_window=”on”]
Cheaper, Faster & Secure Cloud Hosting
[/et_pb_cta][et_pb_text _builder_version=”4.3.2″ background_color=”rgba(12,0,11,0)” custom_margin=”0px||0px||false|false” custom_padding=”|35px||35px|true|true” border_color_all=”#000000″]
Use cases of ApsaraDB for MongoDB
Online Games:
- Effective cost, fast deployment, easy recovery.
- Agile development, fast iteration.
- Single node architecture supports single AZ deployments, cost savings.
- Multiple databases in same instance, single DB recovery, fast rollback to reduce business downtime.
- Suitable scenarios:
- Easy to use and manage
- Low cost
- Low storage capacity for each game server.
- Easy data exchange between game servers.
- No high requirement for resource isolation.
Financial sector
- Complex data structure store (Log, Risk control, Credit)
- High volume storage and elastic scalability.
- Hybrid object storage, cost savings.(100 TB~)
- Automatic dataload to analytic platform.
Internet of Things (IoT)
- Different new generation products bring different scenarios, create new data and functional requirements.
- The number of sensors explosively increases, leads to high volume data growth.
- Relational database is incapable to handle such volumes and complexities, while MongoDB manages real time data effectively.
Why go for ZNetLive managed Alibaba Cloud’s ApsaraDB for MongoDB?
- Alibaba Cloud directly sells MongoDB to customers, unlike other leading vendors who sell MongoDB via third party.
- Since ZNet gets you MongoDB directly from Alibaba Cloud, you get better pricing.
- ZNet has trained Alibaba Cloud professionals who can provide you with expertise and dedicated support services.
To know more, visit ZNetLive’s Alibaba Cloud page. Share your feedback with us in the comments section.
[/et_pb_text][/et_pb_column][/et_pb_row][/et_pb_section]