amazon-qldb

How to decode ion_binary of Amazon QLDB in ruby

萝らか妹 提交于 2020-06-17 00:51:30
问题 I was playing with QLDB of Amazon with ruby and used the aws-sdk-qldb and aws-sdk-qldbsession gem. I was getting result as IonBinary. But not able to decode and parse it. Following is the code cred = Aws::Credentials.new(ENV['AWS_ACCESS_KEY'], ENV['AWS_SECRET_ACCESS_KEY']) qldb_session_client = Aws::QLDBSession::Client.new(region: 'ap-southeast-1', credentials: cred) start_session_req = Aws::QLDBSession::Types::StartSessionRequest.new start_session_req.ledger_name = 'ledger-test' command

Amazon QLDB have any scaling/performance limits?

只愿长相守 提交于 2020-01-23 10:50:08
问题 The main Amazon QLDB page says QLDB is also serverless, so it automatically scales to support the demands of your application. However, even products like DynamoDB—with practically unbounded automatic scaling—have some scaling limits. (For example, DynamoDB has a max of 3k RCU per partition key.) I’m trying to find out the scaling/performance limits of QLDB. Is there any max TPS or max throughput per key, table, ledger, or account? Is there a maximum storage size per table or ledger or

How to get/compute CommitDigest when committing a transaction in AWS QLDB?

可紊 提交于 2019-12-20 13:17:35
问题 I've been reading through the docs trying to figure out how to commit a transaction in QLDB, and in order to do so, a CommitDigest is required, and the docs describe it as: Specifies the commit digest for the transaction to commit. For every active transaction, the commit digest must be passed. QLDB validates CommitDigest and rejects the commit with an error if the digest computed on the client does not match the digest computed by QLDB. So CommitDigest must be computed, but I'm not quite

How to get/compute CommitDigest when committing a transaction in AWS QLDB?

梦想的初衷 提交于 2019-12-03 03:23:50
I've been reading through the docs trying to figure out how to commit a transaction in QLDB, and in order to do so, a CommitDigest is required, and the docs describe it as: Specifies the commit digest for the transaction to commit. For every active transaction, the commit digest must be passed. QLDB validates CommitDigest and rejects the commit with an error if the digest computed on the client does not match the digest computed by QLDB. So CommitDigest must be computed, but I'm not quite sure what's required for its computation given this example: // ** Start Session ** const