HNHacker News
TopNewBestAskShowJobs

throw1222212121

5 karma · joined March 9, 2025

submissionscomments
throw1222212121··on Whistleblower tells senators that Meta undermined U.S. security, interests
"To save the public from propaganda, we must implement national controls on all political media dissemination"
throw1222212121··on Architecture Patterns with Python
Hmm let's see we're going to

- Reimplement SQLAlchemy models (we'll call it a "repository")

- Reimplement SQLAlchemy sessions ("unit of work")

- Add a "service layer" that doesn't even use the models -- we unroll all the model attributes into separate function parameters because that's less coupled somehow

- Scatter everything across a message bus to remove any hope of debugging it

- AND THIS IS JUST FOR WRITES!

- For reads, we have a separate fucking denormalized table that we query using raw SQL. (Seriously, see Chapter 12)

Hey, let's see how much traffic MADE.com serves. 500k total visits from desktop + mobile last month works out to... 12 views per MINUTE.

Gee, I wish my job was cushy enough that I could spend all day writing about "DDD" with my thumb up my ass.