Hacker News new | ask | show | jobs
by escaped_hn 4025 days ago
Every stream manager is connected to every other stream manager. k managers = k^2 connections.
1 comments

Yea I must be missing something here.

If you have k=2 stream managers you have 1 connection, not 4 . Even if the connections weren't bidirectional you'd have 2 connections.

Parent is talking big-O and so is ignoring that it isn't exactly k^2. Depending on how you count (do 2 nodes require 2 connections or 1 bi-directional connection) it's k(k-1).
it's (k-1)^2 actually - each to each except self.