SimpleDB
Domain: a container of
(nested) key value
• Up to 10GB big
• Up to 1.000.000.000 attributes stored
SimpleDB - PUT
SimpleDB - GET
you pay bandwidth :)
Oh yes, $$
• first GB data IN free, 0.10$ after
• first GB data OUT free, 0.17$ or less after
• first GB stored is free, 0.25GB/month after
So, PUT again
+
=
Attribute values are always arrays
< Key
}
Attribute >
< Value
Array
Attribute value >
Even if there’s only one value!!
Select
• Sort
• Multiple conditions
• Understands only strings!
• So you need to think when you store your
data
Gems
• hungryblank-aws_sdb_bare (github)
very low level one to one mapping with
SimpleDB calls
• right_aws high level, active recordish api
and an hash api
• aws-sdb not any more mantained but still
working
SimpleDB - Cons
• Eventual Consistency - Data is not
immediately propagated across all nodes…
the latency is usually around a second
• Latency specially if you’re not on ec2
• Protocol - if compared with json stores
• Only strings, lexicographical string only
SimpleDB - Pros
• Is basically free to try out
• Everything is indexed
• Distributed
• Replicated
• Completely hosted on Amazon system
0 comments
Post a comment