AWS TechWorkshop DynamoDB   Customer Presentation:        Infopark AG         Berlin, 2012-03-07
Thomas Witt@thomas_witt  http://twitter.com/thomas_witt
Great Websites run Infopark Web-Sites for large-scale companies Founded 1994 in Berlin CMS and CRM in the cloud
How we made it to the cloud …               History
System Architecture                       Elastic Load Balancer           AZ 3                AZ 1                 AZ 2   ...
SQL databases are not built for the cloud. Bottleneck Doesn‘t scale Single point of failure Adding new Replicas Consistent...
Database (Choose wisely)
Comparision                              Availability: Each                                                client can alwa...
NoSQL - So many choices … MongoDB Riak CouchDB BigCouch Redis Cassandra… remember that you haveto run all of these on EBS ...
MongoDBAdvantages Auto-Sharding Good performance Dynamic query interfaceDisadvantages Global Write-Lock No automatic rebal...
RedisAdvantages Performance (in-memory) TransactionsDisadvantages Only Master-Slave- Replication Limited by memory
CassandraAdvantages Automatic Replication and Rebalancing (N,R,W) Secondary IndicesDisadvantages Writes are faster than re...
RiakAdvantages Automatic Replication and Rebalancing (N,R,W) Secondary Indices Large Blobs Map/ReduceDisadvantages InnoDB ...
CouchDBAdvantages Bidirectional replication Crash Only-Design Changes Feed Views via JS Map ReduceDisadvantages Serialized...
Our HistoryWe started with BigcouchSwitched to CouchDBConsidered Riak… and now went toDynamoDB
They are all very …       Management-         Intense
“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 ...
System Architecture today                   Elastic Load Balancer       AZ 3                AZ 1                 AZ 2     ...
Advantages of DynamoDB                         Advantages                          Zero Administration                    ...
Whats missing so far?                         Secondary indices                         Changes Feed                      ...
Thats a wrap!                                      Thank you!                        Thomas Witt                        Di...
AWS TechWorkshop DynamoDB / Customer Presentation: Infopark AG
Upcoming SlideShare
Loading in...5
×

AWS TechWorkshop DynamoDB / Customer Presentation: Infopark AG

1,387

Published on

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

Published in: Technology
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total Views
1,387
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
12
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

AWS TechWorkshop DynamoDB / Customer Presentation: Infopark AG

  1. 1. AWS TechWorkshop DynamoDB Customer Presentation: Infopark AG Berlin, 2012-03-07
  2. 2. Thomas Witt@thomas_witt http://twitter.com/thomas_witt
  3. 3. Great Websites run Infopark Web-Sites for large-scale companies Founded 1994 in Berlin CMS and CRM in the cloud
  4. 4. How we made it to the cloud … History
  5. 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. 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. 7. Database (Choose wisely)
  8. 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. 9. NoSQL - So many choices … MongoDB Riak CouchDB BigCouch Redis Cassandra… remember that you haveto run all of these on EBS :-(
  10. 10. MongoDBAdvantages Auto-Sharding Good performance Dynamic query interfaceDisadvantages Global Write-Lock No automatic rebalancing, Master-Slave-Replication w/ Auto Failover
  11. 11. RedisAdvantages Performance (in-memory) TransactionsDisadvantages Only Master-Slave- Replication Limited by memory
  12. 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. 13. RiakAdvantages Automatic Replication and Rebalancing (N,R,W) Secondary Indices Large Blobs Map/ReduceDisadvantages InnoDB Backend, slow writes
  14. 14. CouchDBAdvantages Bidirectional replication Crash Only-Design Changes Feed Views via JS Map ReduceDisadvantages Serialized Writes Sharding/Rebalancing only with BigCouch
  15. 15. Our HistoryWe started with BigcouchSwitched to CouchDBConsidered Riak… and now went toDynamoDB
  16. 16. They are all very … Management- Intense
  17. 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. 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. 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. 20. Whats missing so far? Secondary indices Changes Feed Out-of-the-box-Backup Batch PUT/DELETE
  21. 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
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×