Live data from Hacker News

How Netflix uses Java

infoq.com

71–80 of 205 posts

Re: How Netflix uses Java

#71
post #63
post #51

Earlier quoted context omitted.

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.

Re: How Netflix uses Java

#72

>Netflix observed a 20% increase of CPU usage on JDK 17 compared to JDK 8. This was mostly due to the improvements in the G1 garbage collector. Help me here, why do GC improvements cause CPU increase?

I haven’t seen the specific profiling data, but it’s possible that the garbage collector is running a collection thread, concurrently with regular processing threads, and thereby preventing entire world synchronization points which would idle processor cores.

Re: How Netflix uses Java

#73

>Netflix observed a 20% increase of CPU usage on JDK 17 compared to JDK 8. This was mostly due to the improvements in the G1 garbage collector. Help me here, why do GC improvements cause CPU increase?

It’s a 20% improvement. So less time spent on GC.

Re: How Netflix uses Java

#76
post #42

>Netflix observed a 20% increase of CPU usage on JDK 17 compared to JDK 8. This was mostly due to the improvements in the G1 garbage collector. Help me here, why do GC improvements cause CPU increase?

> Help me here, why do GC improvements cause CPU increase? In Java 8 (afaik) there were pretty much no generational or concurrent garbage collectors, so garbage collector would happen in a stop-the-world manner: all work gets put on a halt, garbage collection happens, then the work can resume. If you have a better GC, you have shorter and less frequent needs to do a stop the world pause. Hence the code can run on cpu…

Java8 was at least a decade into generational and concurrent GC. It does STW once in a while though which may be what you meant.

Re: How Netflix uses Java

#77
post #17

Spring Boot and Spring cloud for backend & graphql for the win. ;-)

No, just no. Performance and debugging are just plain horrible. The spring team loves to force you into their automagic shit and this bean stuff is so annoying. You almost got no compile time safety in this stack. It's the bane of my existence. I'd like to know that a compiled program will run. That seems virtually impossible with java/spring boot.

[flagged]

Re: How Netflix uses Java

#78

Earlier quoted context omitted.

No, just no. Performance and debugging are just plain horrible. The spring team loves to force you into their automagic shit and this bean stuff is so annoying. You almost got no compile time safety in this stack. It's the bane of my existence. I'd like to know that a compiled program will run. That seems virtually impossible with java/spring boot.

[flagged]

"This person" makes rather relevant comment on Spring boot's severe shortcomings.

Whereas your comment from throwaway account is blabbering nonsense.

Re: How Netflix uses Java

#79
post #78

Earlier quoted context omitted.

[flagged]

"This person" makes rather relevant comment on Spring boot's severe shortcomings. Whereas your comment from throwaway account is blabbering nonsense.

Well that supports my point actually, that these "short comings" aren't short comings at all if one takes the time to learn the framework. Blabbering? People often say that who have no valid technical or intellectual response.

Re: How Netflix uses Java

#80
post #71
post #63

Earlier quoted context omitted.

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.

Post reply on HN