0% found this document useful (0 votes)
13 views16 pages

Choosing Database

slides sobre choosingdatabase

Uploaded by

ricardo.faceb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views16 pages

Choosing Database

slides sobre choosingdatabase

Uploaded by

ricardo.faceb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

CHOOSING YOUR

DATABASE
Integration considerations
Scaling requirements
Support considerations
Budget considerations? Probably not.
CAP considerations

Availability

Consistency Partition-Tolerance
Simplicity
An example

■ You’re building an internal phone directory app


– Scale: limited
– Consistency: Eventual is fine
– Availability requirements: not mission critical
– MySQL is probably already installed on your web server…
Another example

■ You want to mine web server logs for interesting patterns


■ What are the most popular times of day? What’s the average session length?
Etc.
Another example

■ You have a big Spark job that produces movie recommendations for end users
nightly
■ Something needs to vend this data to your web applications
■ You work for some huge company with massive scale
■ Downtime is not tolerated
■ Must be fast
■ Eventual consistency OK – it’s just reads
You try it!

■ You’re building a massive stock trading system


■ Consistency is more important than anything
■ “Big data” is present
■ It’s really, really important – so having access to professional support might be
a good idea. And you have enough budget to pay for it.
CAP considerations

Availability

Consistency Partition-Tolerance

You might also like