AWS TechWorkshop DynamoDB / Customer Presentation: Infopark AG
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

AWS TechWorkshop DynamoDB / Customer Presentation: Infopark AG

  • 1,898 views
Uploaded on

Why we've chosen the new DynamoDB as our cloud database

Why we've chosen the new DynamoDB as our cloud database

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to like this
No Downloads

Views

Total Views
1,898
On Slideshare
1,869
From Embeds
29
Number of Embeds
6

Actions

Shares
Downloads
11
Comments
1
Likes
0

Embeds 29

http://lanyrd.com 23
http://www.linkedin.com 2
http://s.medcl.net 1
http://www.unscatter.com 1
https://www.linkedin.com 1
https://twitter.com 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. AWS TechWorkshop DynamoDB Customer Presentation: Infopark AG Berlin, 2012-03-07
  • 2. Thomas Witt@thomas_witt http://twitter.com/thomas_witt
  • 3. Great Websites run Infopark Web-Sites for large-scale companies Founded 1994 in Berlin CMS and CRM in the cloud
  • 4. How we made it to the cloud … History
  • 5. System Architecture Elastic Load Balancer AZ 3 AZ 1 AZ 2 EC2 App Server EC2 App Server EC2 App Server MySQL DB Master MySQL Master- Master
  • 6. SQL databases are not built for the cloud. Bottleneck Doesn‘t scale Single point of failure Adding new Replicas Consistent backups Recovery times after crashes
  • 7. Database (Choose wisely)
  • 8. Comparision Availability: Each client can always Relational read and write Key-value A Column-oriented/Tabular Document-oriented DynamoDB RDBMS Cassandra (MySQL, SimpleDB Oracle, …) CouchDB Riak Pick Two C Consistency: Allclients always get MongoDB, Redis, P Partition Tolerance: System works despite Bigtable the same data network splits Kudos to http://blog.nahurst.com/visual-guide-to-nosql-systems
  • 9. NoSQL - So many choices … MongoDB Riak CouchDB BigCouch Redis Cassandra… remember that you haveto run all of these on EBS :-(
  • 10. MongoDBAdvantages Auto-Sharding Good performance Dynamic query interfaceDisadvantages Global Write-Lock No automatic rebalancing, Master-Slave-Replication w/ Auto Failover
  • 11. RedisAdvantages Performance (in-memory) TransactionsDisadvantages Only Master-Slave- Replication Limited by memory
  • 12. CassandraAdvantages Automatic Replication and Rebalancing (N,R,W) Secondary IndicesDisadvantages Writes are faster than reads Bad scaling for 2nd indexes Super-complex to handle
  • 13. RiakAdvantages Automatic Replication and Rebalancing (N,R,W) Secondary Indices Large Blobs Map/ReduceDisadvantages InnoDB Backend, slow writes
  • 14. CouchDBAdvantages Bidirectional replication Crash Only-Design Changes Feed Views via JS Map ReduceDisadvantages Serialized Writes Sharding/Rebalancing only with BigCouch
  • 15. Our HistoryWe started with BigcouchSwitched to CouchDBConsidered Riak… and now went toDynamoDB
  • 16. They are all very … Management- Intense
  • 17. “Any system that you pick will require 24-7 operational support. If it is not hosted (e.g. by AWS), be prepared to hire a fleet of ops folks to support it yourself. If you don’t have the manpower, I recommend AWS DynamoDB. – Siddharth Anand, LinkedInhttp://highscalability.com/blog/2012/1/24/the-state-of-nosql-in-2012.html
  • 18. System Architecture today Elastic Load Balancer AZ 3 AZ 1 AZ 2 Scalarium EC2 App Server EC2 App Server EC2 App Server S3 Assets ElasticSearch ElasticSearch ElasticSearch DynamoDB
  • 19. Advantages of DynamoDB Advantages Zero Administration Blazing fast, thanks to SSD Scalability with one parameter Fair Pricing Conclusion Were switching to DynamoDB as soon as its available in the EU region
  • 20. Whats missing so far? Secondary indices Changes Feed Out-of-the-box-Backup Batch PUT/DELETE
  • 21. Thats a wrap! Thank you! Thomas Witt Director Product & Business Development thomas.witt@infopark.de +49-151-140690-23 Twitter: @thomas_witt Infopark AG • Kitzingstraße 15 • D-12277 Berlin • www.infopark.de • info@infopark.de