A system comprising: - a plurality of network device nodes (201-205); - a distributed queue cluster comprising first network device nodes (201-205), each of the first network device nodes (201-205) presenting a representational state transfer application programming interface, 2. RESTful API, wherein the first network device nodes (201-205) cooperate to: - receive information from end nodes (201-205) of a network ; and - store the information in memory of the first network device nodes (201- 205), - a distributed parallel processing cluster comprising second network device nodes (201-205) that cooperate to: - retrieve the information from the memory of the first network device nodes (201-205); and - perform one or more tasks on the information to produce processing results, and - a distributed database cluster comprising third network device nodes (201-205) that cooperate to store processing results in memory of the third network device nodes (201-205); wherein the distributed queue cluster , the distributed parallel processing cluster , and the distributed database cluster are part of a local network that is connectable to an external network, the local network comprising a wireless mesh network, and wherein each of the first, second, and third network device nodes (201-205) are configurable to be assigned functional roles as each of a network device node (201-205) of the distributed queue cluster , a network device node (201-205) of the distributed parallel processing cluster , and a network device node (201-205) of the distributed database cluster , and wherein, for the one or more tasks, a network device node (201-205) among the second network device nodes (201-205) is selected as a leader responsible for task execution, wherein the system further comprises at least one gateway configured to perform the role of the distributed queue cluster , the distributed parallel processing cluster , and the distributed database cluster at the same time such that the system continues to operate locally as long as at least one gateway continues to run, even if the local network is not connected to an external network or the connection to the external network fails. - a plurality of network device nodes (201-205); - a distributed queue cluster comprising first network device nodes (201-205), each of the first network device nodes (201-205) presenting a representational state transfer application programming interface, 2. RESTful API, wherein the first network device nodes (201-205) cooperate to: - receive information from end nodes (201-205) of a network ; and - store the information in memory of the first network device nodes (201- 205), - receive information from end nodes (201-205) of a network ; and - store the information in memory of the first network device nodes (201- 205), - a distributed parallel processing cluster comprising second network device nodes (201-205) that cooperate to: - retrieve the information from the memory of the first network device nodes (201-205); and - perform one or more tasks on the information to produce processing results, and - retrieve the information from the memory of the first network device nodes (201-205); and - perform one or more tasks on the information to produce processing results, and - a distributed database cluster comprising third network device nodes (201-205) that cooperate to store processing results in memory of the third network device nodes (201-205); <EOS>