Since SQS bills you per request
The naive approach is "use it less"
As general guidance, that mismatches
So instead put your messages in batches
We find this happens now and then:
batch up those items, up to ten
Buffer writes; savings are giant
(Assuming that's supported by your client)
Tune your polling (how long you wait,
not the kind done by @NateSilver538)
As polls get longer, bills will fall
How far to push it? That's your call.
The goal's to ensure that every call
Returns results, but that's not all
You'll find this link might help a bunch
It's kinda wordy; pack a lunch. docs.aws.amazon.com/AWSSimpleQueue…
Other fixes mean "rewrite your app,"
Without specifics, that's just crap
You asked a question, here's the scoop
Brought to you by The @DuckbillGroup.
/fin
• • •
Missing some Tweet in this thread? You can try to
force a refresh
So many years ago, when my humor was significantly more sophomoric, I had the “cloud to butt” browser extension installed.
It replaced the word “cloud” with “butt.” Suddenly @RedHat’s site was talking about public and private butts, which admittedly makes a lot more sense than whatever the hell it’s talking about now.
I was embedded at a client site for a while, and I replied to some email or another. The client manager responded with what might possibly be the most flustered email I’ve ever read, apologizing for his previous message.
Every time that I've looked at them prior
I found two big things to correct:
The first rooted within architecture
The other its shitty DX
For the former it seems kinda squirrelly
For a database to think that it's somehow a queue
And the latter with console or CloudFormation
ERROR: ROLLBACK_IN_PROGRESS: FUCK YOU
So an anonymous Twitter person DM'd me this morning with a scenario. "I work at a large cloud company that makes inscrutable naming decisions, and I have an offer elsewhere for 35% more. Should I take it?"
Oh good heavens yes. A thread...
I hopped on a call with them and proceeded to firehose a bunch of career advice in their direction. I took a few notes and here's the gist of it.
No one is going to have your interests first and foremost except for you. You owe your employer a duty of care, and a duty of confidentiality, but you don't owe them loyalty.
Stage 0: You have an idea. You fit in the free tier.
Stage 1: You get a pile of Activate credits (anywhere from a pat on the head to $100K, though there are exceptions). This counterintuitively helps set you up for failure; if it's "free" to you, you don't practice good early hygiene.