Blog Posts

DynamoDB Accelerator (DAX) Overview

Amazon DynamoDB Accelerator (DAX) is a fully managed, highly available, in-memory cache for DynamoDB that enables you to benefit from fast in-memory performance for demanding applications. DAX improves the performance of read-intensive DynamoDB workloads so repeat reads of cached data can be served immediately with extremely low latency.

DynamoDB Storage Backend for Titan

The DynamoDB Storage Backend for Titan is a plug-in that allows you to use DynamoDB as the underlying storage layer for Titan graph database.

It is a client side solution that implements index free adjacency for fast graph traversals on top of DynamoDB.  

Using DynamoDB enables you to run graph workloads without having to manage your own cluster for graph storage.

DynamoDB Time-to-Live (TTL)

DynamoDB Time-to-Live (TTL) is a mechanism that lets you set a specific timestamp to delete expired items from your tables. Once the timestamp expires, the corresponding item is marked as expired and is subsequently deleted from the table. TTL can help you reduce storage usage and reduce the cost of storing data that is no longer relevant.

 

Use cases

There are two main scenarios where TTL can come in handy:

Security and Fine Grained Access Control (FGAC) in DynamoDB

  1. Fine Grained Access Control (FGAC) gives a DynamoDB table owner a high degree of control over data in the table.

  2. The table owner can indicate who (caller) can access which items or attributes of the table and perform what actions (read / write capability).

  3. FGAC is used in concert with AWS IAM, which manages the security credentials and the associated permissions.

Useful APIs for Working with Secondary Indexes in DynamoDB

These are notes on some useful APIs to work with GSI and LSI.

 

Query API (GSI/LSI)

GSI support Query and Scan.

In addition to the common query parameters, a Query command explicitly includes the name of the index to operate against.

A query can use only one index.

A Query operation only searches index key attribute values and supports a subset of comparison operators.

DynamoDB Global Secondary Index (GSI)

  1. an index with a partition or a partition-and-sort key that can be different from those on the table.
  2. "global" because queries on the index can span all items in a table, across all partitions.

  3. GSI behavior is similar to that of a DynamoDB table: You can query a GSI using its partition key element, with conditional filters on the GSI sort key element.

DynamoDB Local Secondary Index (LSI)

  1. an index that has the same partition key as the table, but a different sort key. E.g. tracks Orders for customers, where CustomerId is the partition key.

  2. "local" in the sense that every partition is scoped to a table partition that has the same partition key.

  3. When you query a LSI, DynamoDB can access any of the projected attributes, with the same performance characteristics as if those attributes were in a table of their own.

Introduction to AWS Lambda and Serverless Computing

AWS Lambda is a higher level abstraction that lets you run code without provisioning or managing servers, following the servlerless architecture. You can run code for virtually any type of application or backend service with no administration.

You just needs to upload your code and Lambda takes care of everything required to run and scale your code with high availability, such as server and operating system maintenance, capacity provisioning, automatic scaling, code and security patch deployment, code monitoring and even logging.

Pages

Learn Serverless from Serverless Programming Cookbook

Contact

Please first use the contact form or facebook page messaging to connect.

Offline Contact
We currently connect locally for discussions and sessions at Bangalore, India. Please follow us on our facebook page for details.
WhatsApp (Primary): (+91) 7411174113
Phone (Escalations): (+91) 7411174114

Business newsletter

Complete the form below, and we'll send you an e-mail every now and again with all the latest news.

About

CloudMaterials is my blog to share notes and learning materials on Cloud and Data Analytics. My current focus is on Microsoft Azure and Amazon Web Services (AWS).

I like to write and I try to document what I learn to share with others. I believe that knowledge is useless unless you share it; the more you share, the more you learn.

Recent comments

Photo Stream