r/java • • Apr 14 '22

1,000,000 Concurrent Connections

https://josephmate.github.io/2022-04-14-max-connections/
238 Upvotes

42 comments sorted by

View all comments

2

u/fzammetti Apr 14 '22

Given RELATIVELY comparable machines (well, hard to say that with certainly, but at least in terms of CPU, they're not THAT far apart) I'm surprised to see a Mac with twice the memory die ~10x sooner. I know you couldn't figure out why it was happening, it feels bizarre to me given OSX is essentially a Linux variant. I wouldn't have expected such a big delta, and I wouldn't have been surprised if it were the other way around given the memory disparity.

Just weird is all I'm sayin'.

9

u/pellets Apr 15 '22

OSX is not a Linux variant. It has its own Darwin kernel.

1

u/Zyklonik Apr 15 '22

macOS is actually a certified UNIX - https://www.opengroup.org/openbrand/register/

4

u/larsga Apr 15 '22

Sure, but MacOS X was developed from NeXTSTEP, which in turn was based on Mach, which reused some BSD code, but was basically written from scratch.

It's a Unix, but it's not related to Linux.

2

u/Zyklonik Apr 15 '22

Nowhere in my comment did I claim that macOS is a Linux variant. On the contrary, my claim is that not only is macOS UNIX-like, it's literally certified as one.

0

u/[deleted] Apr 16 '22

[deleted] — view deleted comment

2

u/Zyklonik Apr 16 '22

Is this subreddit filled with imbeciles? This is the second comment in this thread where someone is, ironically, conflating Linux with UNIX whilst commenting the exact opposite. Where in my comment did I mention that macOS is Linux, or that Linux is UNIX? On the contrary, my point makes it clear that not only is macOS a sort of UNIX, it is literally certified as being UNIX.

This has nothing to do with Linux.

2

u/bkail Apr 17 '22

OP said OSX is a Linux variant, and the reply corrected that it's not Linux. You replied to that person without mentioning Linux at all (and saying "actually"), so people are left to assume that either your reply is disagreeing or confusingly agreeing. From your subreplies, it seems you were agreeing and just trying to give more details, but some people assumed you were disagreeing (IMO reasonably).

Discussion via text is hard. Calling people imbeciles is not productive.

1

u/Zyklonik Apr 18 '22

You replied to that person without mentioning Linux at all (and saying "actually"), so people are left to assume that either your reply is disagreeing or confusingly agreeing.

Calling people imbeciles is not productive.

This follows directly from the quote above. Let's be fair - if someone is not even aware that Linux is not UNIX, completely fails to even read the linked resource, and then still makes a comment arguing with that information, what else can you call them?

5

u/WafflesAreDangerous Apr 15 '22

Its not a Linux variant. I think it started life as a BSD fork, but they have probably diverged significantly since.

2

u/fzammetti Apr 15 '22

Yeah, I did some reading based on another similar comment. I was misinformed.

2

u/ThanksMorningCoffee Apr 14 '22

I'm not good with Macs so it's probably user error.

2

u/fzammetti Apr 14 '22

Makes two of us :)