David Behroozi
rootothez.bsky.social
David Behroozi
@rootothez.bsky.social
590 followers 110 following 240 posts
Solo developer. Doing the impossible; faster. https://speedrun.cc AWS Community Builder.
Posts Media Videos Starter Packs
I've started tagging my CDK projects so I can find them on disk when I inevitably need to upgrade the Lambda runtime.
They briefly mention the account based endpoints in the writeup: aws.amazon.com/message/1019... But my question remains, were those endpoints also impacted? Were the teams that couldn't get to dynamo not using the account based endpoints?
Ha! Something good came of the AWS incident Monday. I purchased a day pass to SlingTV to watch the Mariners play only to find I bought the wrong color (bought orange instead of blue which had the game). There aren't refunds on day passes, but due to the outage, they refunded me. I'll allow it!
When the dust settles with the DynamoDB DNS issue, i'd be interested in understanding if it impacted the main DNS only: dynamodb.us-east-1.amazonaws.com or also the account id based DNS: .ddb.us-east-1.amazonaws.com? The account id DNS should have reduced the blast radius in theory.
One nice thing about cycling is the tool roadkill. This is the second pair of lock-jaw pliers I've found in the street.
I've never seen a background guitar so comfortable.
Heads up. If you attempt to sign up for the virtual pass using Firefox for Mac 144, when you select your Country of residence the modal closes without allowing you to sign up. It works in Chrome.
TBH I didn't do a comparison. There was an llrt sample that used it so I knew it had a good chance of working. In hindsight, these are the features I Iike about it
+ ESM
+ Middleware
+ Fast
+ Types
+ No dependencies
+ Small
+ Active
This was more of a challenge to see what was possible. I could rewrite it in go or rust, but I'm also retired so learning either of those languages well isn't a priority.
We did it fam. I successfully got my api working on LLRT. I had to switch to hono, drop jose, and modify some request parsing for form data, but IT WORKS! Seeing 188 ms Init Duration vs. 375 ms for Node 22. Warm requests with AWS service calls are like 60ms faster too.
These aren't called spaces because tabs are better. This conversation is complete.
Can confirm, very good. Get there a little before 5pm or you're competing with everyone in Seattle for a taste.
The color coordinated Red Bull must not have kicked in yet 😅
It appears I was using `@initDuration+@billedDuration` and not `@initDuration + @duration` artificially inflating the baseline to 144ms from ~78ms. The delta between making a service call to STS from init vs. the handler is close to nothing when using llrt.
The next version of LLRT supports calling AWS services in init so you can utilize the extra CPU power. In testing, the initDuration+duration went from p50 of 144 ms to 76 ms! However, the E2E duration (from the client) stayed the same p50 of 268 ms vs p50 of 266 ms. This makes no sense to me.
@jason.energy was a multimodal mc at #cascadiajs He ranged from concert in the park pose to Carole Baskin leopard print. Good times!
It's possible I built the pre-release version differently, and it's less optimized than a release build. I'm expecting to see the E2E time reduced by the same amount as the runtime savings.
The next version of LLRT supports calling AWS services in init so you can utilize the extra CPU power. In testing, the initDuration+duration went from p50 of 144 ms to 76 ms! However, the E2E duration (from the client) stayed the same p50 of 268 ms vs p50 of 266 ms. This makes no sense to me.
My garbage disposal kept failing due to low voltage at the switch (36 volts instead of 120). Today after it failed for the third time and my normal voodoo didn't work, I bought a new switch. The culprit was smoked sugar ants in the contact.
I think the future is something more like cloudfront functions (i.e. cut out lambda entirely). But for critical path, cross domain use cases like api gateway authorizers, using a faster lambda runtime makes sense now. Ben Pyle has written about this use case for rust: binaryheap.com/cognito-star...
Cognito Starter Kit with Rust and Lambda » A Pyle of Stories
Cognito is a powerful AWS managed service which can be further extended. In this article I walk through a Cognito Starter Kit with Rust and Lambda.
binaryheap.com