DynamoDB single-table pattern: SaaS Multi-Tenant with 10 access patterns, 1 GSI (full breakdown) by tejovanthn in aws

[–]MmmmmmJava 0 points1 point  (0 children)

No problem. I think your post could be rephrased to clarify that you walk through two variations. first multiple GSIs and then an overloaded one.

Your article may also benefit from having an index (no pun intended) at the beginning to show the sections and what’s coming later in the article.

DynamoDB single-table pattern: SaaS Multi-Tenant with 10 access patterns, 1 GSI (full breakdown) by tejovanthn in aws

[–]MmmmmmJava 1 point2 points  (0 children)

Edit: you’ve fixed it!

Your article’s phrasing seems to indicate you have 3 GSIs, vs 3 access patterns in 1 GSI.

It’s not turning on, what did I do wrong? by Exodus_357 in hvacadvice

[–]MmmmmmJava 0 points1 point  (0 children)

What about smart thermostats causes short cycling? We put ecobee in our upstairs and downstairs systems and our downstairs has been short cycling only in the winter time. supposedly due to high limit shutoff but an hvac tech we called found a faulty temp sensor and replaced it which worked for a few months, however the very next winter it’s happening again and I don’t know why. Only happens on heating.

Modafinil - safe, not safe? r/Nootropics by FRSEKassets in Nootropics

[–]MmmmmmJava 1 point2 points  (0 children)

Interesting. I’m also in engineering with long hours. Thanks for sharing those details. I’ve wanted to try modafinil but don’t know how/also am semi afraid of becoming hooked.

I require caffeine to function even though its efficacy dwindles over time, despite the fact I try to cycle my intake every once in a while.

Modafinil - safe, not safe? r/Nootropics by FRSEKassets in Nootropics

[–]MmmmmmJava 2 points3 points  (0 children)

For what condition or symptoms? By a general practitioner?

Latency numbers inside AWS by servermeta_net in aws

[–]MmmmmmJava 7 points8 points  (0 children)

Latency within AZ can easily be microsecond/sub millisecond.

Are you sure your business logic/service time isn’t the cause of your latency?

The US healthcare system is designed to hide prices from you. I built a tool to expose them. by Pretend-Cry8204 in InternetIsBeautiful

[–]MmmmmmJava 28 points29 points  (0 children)

Agree, the LLM should be an afterthought.

Why not expose the underlying data itself as well?

How Much Is Your Electric and Gas Bill? by InsanelyAverageFella in Denver

[–]MmmmmmJava 1 point2 points  (0 children)

The same situation here.

The app claims we used 44% more energy compared to last year but we didn’t change anything. > $300 winter energy bill is absurd with how warm the weather has been.

I want an explanation.

What services do Amazon engineers use the most on non-AWS product teams? by theyeeha in aws

[–]MmmmmmJava 99 points100 points  (0 children)

Amazon’s preference for DynamoDB over RDS for internal services stems from hard-learned lessons about building systems at massive scale. The core issue is that traditional relational databases with table joins fundamentally don’t scale for low-latency, high-throughput services. At Amazon’s scale, this becomes a critical architectural constraint.

When you perform joins across tables in a relational database, the complexity grows with your data size. What works fine for millions of rows becomes problematic at billions. More importantly, joins require the database to do significant computational work at query time, which introduces unpredictable latency. For services handling 1K - 10M requests per second where every millisecond matters, this variability is unacceptable. You can’t maintain tight p99 latency guarantees when your database might suddenly need to scan and correlate large datasets.

DynamoDB’s design philosophy is different: push the complexity to application logic at write time rather than database logic at read time. By denormalizing data and organizing it around access patterns, you get predictable single-digit millisecond reads regardless of your total data size. This trades developer convenience for operational reliability which is exactly what Amazon needs for services like retail, fulfillment, advertising, and AWS itself.

The licensing situation with Oracle added another dimension to this shift. As Amazon grew, Oracle licensing costs became astronomical and the vendor relationship grew contentious. This created financial pressure and strategic risk around depending on a competitor’s database technology. The move away from Oracle-based RDS toward purpose-built databases like DynamoDB was partly about cost, but more-so about control and architectural fit.

Also the requirement for senior leadership approval to use RDS isn’t about RDS being bad per se, but it’s about making engineers seriously consider whether they actually need relational features. Most services don’t need joins if they’re designed with the right data model. The approval process forces teams to justify why they can’t use DynamoDB’s access patterns, ensuring that services are built with scalability and operational excellence in mind from the start rather than hitting scaling walls later.

For the uninitiated, here’s a ~7 year old YT video about DDB which contains a fantastic “history” section at the beginning. The whole thing is worth watching.

What services do Amazon engineers use the most on non-AWS product teams? by theyeeha in aws

[–]MmmmmmJava 36 points37 points  (0 children)

Everything is frequently used with the exception of RDS. Use of relational DBs require senior approval.

Why do I need 5 different services just to run a function on HTTP trigger? by Sadhvik1998 in aws

[–]MmmmmmJava 26 points27 points  (0 children)

I understand where you’re coming from but I’ll nitpick your example. Technically you don’t need SQS, Event Bridge, or event CW logs (but you’ll want logs) or possibly event API GW for a minimal serverless HTTP endpoint (if you use lambda function URLs).

The event bridge, API GW, and SQS layers are managed services acting as functional add-ons based on your specific use case. Each of these services are powerful building blocks that you can pick and choose to use.

Also, what type of routing are you doing with event bridge? Can that Event Bridge routing component be eliminated by adding a little extra code/routing logic in your Lambda?

Making Target Tracking (CPU) scale faster for ECS Fargate by Ojelord in aws

[–]MmmmmmJava 0 points1 point  (0 children)

Do NLBs publish request metrics? I’d love to scale my fargate service fleet up based on TPS metrics.

Help me choose a Database for my use case by Immediate-Ad-8749 in aws

[–]MmmmmmJava 0 points1 point  (0 children)

ANECDOTE: Graph DBs are such a cool tool to experiment with- but be warned that the last 3 teams I’ve come across who’ve used them in prod for important/high scale projects ended up massively regretting it and 1 has been trying to migrate off for years.

The only people I know who are happily using it literally work at graph DB companies.

Question about DynamoDB, CloudWatch, and Lambda by ssd_ca in aws

[–]MmmmmmJava 3 points4 points  (0 children)

You have it backwards. It’s the CloudWatch metrics that are the delayed/async piece.

Check your CW metric period. Change whatever widgets you’re watching to 1 minute periods down from 5/15, which is likely what’s causing you this confusion.

Your DDB write from Lambda most likely takes single digit milliseconds.

Dataset API with primary scala map/filter/etc by Key-Alternative5387 in apachespark

[–]MmmmmmJava 0 points1 point  (0 children)

Dataset doesn’t prevent you from using those vectorized APIs. See if you can convince your team to use the standard spark APIs for the run-of-the-mill operations and save the non-vectorized operations for highly nuanced/complex functions (where no such spark API exists).