David Behroozi

1.7K posts

David Behroozi banner
David Behroozi

David Behroozi

@rooToTheZ

Solo Dev. Doing the impossible; faster https://t.co/8f9sxmxnFe

شامل ہوئے Mart 2023
124 فالونگ303 فالوورز
David Behroozi
David Behroozi@rooToTheZ·
@alexbdebrie @astuyve @JackEllis When I've needed to hit sub 100ms, I've used bare metal or fargate as an auth/throttling fleet and primed the connections before putting the host behind ALB. There isn't anything lightweight enough yet to hit 100ms cold when querying redis from lambda. Rust maybe.
English
1
0
2
39
Jack Ellis
Jack Ellis@JackEllis·
Serverless folks using Redis, show me your benchmark of a cold connection to Redis.
English
5
0
7
3.2K
David Behroozi
David Behroozi@rooToTheZ·
@DavidWells The way it's implemented with a different console subdomain per account/role makes it significantly easier to manage cookies and do correctly tho.
English
0
0
0
44
David Behroozi
David Behroozi@rooToTheZ·
@DavidWells Tempting! But I'm from the generation before people started writing tests 😅
English
0
0
0
24
David Wells
David Wells@DavidWells·
Hey Davids out there.... Do I have a deal for you! Bidding starts at 10k
David Wells tweet media
English
2
0
4
314
Aaron Francis
Aaron Francis@aarondfrancis·
Haha I don't care if the AI thinks my code is good (I care a lot)
Aaron Francis tweet media
English
7
0
69
13K
Tobias Schmidt
Tobias Schmidt@tpschmidt_·
@rooToTheZ @sandro_vol @AWSSupport That's a pretty good hint. Already tried to move our viewer request Lambda@Edge to CloudFront functions, but couldn't make it work due to errors. Didn't have the time to investigate, but are there common JS things that are not supported in cloudfront-js-2.0? 🙇
English
2
0
1
81
Tobias Schmidt
Tobias Schmidt@tpschmidt_·
Hey @AWSSupport This is urgent 🔥 Microsoft is currently in the process of shutting down our platform's CDN (Edgio) with a very short prior notice that came right before Christmas. Therefore, we're migrating to CloudFront now as Azure Frontdoor doesn't have the features for URL conditions & rewrites that we need. It already works like a charm, except for the fact that our new AWS accounts have a Lambda concurrency limit of 10 which results in throttles all the way due to the Lambda@Edge functions. ⚡️ Could you speed up the approval process so we don't run into a lot of troubles on production? 🙇
English
3
3
6
1.9K
Yan Cui
Yan Cui@theburningmonk·
@dreamorosi ps. using Axios and everything works expected, and X-Ray traces the request through the HTTP call here you can see both functions accounted for, and the first function has a HTTP segment too
Yan Cui tweet media
English
1
0
2
932
Yan Cui
Yan Cui@theburningmonk·
Does X-Ray no longer trace through HTTP requests? Here, I have Lambda -> API Gateway -> Lambda With x-ray active tracing enabled on both functions and API Gateway. Both functions initialised Lambda Powertools' tracer. But the trace doesn't span across to the 2nd function anymore. Is this a bug? Has anyone experienced this? Left is node 18 using CJS. Right is node 20 with ESM. I don't imagine that'd be the problem though.
Yan Cui tweet media
English
3
3
26
3.6K
David Behroozi
David Behroozi@rooToTheZ·
@aarondfrancis Might add one more Ikea tealight to illuminate the right side of your face.
David Behroozi tweet media
English
0
0
1
79
Aaron Francis
Aaron Francis@aarondfrancis·
This is the sole reason I tried so hard to get interactive commands working (and it was very hard, tbh)
English
25
13
202
17.3K
David Behroozi
David Behroozi@rooToTheZ·
@wtfjoke Fast can't be diluted 😅! I see others posting to 3 sites and am confused where to interact. So I'll make it easy for you and pick 🧈🪽 for my day to day brand, but post blogs to 🧈🪽 and 🔗🏨 because it's longer form content.
English
0
0
1
20
Manuel
Manuel@wtfjoke·
@rooToTheZ Sad you leave, but I'll follow you on the other sites as well :)
English
1
0
1
18
David Behroozi
David Behroozi@rooToTheZ·
So long Twitter, thanks for all the democracy! I'll probably lurk, comment and like here still, but if you are jonesing for my troublemaking, candid hat shots, serverless content or 🍌 facts, follow me on the double winged site or the beyond stoked site.
David Behroozi tweet media
English
1
0
6
274
David Behroozi
David Behroozi@rooToTheZ·
@aarondfrancis This is motto material right here. "Why!!!? BECAUSE IT'S AWESOME!!!!" It also explains the essence of why a perfect reverse 18 wheel parkjob deserves a primal nod.
English
0
0
1
41
Aaron Francis
Aaron Francis@aarondfrancis·
You can also change the box style and the scrollbar handle in your theme! Why? Who knows! Because it's awesome!
Aaron Francis tweet mediaAaron Francis tweet media
English
2
0
8
2.9K
Aaron Francis
Aaron Francis@aarondfrancis·
This was easily one of the trickiest things I've ever coded. Too many processes running? That's ok! You've now got scrolling tabs. Resize your terminal? That's ok! It'll reflow just fine. 😮‍💨😮‍💨😮‍💨 This was the last bit of polish. Shipping tomorrow!
English
17
8
216
42.5K
David Behroozi
David Behroozi@rooToTheZ·
@astuyve Fair, but I'd call it a year not years. The last features are from reinvent 2023. Still seems low risk to me, you can get the lower price today and fall back to fargate/ALB if they sunset.
English
0
0
1
60
AJ Stuyvenberg
AJ Stuyvenberg@astuyve·
I'm mostly very pleased with AWS Fargate, but one thing I'd love is for them to either build their own (cheaper) load balancer or even offer a free version which is a supremely simple, DNS-based round robin solution Save me the $15/mo on ALB if I'm only trying to move a small service out of Lambda!
English
9
2
49
8.8K
David Behroozi
David Behroozi@rooToTheZ·
@Eidivandi Yep! Even with integration tests, my hunch is there's probably a few seconds before the first invocation. Lambda team would have the data on time to first invoke, I'm just dreaming out loud here 😜.
English
0
0
1
12
David Behroozi
David Behroozi@rooToTheZ·
Lambda should just do a proactive initialization after deployment. Seems like a simple way of getting rid of 1 coldstart, I always invoke soon after I deploy.
English
2
0
5
599
David Behroozi
David Behroozi@rooToTheZ·
Also wondering if everyone goes into sport mode whether loading goes faster 😅.
English
0
0
0
53
David Behroozi
David Behroozi@rooToTheZ·
TIL airplane headrests have a sport mode. Is this on all planes? I've never tried folding in the sides before.
David Behroozi tweet media
English
1
0
1
111
David Behroozi
David Behroozi@rooToTheZ·
See you tomorrow at GitHub Universe '24. I have small sticky things and a few $2 bills if you prefer non-sticky paper.
David Behroozi tweet media
English
0
0
7
331