Scaling Advice from MongoHQ

Jun 07, 2016 pm 04:32 PM
from scaling wi

With most systems, trying to run a database of any significant size requires specialized knowledge, both to build your app and to manage the database it runs on top of. MongoDB makes your first 100GB simple - from running the database to w

With most systems, trying to run a database of any significant size requires specialized knowledge, both to build your app and to manage the database it runs on top of. MongoDB makes your first 100GB simple - from running the database to writing the code. As your database gets larger, though, it helps to understand more about how MongoDB works so you can get the most out of it. MongoHQ has noticed that their customers that reach 100GB are running commercially successful businesses. MongoHQ recommends going through the 100GB Scaling Checklist as you grow. Watch the webinar recording on the subject for the full overview:

  1. Identify your data behavior: Figure out how your data patterns and how they are working within your application. You will need to link your data to how your application accesses this data. Consider the simple queries and the more complex queries you will need to look up, like multi-range queries.

  2. Refactor your schema to simplify queries

  3. Remove data that does not fit MongoDB: remove “unrefactorable” data

  4. Separate hot and cold data

  5. Don’t lean on mongodump’: this disrupts RAM and causes performance issues. Consider other Backup options instead, like MMS Backup

  6. Check your gauges: Monitor, monitor, monitor. Even if you aren’t having performance problems, set this up now so you can keep a history of your

  7. Avoid queries causing page faults: MongoHQ has run benchmarks against this to prove this. A system running in memory that was running at 7,000 operations per second was cut down by 50% to 3,500 operations per second when adding 1% table scans churning on a disk.

  8. Track and monitor slow queries: use Dex, MongoProfessor, Mongo-QP or MongoHQ’s Slow Query Tracker.

  9. Buying time with hardware: Don’t get addicted to buying hardware. Before making a purchase, always consider optimization and investigate separating and pairing data.

Watch the full recording with tips from MongoHQ’s Chris Winslet here.

このウェブサイトの声明
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。

ホットな記事タグ

メモ帳++7.3.1

メモ帳++7.3.1

使いやすく無料のコードエディター

SublimeText3 中国語版

SublimeText3 中国語版

中国語版、とても使いやすい

ゼンドスタジオ 13.0.1

ゼンドスタジオ 13.0.1

強力な PHP 統合開発環境

ドリームウィーバー CS6

ドリームウィーバー CS6

ビジュアル Web 開発ツール

SublimeText3 Mac版

SublimeText3 Mac版

神レベルのコード編集ソフト(SublimeText3)

win10のレジストリにmsahciがない問題の解決策 win10のレジストリにmsahciがない問題の解決策 Jan 12, 2024 pm 06:09 PM

win10のレジストリにmsahciがない問題の解決策

Mac で Wi-Fi ネットワークを忘れて不要な接続を削除する方法 Mac で Wi-Fi ネットワークを忘れて不要な接続を削除する方法 Mar 18, 2024 pm 10:30 PM

Mac で Wi-Fi ネットワークを忘れて不要な接続を削除する方法

Windows 11/10 では 5G Wi-Fi が減少し続けています Windows 11/10 では 5G Wi-Fi が減少し続けています Feb 19, 2024 pm 12:24 PM

Windows 11/10 では 5G Wi-Fi が減少し続けています

FROM 句で更新するターゲット テーブル 'table_name' を指定できません - MySQL エラーの解決方法: FROM 句でターゲット テーブルを更新できません FROM 句で更新するターゲット テーブル 'table_name' を指定できません - MySQL エラーの解決方法: FROM 句でターゲット テーブルを更新できません Oct 05, 2023 am 10:25 AM

FROM 句で更新するターゲット テーブル 'table_name' を指定できません - MySQL エラーの解決方法: FROM 句でターゲット テーブルを更新できません

MicrosoftがWindows 11 Canary 26063プレビューアップデートをリリース:Wi-Fi 7のサポートをテストし、16の新しいAIスキルを追加 MicrosoftがWindows 11 Canary 26063プレビューアップデートをリリース:Wi-Fi 7のサポートをテストし、16の新しいAIスキルを追加 Feb 23, 2024 pm 07:52 PM

MicrosoftがWindows 11 Canary 26063プレビューアップデートをリリース:Wi-Fi 7のサポートをテストし、16の新しいAIスキルを追加

HTMLでのfromタグの用途は何ですか HTMLでのfromタグの用途は何ですか Sep 15, 2022 pm 05:36 PM

HTMLでのfromタグの用途は何ですか

フォームをphpに送信できない場合はどうすればよいですか? フォームをphpに送信できない場合はどうすればよいですか? Dec 01, 2022 am 09:08 AM

フォームをphpに送信できない場合はどうすればよいですか?

新しい Cosmic DE Alpha 2 アップデートでは、System76 Linux デスクトップのアプリと設定の改善に加えて、多数のカスタマイズ オプションが追加されています 新しい Cosmic DE Alpha 2 アップデートでは、System76 Linux デスクトップのアプリと設定の改善に加えて、多数のカスタマイズ オプションが追加されています Sep 28, 2024 am 06:14 AM

新しい Cosmic DE Alpha 2 アップデートでは、System76 Linux デスクトップのアプリと設定の改善に加えて、多数のカスタマイズ オプションが追加されています

See all articles