×

Mongodb – Replication that runs on Commodity Hardware

MMS Founder
MMS wpengine

[et_pb_section bb_built=”1″ admin_label=”section”][et_pb_row admin_label=”row” _builder_version=”3.0.49″][et_pb_column type=”4_4″][et_pb_slider admin_label=”Slider” _builder_version=”3.0.49″ show_arrows=”off” show_pagination=”off” parallax=”on” parallax_method=”off” remove_inner_shadow=”off” custom_button=”off” button_letter_spacing=”0″ button_icon_placement=”right” button_letter_spacing_hover=”0″ auto=”off” auto_ignore_hover=”off” hide_content_on_mobile=”off” hide_cta_on_mobile=”off” show_image_video_mobile=”off”] [et_pb_slide heading=” Mongodb – Replication that runs on Commodity Hardware” button_text=”Back to Blog” background_color=”#ffffff” use_background_color_gradient=”off” background_color_gradient_start=”#2b87da” background_color_gradient_end=”#29c4a9″ background_color_gradient_type=”linear” background_color_gradient_direction=”180deg” background_color_gradient_direction_radial=”center” background_color_gradient_start_position=”0%” background_color_gradient_end_position=”100%” parallax=”off” parallax_method=”off” background_position=”center” background_size=”cover” background_repeat=”repeat” background_blend=”normal” allow_player_pause=”off” use_bg_overlay=”on” use_text_overlay=”off” text_border_radius=”3″ alignment=”center” background_layout=”dark” header_font_select=”default” header_font=”|on|||” body_font_select=”default” body_font=”||||” custom_button=”off” button_font_select=”default” button_font=”||||” button_use_icon=”default” button_icon_placement=”right” button_on_hover=”on” /] [/et_pb_slider][et_pb_text admin_label=”Text” _builder_version=”3.0.49″ background_layout=”light” text_orientation=”left” border_style=”solid”]

There seems to be a lot of confusion regarding Mongodb replication failover and it’s functionality and purpose. 

Unlike Microsoft SQL server’s failover’s dependence on Microsoft Cluster servers.  Mongodb’s clustering is built into the database application and does not have any software dependencies on the operating system.  This was a design feature that enables Mongodb to run on commodity hardware.

Microsoft’s fail over functionality is mainly used to perform database and Operating system patching and other maintenance tasks while MongoDB failover functionality is designed to

detect failures and fail over to a secondary to maintain availability and uptime.

Mongodb’s failovers can be caused by network card congestion, vmware anomalies, and performance bottlenecks in storage, memory, or CPU.  They can occur on a daily basis and are part of normal operations.  If failovers become excessive, then there is reason for concern and root cause should be investigated.

All Mongodb database production environments should be a replication cluster configuration.  This will increase your availability, ability to redirect reads to secondaries, and execute backups on a secondary without affecting the primary performance.  This is especially critical when deploying large scale public facing apps and websites.

[/et_pb_text][/et_pb_column][/et_pb_row][/et_pb_section]

Subscribe for MMS Newsletter

By signing up, you will receive updates about our latest information.

  • This field is for validation purposes and should be left unchanged.