I have read through the MongoDB manual about sharding and replicasets.
However, I would like to know if the following can be achieved with sufficient performance (read/write):
- Saving 10,000,000 files via GridFS on MongoDB instances
- Total file size of about 2TB without indexes and journals
- 10,000 writes / day
- 10,000 reads / day
- Querying for a document does not need respond instantly, 2 seconds is still acceptable
Setup in mind:
- 1 Replicaset of 3 nodes
- Each node with 32GB Ram, 2TB SSD
- 1 Mongos instance
- 1 Config server
In the case the proposed setup would not suffice to obtain the goal of storing 10,000,000 documents and writing/reading 10,000 a day with fairly good performance, what would be the next step to take?
- Adding more RAM to each node
- Adding more disk capacity to each node
- Adding Another replica set with the same configuration
- Sharding
I would like to avoid sharding as much as possible since I consider it best practice to avoid sharding whenever possible. I feel this would only complicate the topology unnecessarily and this would most likely be overkill in this case
Some advice would be much welcome.
Cheers