MongoDB 的自动分片特性的好处是它使得从单一服务器转向分片集群变得非常容易,通过无需或很少需要对所需的程序代码进行改动。
The beauty of MongoDB's auto-sharding features is that it makes it very straightforward to go from a single server to a sharded cluster, often with little or no changes to application code required.
无论如何,集群、复制和分片都具有优缺点,在开始采用一种具体战略时应该认真权衡它们。
Regardless, clustering, replication, and sharding each have pros and cons that should be weighed heavily before embarking on an individual strategy.
我应该启动一个集群分片(sharded)还是一个非集群分片的MongoDB环境?
Should I start out with sharded or with a non-sharded MongoDB environment?
应用推荐