Mongo DB (1)
Mongo DB (1)
Mongo DB (1)
• Studio-: A visual tool to view, edit, and design Realm Database files.
• Schema Design: MongoDB's flexible schema allows for dynamic data structures
within documents. While this flexibility is beneficial for accommodating
evolving data requirements, it can also lead to challenges in maintaining
consistency and enforcing data integrity, especially in complex data models.
• Data Growth and Sharding: MongoDB's scalability is achieved through
horizontal sharding, which distributes data across multiple shards. However,
designing an effective sharding strategy requires careful consideration of factors
such as shard key selection, data distribution, and query isolation. Managing data
growth and maintaining balanced shard distribution can be challenging,
especially in large-scale deployments.
CAP Theorem
• Consistency in the context of the CAP theorem refers to the property that
all nodes in a distributed system return the same data when queried at the
same time. In other words, consistency ensures that all clients see the
same view of the data at any given moment, regardless of which node
they query.