Orchestrate VP of engineering Dave Smith presets on NoSQL Databases-as-a-Service.
Fast-track development and save 50-90% off your database costs. Sign up for a free Orchestrate account today: http://nodb.co/1wzT7Xj
5. QUERIES(CONT. )
• What questions are you asking of your data?
• Get a record by a key
• Find records based on a relationship
• Find all documents with a given term
• Apply operation to metrics within a timeframe
7. PERFORMANCE
• Access patterns
• Read/write mix
• Sequential vs. Pareto vs. uniformly random
• Throughput - how many requests/sec?
• Latency - how long does it take to service a single request?
• Always a distribution! Mean is meaningless…
• Data size
• Total size of dataset
• Size per item in dataset
8. RELIABILITY
• How can databases fail?
• Disks -> integrity checking
• Nodes -> replication
• Network -> versioning
• Software -> (all of above)
• Overload -> elasticity
• Key questions
• How well does the system tolerate failure?
• How well does the system deal with unexpected load?
9. It can be impossible to distinguish between a slow
node and a failed node.
10. UGLY TRUTHS
• All databases require tuning
• Failure is hard to test — most people don’t bother
• Networks fail — especially under high load
• The more your database does, the more ways it can
fail
• More code == more bugs