2w 多个 json,每个 json 是这样 'devicetype': 'pp', 'deviceno': 'xxxx.xxxx.xxxx', 'devicename': '0000.0000.0000', 'devicemac': '1111.1111.1111', 'sapno': '', 'lanip': '2.2.2.2', 'ip': 4875673894, 'factory': 'xxx', 'modelnum': '', 'agentver': '', 'systemver': '', 'heartbeattime': 1577264228886, 'isonline': 1, 'onlinelength': 1017, 'd_busistate': [{'busitype': 'onlineuser', 'totalcount': 0}]}
这些 json 是实时更新的,一遍遍的轮询。感觉 2w 多个不是很多,有必要入 redis 么。