In this article will go through two types of server-client codes.
One is over synchronous (multi process package) and the other is asynchronous (asyncore package), they do almost the same thing, the asynchronous one is more robust, and data does not get lost.
Try it out on your machine, play with settings a bit and see the synchronous server limits and data loss.
Synchronous server using multiprocess package.
HOST = "0.0.0.0"
PORT = 9000
def handle(connection, address):
Most business intelligence projects comes to help management view summarized data from company’s sources (applications etc.) and make better decisions as managers and decision makers.
In this case data comes from several web/mobile medical applications, on different topics, languages, media types, countries, units, etc.
Special case warning: Data can’t be reached by the administrator as it holds sensitive private medical data, so it must be anonymized before published (a subject for a different post).