- Mastering MongoDB 3.x
- Alex Giamas
- 107字
- 2021-08-20 10:10:49
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.
推薦閱讀
- 電力自動(dòng)化實(shí)用技術(shù)問答
- Python Artificial Intelligence Projects for Beginners
- PyTorch深度學(xué)習(xí)實(shí)戰(zhàn)
- 自動(dòng)生產(chǎn)線的拆裝與調(diào)試
- Visual C++編程全能詞典
- 網(wǎng)絡(luò)化分布式系統(tǒng)預(yù)測(cè)控制
- 新編計(jì)算機(jī)圖形學(xué)
- 網(wǎng)絡(luò)服務(wù)搭建、配置與管理大全(Linux版)
- 從零開始學(xué)SQL Server
- 空間機(jī)器人智能感知技術(shù)
- Mastering MongoDB 4.x
- x86/x64體系探索及編程
- 微計(jì)算機(jī)原理及應(yīng)用
- Hadoop大數(shù)據(jù)開發(fā)基礎(chǔ)
- Kibana 7 Quick Start Guide