4 ms·
How you will send request to FE and back if you have java in BE?
by oldnet 3y ago
How you will send request to FE and back if you have java in BE?
- jkern 3y agoI'm not trying to be harsh, but it genuinely sounds like you have no idea what you're talking about
- kaba0 3y agoYou can be harsh — it is pretty dumb to come here shitting on a whole platform, when they don’t even know the basics.
- oldnet 3y agoTell 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.
- frederikb 3y agoThe 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.
- kaba0 3y agoDo 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.
- oldnet 3y agoBE 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.
- Capricorn2481 3y agoWhat did you mean when you wrote this? You can send a request to any backend server, regardless of language.