|
|
|
|
|
by mjb
5266 days ago
|
|
A couple of questions about this: - Why [time, node id, seq] and not [time, seq, node id]? That would improve ordering if you have approximately equal load on each box. - Isn't a 16 bit seq number overkill? Handing some of those bits to the unique ID would have made unique ID assignment easier. Duplicate MACs can and do exist (especially if you buy a lot of hardware from the same vendors). - The quality of the ordering is going to be restricted by the quality of time synchronization within the cluster. Relying on NTP for this is OK, but experience suggests that a secondary monitoring system will be needed. Similarly, relying on monotonic time needs some care in system administration - care that could potentially be avoided with a different unique host ID assignment scheme. |
|
Would you rely on sub-millisecond synchronization between nodes _and_ an almost exact load amount?
In other words for a particular millisecond seq order is only relevant on that particular node, so node should come first.