Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's constantly sending requests from BE to FE - checking IP, checking watch time etc.


That’s entirely unrelated to the backend language (and mostly unrelated to CPU usage for that matter).


do you know javascript? it can eat CPU


Java and JavaScript have no relation at all.


How you will send request to FE and back if you have java in BE?


I'm not trying to be harsh, but it genuinely sounds like you have no idea what you're talking about


You can be harsh — it is pretty dumb to come here shitting on a whole platform, when they don’t even know the basics.


Tell me ... why it's only netflix what makes CPU go on max? Why netflix is giving me info message when I turn on VPN in the middle of movie? Why it's only netflix who stop working another second when my internet connection has quick failure?

Sorry but it seems that you have no idea how netflix really works.


Do you even know what a frontend/client is vs a backend?

The frontend is anything but java (the website uses javascript, they have mobile apps, not sure what they are written in, but besides android having a few necessary wrappers, these are also not java applications).

You don’t see the backend and they do different things between different services so not much point in comparing them - that’s a huge, complex, partially cached-at-your-ISP even network infrastructure.

Besides, Java itself is very fast and is itself no reason for an applications’ (especially network-related) bad performance. It literally runs like half of the internet, with basically every other top 100 IT companies having business-critical infrastructure dependent on it.


BE doesn't need constant info about user if BE would be correctly written.

I never saw BE which sends so much requests to FE for user info. Someone just has no idea how to use Java without making CPU wild.


The point that the others are trying to make is that these questions are not relevant in the context of the backend technology choices. The REST or GraphQL endpoints could be handled by monkeys writing bits via typewriters and it wouldn't affect the CPU usage in your browser.


What did you mean when you wrote this? You can send a request to any backend server, regardless of language.


Alright, its clear that either you’re a troll or you don’t realise that you have no idea what you’re talking about, either way there’s no point going further into this conversation


That is nothing to do with Java.


That shouldn't take that much CPU tbh, but if it does, it sounds like they have some optimization to do.

I wonder if it's like DRM in video games, causing a lot of overhead.


Makes sense. The most gifted coders wouldn't work in DRM and telemetry. At least I hope that's what is happening.


Maybe.

I watch streams on youtube, twitch etc and everything is fine.

However whole CPU is flying to the moon if I will watch something on netflix.

Btw Chrome was pure a nightmare for CPU but Brave is better.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: