We need understand what is your problem in the current application?
- Transactions
- Amount of data
- Data structure
NoSQL solves the problems of scalability and availability against that of atomicity or consistency.
Basic drive us to CAP theorem. Eric Brewer also noted that Of the three properties of shared-data systems – Consistency, Availability and tolerance to network Partitions – only two can be achieved any given moment in time. (CAP theorem)
NOSQL Approach
- Schemaless data representation:
- Most of them offer schemaless data representation & allow storing semi-structured data.
- Can continue to evolve over time— including adding new fields or even nesting the data, for example, in case of JSON representation.
- Development time:
- No complex SQL queries.
- No JOIN statements.
- Speed:
- Very High speed delivery & Mostly in-built entity-level caching
- Plan ahead for scalability: