onurmatik
onurmatik

Reputation: 5295

Serverless Titan graph stack with AWS DynamoDB and Lambda

As announced here, it is possible to use Titan with DynamoDB as its backend.

Is it possible to build a serverless Titan Graph DB stack that is accessed via AWS Lambda functions?

Theoretically there should be nothing stoping this implementation but I couldn't find any example. There had been a discussion on the issue under the code repository but did not yield anything concrete yet.

Upvotes: 0

Views: 440

Answers (1)

Alexander Patrikalakis
Alexander Patrikalakis

Reputation: 5195

It is possible but I have not estimated the latency considerations involved in starting Titan in a Lambda function. For high request rates, write loads may not be appropriate as each lambda container will try to secure one range of ids from the titan_ids table and you may run out of ids quickly. If your requests are read-only, one way to reduce Titan launch time is to open the graph in read-only mode. In read-only mode, Titan does not need to get an id range lease from titan-ids either.

Upvotes: 1

Related Questions