3 ms·
I am confused as to how the source IP can be the same for every connection, as even the naivest socket server will be accepting connections from many different
by MostAwesomeDude 15y ago
I am confused as to how the source IP can be the same for every connection, as even the naivest socket server will be accepting connections from many different users, each with their own source IP, which makes this 60kconns/port/user.
- nknight 15y agoYou and several other people are completely failing to read and comprehend the blog post in its entirety. This has nothing whatsoever to do with where USERS are connecting from. If you have X sessions on a single front-end server opening one or more individual connections to a single back-end server (e.g. CouchDB), at least X ephemeral ports are used on the front-end server to connect to the back-end server. As X increases, you can reach a point where you have a serious problem. If X gets anywhere near ~60k, it's game over.
- kowsik 15y agothank you, thank you! whew Hopefully the new picture on the blog clarifies which ports I'm talking about.
- MostAwesomeDude 15y agoOh. Well, looks like I was stupid on the Internet again.