AWS Managed Databases & .NET
Total Page:16
File Type:pdf, Size:1020Kb
AWS Managed Databases & .NET Kirk Davis Senior Solutions Architect © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Fully managed databases for every use case MySQL PostgreSQL Amazon Aurora Amazon RDS Amazon DynamoDB Amazon DocumentDB Amazon Managed Amazon ElastiCache Cassandra Amazon Redshift Amazon Neptune Amazon Quantum Ledger Amazon Timestream © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Database Amazon DynamoDB Features Overview . Effectively limitless capacity . Low latency (single-digit ms), highly-available . Supports in-memory cache (DAX) for microsecond latency . Encryption at rest . Secondary indexes (global + local) . ACID transaction support . Automated global replication w/Global Tables . DynamoDB Streams & Triggers for real-time processing . On-demand backup/restore & point-in-time recovery © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DynamoDB SDKs Application DynamoDB Streams SDK Low-level Document Object-persistence interface interface interface Any language .NET, Java, Node.js, JS .NET, Java DynamoDB Accelerator SDK (DAX) DynamoDB low-level API © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Object-persistence model using Amazon.DynamoDBv2.DataModel; …method() { var context = new DynamoDBContext(new AmazonDynamoDBClient()); context.Save(SomeInstanceOfClass); } © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Point-in-time Restore © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Global Tables – cross-region replication Build high-performance, globally distributed applications Low latency reads and writes to locally available tables Multi-region, multi-master Easy to set up and no application rewrites required © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon DynamoDB Accelerator (DAX) Your applications Fully managed, highly available cache for DynamoDB Even faster— DAX microsecond latency Scales to millions of requests per second DynamoDB API compatible © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon DynamoDB Transactions . Group multiple Put, Update, Delete, and ConditionCheck actions and submit them as a single TransactWriteItems operation . Transaction either succeeds or fails as a unit . No additional cost to enable transactions © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Partitions are three-way replicated Id = 2 Id = 1 Id = 3 Name = Kim Name = Andy Name = Jim Replica 1 Dept = Engg Dept = Ops Id = 2 Id = 1 Id = 3 Name = Andy Name = Jim Name = Kim Replica 2 Dept = Engg Dept = Ops Id = 2 Id = 1 Id = 3 Name = Andy Name = Jim Name = Kim Replica 3 Dept = Engg Dept = Ops © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Data Types – Object-persistence maps for you Attribute Data Types Collections: . String (S) . String set (SS) . Number (N) . Number set (NS) . Binary (B) . Binary set (BS) . Null . List . Boolean . Map © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved..