官术网_书友最值得收藏!

Read-write ratio

The read to write ratio is often an important design consideration for MongoDB modeling. When reading data, we want to avoid scatter and gather situations, where we have to hit several shards with random I/O requests to get the data our application needs.

When writing data, on the other hand, we want to spread out writes to as many servers as possible, to avoid overloading any single one of them. These goals appear to be conflicting on the surface but they can be combined once we know our access patterns, coupled with application design considerations, like using a replica set to read from secondary nodes.

主站蜘蛛池模板: 凌云县| 冷水江市| 克东县| 宜昌市| 宜丰县| 沂南县| 原阳县| 巴林左旗| 崇文区| 平山县| 龙里县| 罗甸县| 沙洋县| 鲁山县| 新民市| 凉山| 白山市| 额济纳旗| 沿河| 临海市| 当阳市| 台南县| 玉门市| 陵水| 四子王旗| 邵东县| 四子王旗| 乌拉特后旗| 临夏市| 江源县| 专栏| 乐亭县| 兴山县| 土默特右旗| 青河县| 屏山县| 亳州市| 大城县| 施甸县| 响水县| 丰台区|