ZenClerkが月間10億PVを支えるまでの 過程で経験したアンチパターンを紹介
![月間10億PVから学んだMongoDBアンチパターン](https://cdn-ak-scissors.b.st-hatena.com/image/square/990b8a2bf8952a8e25a7ea4a680b588367f95d75/height=288;version=1;width=512/https%3A%2F%2Ffiles.speakerdeck.com%2Fpresentations%2Fd3629f204bc701321016325c0601a345%2Fslide_0.jpg%3F3878936)
Olery was founded almost 5 years ago. What started out as a single product (Olery Reputation) developed by a Ruby development agency grew into a set of different products and many different applications as the years passed. Today we have not only Reputation as a product but also Olery Feedback, the Hotel Review Data API, widgets that can be embedded on a website and more products/services in the n
MongoDBを使うシステムが、最近多いと思います。 2.6系(安定版)の最新2.6.7ですが、Date型のインポート処理にバグがありそうです。 「1970/01/01」以前の Date型 を mongoexport すると、負の "$numberLong" として出力されるのですが、それを mongoimport すると、それ以降のフィールドが欠落してしまうのです。 例えば、ユーザマスタに「誕生日」フィールドがあると、45歳以上の人は「1970/01/01」以前の値が入っているわけで、マスタデータを移行したりでもすると、その人のフィールドがガッツリ無くなってしまいます。でも若手は大丈夫だから「どうせ部長の使い方がおかしいんでしょwww」といういつもの「偉い人に限って障害が発生する」パターンが展開されます。 大急ぎで調べた所、以下が判明しました。 2.6形式 "1965-11-17T00:
EngineeringTeam lead,MonboDB Inc,@christkv Christian Amor Kvalheim #nosql13 A Journey through the MongoDB Internals? AJourneythroughtheMongoDBInternals? Who Am I • Driver Engineering lead at MongoDB Inc • Work on the Mongo DB Node.js driver • Started working for MongoDB Inc June 2011 • @christkv • christkv@mongodb.com AJourneythroughtheMongoDBInternals? Why Pop the Hood? • Understanding data safet
はじめに WAF「Scutum(スキュータム)」ではサービス開始時より、データストアとしてmemcachedとpgpool II+PostgreSQLを利用しています。これらはどれも安定して動いており満足しているのですが、最近になってより柔軟にデータを取っていきたいというニーズが高くなってきたため、MongoDBの導入を行いました。まだ完全なリプレースまでは至っていませんが、元々のデータベースのスキーマ構造がシンプルであることもあり、数ヶ月以内にはpgpool II+PostgreSQLの部分をMongoDB(Replica Sets)で置き換えることができるのではないかと思っています。 MongoDBにとっての「メモリ使用量」 MongoDBを導入するにあたり、Linux(X86_64)上でMongoDBを動作させたときのメモリの消費について、簡単にですが調べてみました。まず参考にしたの
ver2.0からの機能であるcompactコマンドについて調べたのでまとめ (ver2.2で内部的な動きに少し変更あり) http://docs.mongodb.org/manual/reference/command/compact/ 基本はここの日本語訳 The compact command rewrites and defragments a single collection. Additionally, the command drops all indexes at the beginning of compaction and rebuilds the indexes at the end. 1つのコレクションに対して rewrites and defragments を行う そのコレクションに貼られているindexを全部dropして貼り直す RDBで言うところのバキューム
「第3回 MongoDB 勉強会 in Tokyo」 : ATND 先週土曜日(2011年5月14日)にフューチャーアーキテクトさんのセミナールームにて行われたMongoDBの勉強会に行ってきました。 MongoDBの仕様・機能などの体系的な話からチューニングの話、開発に利用する話、プロダクションとして運用している話と、バランスよくまとまっていてとても勉強になりました。 RDBとの違いや特有の挙動をきちんと把握して利用すれば、十分プロダクションで利用出来るというビジョンが見えました。 詳細は各発表者の方のスライドを見るとわかると思いますが、当日会場でメモしたものでダイジェスト的にまとめました。 MongoDB勉強会は毎月開催(予定)しているそうなので、興味を持たれた方は是非参加して見てください。 MongoDBコミュニティー:MongoDB JP | Google グループ 【発表1】Mo
This document discusses various strategies for backing up MongoDB data to keep it safe. It recommends: 1. Using mongodump for simple backups that can restore quickly but may be inconsistent. 2. Setting up replication for high availability, but also using mongodump for backups and testing restore processes. 3. Taking snapshots of the data files for consistent backups, but this requires downtime and
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く