1. 2

    How much traffic on average does each Netty node process? Kind of interesting that you can get the kind of performance you need out of a JVM app, but I suppose the secret is scale, not individual node throughput.

    1. 2

      The way we run it isn’t necessarily indicative of how performant the OSS core version is. We’ve added a ton of stuff to it like hashing, encryption, decryption, auth, metrics, geo etc. that makes us heavily CPU-bound. In terms of performance on the JVM, Netty is really good. They go to great lengths to limit the creation of garbage and use native bindings to optimize moving byte buffers around.

      Generally you are correct though, it’s not about individual nodes, it’s about fleet size. We tend to favor running more, smaller nodes than few large ones. This lessens the impact of any single node failing and allows us to do incremental rollouts to test new features (i.e. canary testing).

      1. 3

        Very cool, thanks!

        Always makes me laugh when I hear hipsters bemoaning the death of Java, they get so incredulous when you mention that it’s still running everywhere doing mission critical work and shows no signs of slowing up anytime soon.

        1. 2

          The local, grocery chain just upgraded to touch screens from their DOS-looking stuff. The menu’s have little coffee icons on top of a weird UI. Gotta be a Java app with its non-native GUI. Most of the jobs out in my area similarly are asking for C# or Java. Stuff is everywhere.

          1. 3

            Gotta be a Java app with its non-native GUI

            I am always baffled by these comments. We are living in a world where almost everything is a web-app (chat, email, documents, wikis, sales processes whatnot) and they all look totally different. Nobody seems to care there.

            1. 2

              On desktop, we should do better, expected better, and we used to be better. But I guess Swing begets Electron in the end…

    1. 2

      Excellent talk about migrating Zuul to Netty: https://youtube.com/watch?v=2oXqbLhMS_A

      1. 1

        Thank you!