Hello! I have a socket server in Python. It keeps in memory an array of users connected to it at a given time with their data (age allowed). Where in such a system to make an infinite loop looking for the same people by age? Any parallel flow can do?
In such cases, it turns out the launch of this server on python is the opening of a port for receiving web sockets, the start of an infinite loop in a parallel stream. Will this infinite loop in parallel flow work with the current array of connected users to the socket? Advise how to make such a search more correctly among connected people?