News for hackers. Stuff that matters.
Re:Netflix Revamps Tudum's CQRS Architecture with Raw Hollow... by thecupisblue on Tuesday August 19, 2025 @05:04AM (#44949671)
Holy shit the amount of overcomplications to serve simple HTML and CSS. Someone really has to justify their job security to be pulling shit like this, or they really gotta be bored.

If anyone can _legitimately_ justify this, please do, I'd love to hear it.

And don't go "booohooo at scale" because I work at scale and am 100% not sure what is the problem this is solving that can't just be solved with a simpler solution.

Also this isn't "Netflix scale", Tudum is way less popular.

Re:Netflix Revamps Tudum's CQRS Architecture with Raw Hollow... by sunrunner on Tuesday August 19, 2025 @06:53AM (#44950194)
> Tudum is way less popular

I hadn't even heard of it until today.

Re:Netflix Revamps Tudum's CQRS Architecture with Raw Hollow... by moralestapia on Tuesday August 19, 2025 @08:33AM (#44950830)
I thought the article was about some internal Netflix piece of infra (well ... it is in some way) but it really is some website for some annual event ... wow.

This has to be one of the most over-engineered websites out there.

Re:Netflix Revamps Tudum's CQRS Architecture with Raw Hollow... by yandie on Tuesday August 19, 2025 @12:23PM (#44953334)
And it’s still slow on my phone (and I’m not a logged in user)
Re:Netflix Revamps Tudum's CQRS Architecture with Raw Hollow... by geodel on Tuesday August 19, 2025 @10:46AM (#44952155)
You don't know what your are missing :-)
Re:Netflix Revamps Tudum's CQRS Architecture with Raw Hollow... by motorest on Tuesday August 19, 2025 @08:40AM (#44950871)
> Holy shit the amount of overcomplications to serve simple HTML and CSS.

If you read the overview, Tudum has to support content update events that target individual users and need to be templated.

How do you plan on generating said HTML and CSS?

If you answer something involving a background job, congratulations you're designing Tudum all over again. Now wait for opinionated drive-by critics to criticize your work as overcomplicated and resume-driven development.

Re:Netflix Revamps Tudum's CQRS Architecture with Raw Hollow... by bonesss on Tuesday August 19, 2025 @09:13AM (#44951127)
Don’t forget the part where people not even a little exposed to the massive tech infrastructure at hand and local skill pool make WAGs about what us and isn’t cheap.

Kafka might seem like extra work compared with not Kafka, but if it’s already setup and running and the entire team is using it elsewhere suddenly it’s free.

Re:Netflix Revamps Tudum's CQRS Architecture with Raw Hollow... by yodon on Tuesday August 19, 2025 @12:34PM (#44953440)
>How do you plan on...

This isn't an engineering problem. It's a PM+Eng Lead failing to talk to each other problem.

If you need 20 engineers and exotic text for what should be a simple static site or Wordpress site, you're doing it wrong.

Re:Netflix Revamps Tudum's CQRS Architecture with Raw Hollow... by nchmy on Tuesday August 19, 2025 @12:42PM (#44953517)
> How do you plan on generating said HTML and CSS?

Is this not what SSR html - via any backend language/framework - has been doing since forever?

Re:Netflix Revamps Tudum's CQRS Architecture with Raw Hollow... by solid_fuel on Tuesday August 19, 2025 @06:36PM (#44956893)
I hear "content update events that target individual users and need to be templated" and immediately rule out any approach involving a background job.

- Reddit doesn't use background jobs to render a new home page for every user after every update.

- Facebook doesn't use background jobs to render a new feed for every user after every update.

- Hacker News doesn't use background jobs to render a new feed for every user after every update.

Why? Because we have no guarantee a user will access the site on a particular day, or after a particular content update, so rendering every content update for every user is immediately the wrong approach. It guarantees a lot of work will be thrown away. The sensible way to do this is to render the page on demand, when (and IF) a user requests it.

Doing N*M work where N=<# of users> and M=<# of page updates> sure seems like the wrong approach when just doing N work where N=<# of times a user requests a page> is an option.

There's lots of less exotic approaches that work great for this basic problem:

- Traditional Server-Side Rendering. This approach is so common that basically every language has a framework for this.

- Single-Page Applications. If you have a lot of content that only needs updated sometimes, why not do the templating in the users browser?

- Maybe just use wordpress? It already supports user accounts and customization.

Re:Netflix Revamps Tudum's CQRS Architecture with Raw Hollow... by thecupisblue on Wednesday August 20, 2025 @09:56AM (#44961998)
I read the overview, and it is blindly obvious that the issue is cache invalidation and someone overengineered it.

This is not a spectacular problem. This is a "building a web service 101 problem", which was solved about the time CGI scripts came out.

Also why would anyone involve background jobs? You can do high-performance templating real-time, especially on 2025 hardware.

Re:Netflix Revamps Tudum's CQRS Architecture with Raw Hollow... by gf000 on Tuesday August 19, 2025 @08:44AM (#44950905)
Re:Netflix Revamps Tudum's CQRS Architecture with Raw Hollow... by geodel on Tuesday August 19, 2025 @10:48AM (#44952187)
Come on. These guys are Avengers: Infinity war against simplicity.