Zusammenfassung der Ressource
Emergence of NoSQL Data Stores
- Relational Database
- Not good at handling big data
- Relational and OOP
databases don't work
well together
- OOP Basics
- Class
- Object
- Encapsulation,
Polymorphism and
Inheritance
- Object Relational Impedance Mismatch
- ORM (Object relational Mapping)
- Enterprise Architecture
- Integration Approach
- Application Database
- Scalability
- NoSQL Technologies
- neo4J
- CouchDB
- MongoDB
- Cassandra
- Why use NoSQL
- Realtime interaction with users
- Agility, Consistency, performance, scalability
- Open Source
- aggregate vs aggregate ingnorant
- Relational Models are aggregate ignorant
- relational for same data requires many tables
- NoSQL sees aggregate as clusters
- collection of data related to a unit
- Graph database
- neo4J
- Nodes form network
- Social networking connecting friends
- Distribution models
- High read
- High write
- Replication and Sharding
- Sharding
- Different data across different nodes
- Replication
- same data across
different nodes
- Replication & Master
- Traffic only through
master for write
- inappropriate for high write
- Replication Peer to peer
- Traffic written to any node
- greater resilience
- Combining Master/Slave and Sharding
- All write through the server
- Different nodes have different data
- If master fails must know
which node to write too
- Consistency Locks
- Pessimistic
- Lock table for editing at
beginning of workflow
- Optimistic
- Verify with server before making changes at
end of workflow