Message Traffic

We will use a variety of processes to model messages entering our system. These could be computed as part of the simulation but here we will just record some reference sequences in order to compare changes under similar loads.

A message is identified by three numbers, an arrival time in fractional minutes and zip codes for source and destination. Conventionally these are stored one per line formatted as a json array.

Our model represents an urban population of 14 million based on Goods World Atlas from the 1960s. We use this for as a representative distribution of participants.

[100.897, 423, 825] [102.785, 825, 242] [109.346, 825, 112] [110.391, 121, 116] [120.286, 156, 142] [126.272, 334, 222] [131.870, 156, 341] [135.175, 711, 825] [136.009, 414, 121] [151.173, 855, 424] [158.429, 855, 117] [172.401, 155, 855] [184.225, 124, 426] [184.538, 231, 432] [196.935, 524, 424] [205.312, 318, 511] [207.292, 141, 121] [212.712, 832, 855] [216.570, 156, 242] [223.350, 142, 121] [236.388, 511, 221] [237.183, 321, 111] [238.103, 153, 121] [238.860, 524, 851] [251.345, 855, 222]

Traffic arrival logs identified by distribution, arrival interval and total duration.

pages/message-traffic

We expect arrival time to be unique to the given precision and check that this is so. This time makes a suitable identification for a particular message.

curl ... | jq '.[0]' | sort | uniq -c | sort -n

We expand some of these with intermediate steps from static routes but with no other timing than arrival as above.

[7.353,137,153,156,311,321,323,341,343,344,345,342] [22.578,912,921,713,712,721,546,533,532] [23.184,511] [27.592,156,311] [29.94,821,823] [36.416,121,124,142] [36.779,911,912,921,713,712,721,546,545,541,522,524] [43.306,131,134,136,137,153,156,311,321,322,333,332] [60.16,411,413,412,524,521,344,343,334,332] [60.234,121,124] [79.237,311,156,153,137,136,134,131,119,117,112] [83.206,311,315,318,513,512,511] [110.09,142,126,124,121] [131.371,121] ,514,511,324,323,321,156,154,151,126,124,121] [143.779,621,611,444,433,432] [150.647,155,156,321,323,324,511,514,515,543,532] [164.671,124,126,151,154,156,311,321,323,341,343,344] [173.499,142,143,141,212,213,231,236,237,261] [179.823,136,135,132,125,126]

pages/message-traffic/hops