Advertisement · 728 × 90

Posts by Roger Chi

Preview
AppSync Cache Eviction with Lambda Data Sources AppSync is a fully managed, serverless GraphQL API service from AWS. It has the concept of data...

How do you evict entries in AppSync's cache if you're using a Lambda Datasource? Here's an article that explains how:

AppSync Cache Eviction with Lambda Data Sources #DEVCommunity #appsync #serverless #aws dev.to/aws-builders...

2 months ago 0 0 0 0
Preview
Simple Service Relationships in EventBridge Event-driven architectures are powerful. Services communicate through events, staying loosely coupled...

I wrote an article describing a simple strategy for discovering service relationships in an EventBridge-based event-driven system. dev.to/aws-builders... #DEVCommunity #awscdk #eventbridge

2 months ago 1 0 0 0
Preview
AWS AppConfig multi-accounts, multi-environments with ease AppConfig is AWS's native solution for feature flagging and dynamic configuration management. It...

I wrote up my experiences setting up AWS AppConfig as a feature flagging tool, coming from having used tools like LaunchDarkly and Statsig in the past. dev.to/rogerchi/aws... #aws #serverless #appconfig

1 year ago 3 0 0 0

Not based on my testing — with a 1kb item I was only able to achieve 167 RPS. Of course optimistic locking is more cost efficient because it only requires one write, but there are many situations where pessimistic locking is required.

1 year ago 1 0 0 0

The choice between optimistic locking and pessimistic locking depends on the cost of retrying and chance for conflict. My article is specifically about when you want to use pessimistic locking. There is a larger throughput penalty for DDB transactions as you cannot achieve the full RPS as expected.

1 year ago 0 0 2 0
Preview
A Mental Model for DynamoDB Write Limits Amazon's DynamoDB is promoted as a zero-maintenance, virtually unlimited throughput and scale* NoSQL...

A simple scenario is a user opens an item for modification. You don’t want the item to change out from under them, so you need some form of locking. Transactions don’t really do anything for you here. Plus there is a large throughput penalty for using transactions: dev.to/aws-builders...

1 year ago 2 0 1 0
Preview
Practical DynamoDB - Locking Reads Amazon's DynamoDB is promoted as a zero-maintenance, virtually unlimited throughput and scale* NoSQL...

I wrote an article about a useful pattern for pessimistic locking in #dynamodb dev.to/aws-builders... #aws #serverless

1 year ago 11 0 1 0
Preview
GitHub - CloudSnorkel/cdk-github-runners: CDK constructs for self-hosted GitHub Actions runners CDK constructs for self-hosted GitHub Actions runners - CloudSnorkel/cdk-github-runners

I used this to spin them up recently and it was very easy github.com/CloudSnorkel...

1 year ago 3 0 0 0

Fairly sure you pay the same cost (twice the WCU per item for all items in the transaction) whether the transaction succeeds or fails. Returning the item attributes due to a condition check failure doesn’t cost anything extra. You can also specify ReturnConsumedCapacity to get the exact costs.

1 year ago 1 0 0 0
Advertisement

I saw some neat things that haven’t been announced yet show up in the CloudWatch console

1 year ago 2 0 0 0