Luke Hegarty
lheg.bsky.social
Luke Hegarty
@lheg.bsky.social
💻 Senior Software Engineer @ Kraken.tech
🏅 AWS Solutions Architect Associate Certified
🏅 Terraform Associate Certified
Reposted by Luke Hegarty
Every time the browser makes a cross-origin request, it first makes a preflight request to make sure it can actually send the request.

Since API Gateway charges per request, you’re billed for both the preflight and the main request.
January 10, 2025 at 8:26 AM
December 16, 2024 at 8:55 PM
Thank you @pete-naylor.bsky.social for your sharing your thoughts. My primary experience with AWS DB services has been with DynamoDB so far so I appreciate the insight, particularly into hot key contention as that is not something I have really considered before. One for the future!
December 12, 2024 at 9:54 PM
@leeroyhannigan.bsky.social thanks for the context mate. Unfortunately I can’t amend my initial post to add this additional information 😬 but appreciate you responding.
December 11, 2024 at 12:49 AM
@werner.social It’s fantastic the recognition you are giving to those who tirelessly support and inspire the AWS community. Whenever I’m scratching my head on a problem, 9 times out of 10 I’ll end up using a solution from an #AWS hero. #listentotheheroes
December 10, 2024 at 9:39 AM
..but the pattern was a relic of its time pre on-demand / auto-scaling etc.

What I’m trying to figure out now is when you’d use DynamoDb over the new Aurora DSQL? #AWS #DynamoDb #AuroraDSQL #re:Invent

blog.highbar.solutions/single-table...

aws.amazon.com/rds/aurora/d...
Single table design for DynamoDB: The reality
Consider the downsides of single table design before committing your developers
blog.highbar.solutions
December 8, 2024 at 10:49 PM
Updates with conflicting attributes however, it’s likely better to have a single service aggregating the writes of the artefacts and using versioning/optimistic locking so that writes can be rejected if obsolete.

www.youtube.com/watch?v=yvBR...

docs.aws.amazon.com/amazondynamo...
AWS re:Invent 2018: Amazon DynamoDB Under the Hood: How We Built a Hyper-Scale Database (DAT321)
YouTube video by Amazon Web Services
www.youtube.com
December 7, 2024 at 5:59 PM
This nullifies any issues with the order in which update was received as you are not going to conflict on attributes. An example could be multiple microservices that make up a larger bounded context writing their own specific artefact i.e a product price , inventory to a record.
December 7, 2024 at 5:59 PM
All I could find in the docs is:
“Zero-ETL integration does not support transformations while replicating the data from transactional data stores to Amazon Redshift. Data is replicated as-is from the source data base. However, you can apply transformations on the replicated data in Amazon Redshift.”
December 6, 2024 at 11:16 PM