Amazon DynamoDB | Storage backend for Titan Flashcards
How do I download and install the Amazon DynamoDB Logstash Plugin?
Storage backend for Titan
Amazon DynamoDB | Database
The Amazon DynamoDB Logstash Plugin is available on GitHub. Read our documentation page to learn more about installing and running the plugin.
What is the DynamoDB Storage Backend for Titan?
Storage backend for Titan
Amazon DynamoDB | Database
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.
What is a graph database?
Storage backend for Titan
Amazon DynamoDB | Database
A graph database is a store of vertices and directed edges that connect those vertices. Both vertices and edges can have properties stored as key-value pairs.
A graph database uses adjacency lists for storing edges to allow simple traversal. A graph in a graph database can be traversed along specific edge types, or across the entire graph. Graph databases can represent how entities relate by using actions, ownership, parentage, and so on.
What applications are well suited to graph databases?
Storage backend for Titan
Amazon DynamoDB | Database
Whenever connections or relationships between entities are at the core of the data you are trying to model, a graph database is a natural choice. Therefore, graph databases are useful for modeling and querying social networks, business relationships, dependencies, shipping movements, and more.
How do I get started using the DynamoDB Storage Backend for Titan?
Storage backend for Titan
Amazon DynamoDB | Database
The easiest way to get started is to launch an EC2 instance running Gremlin Server with the DynamoDB Storage Backend for Titan, using the CloudFormation templates referred to in this documentation page. You can also clone the project from the GitHub repository and start by following the Marvel and Graph-Of-The-Gods tutorials on your own computer by following the instructions in the documentation here. When you’re ready to expand your testing or run in production, you can switch the backend to use the DynamoDB service. Please see the AWS documentation for further guidance.
How does the DynamoDB Storage Backend differ from other Titan storage backends?
Storage backend for Titan
Amazon DynamoDB | Database
DynamoDB is a managed service, thus using it as the storage backend for Titan enables you to run graph workloads without having to manage your own cluster for graph storage.
Is the DynamoDB Storage Backend for Titan a fully managed service?
Storage backend for Titan
Amazon DynamoDB | Database
No. The DynamoDB storage backend for Titan manages the storage layer for your Titan workload. However, the plugin does not do provisioning and managing of the client side. For simple provisioning of Titan we have developed a CloudFormation template that sets up DynamoDB Storage Backend for Titan with Gremlin Server; see the instructions available here.
How much does using the DynamoDB Storage Backend for Titan cost?
Storage backend for Titan
Amazon DynamoDB | Database
You are charged the regular DynamoDB throughput and storage costs. There is no additional cost for using DynamoDB as the storage backend for a Titan graph workload.
Does DynamoDB backend provide full compatibility with the Titan feature set on other backends?
Storage backend for Titan
Amazon DynamoDB | Database
A table comparing feature sets of different Titan storage backends is available in the documentation.
Which versions of Titan does the plugin support?
Storage backend for Titan
Amazon DynamoDB | Database
We have released DynamoDB storage backend plugins for Titan versions 0.5.4 and 1.0.0.
I use Titan with a different backend today. Can I migrate to DynamoDB?
Storage backend for Titan
Amazon DynamoDB | Database
Absolutely. The DynamoDB Storage Backend for Titan implements the Titan KCV Store interface so you can switch from a different storage backend to DynamoDB with minimal changes to your application. For full comparison of storage backends for Titan please see our documentation.
I use Titan with a different backend today. How do I migrate to DynamoDB?
Storage backend for Titan
Amazon DynamoDB | Database
You can use bulk loading to copy your graph from one storage backend to the DynamoDB Storage Backend for Titan.
How do I connect my Titan instance to DynamoDB via the plugin?
Storage backend for Titan
Amazon DynamoDB | Database
If you create a graph and Gremlin server instance with the DynamoDB Storage Backend for Titan installed, all you need to do to connect to DynamoDB is provide a principal/credential set to the default AWS credential provider chain. This can be done with an EC2 instance profile, environment variables, or the credentials file in your home folder. Finally, you need to choose a DynamoDB endpoint to connect to.
How durable is my data when using the DynamoDB Storage Backend for Titan?
Storage backend for Titan
Amazon DynamoDB | Database
When using the DynamoDB Storage Backend for Titan, your data enjoys the strong protection of DynamoDB, which runs across Amazon’s proven, high-availability data centers. The service replicates data across three facilities in an AWS Region to provide fault tolerance in the event of a server failure or Availability Zone outage.
How secure is the DynamoDB Storage Backend for Titan?
Storage backend for Titan
Amazon DynamoDB | Database
The DynamoDB Storage Backend for Titan stores graph data in multiple DynamoDB tables, thus is enjoys the same high security available on all DynamoDB workloads. Fine-Grained Access Control, IAM roles, and AWS principal/credential sets control access to DynamoDB tables and items in DynamoDB tables.