windows - method of sending data from multiple computers too a central location in real-time using python -


I see a central computer in a reliable way of sending data from many computers, which will obtain all the data, process And analyze it all computers will be on the same network.

I will send text from machines so that the ideal is a file that I need to send, maybe even a XML file, so that I can easily parse it in the database. .

The main issue I have is that I need to do this in real time. For example, if an incident occurs on PC1, then I should be able to send that incident, as well as return any related information to the central PC so that it can be used and seen almost immediately.

The plan python program which probably acts as a type of client that detects the incident and sends it to the server program on central PC.

Is there a reliable way to send data from multiple computers to one computer to a central computer / server on all one network and preferably without going out on the web?

There are several possible solutions, but my recommendation is to solve it with a database I like MySQL Because it's free and setup is easy. It is immediate and you can avoid the problem of file locking problems together, because the MySQL's InDeb feature automatically handles the line lock. Instead of trying to write your own solution using files or other communication systems, it is really easy to set up the database (unless you already have experience with other technologies). Multiple computers are also not a problem And security is also built-in.

Just setup your MySQL server and write client applications to update the data on your computer with more than one computer. You can then write your server application to process input and that program may be located on your MySQL server or another computer.

Python is an excellent programming language and provides complete support through the easily available modules for MySQL. This solution is also scalable, because you can start with basic command line programs ... then you can create a desktop user interface with pyqt and later you can add web interfaces if you wish.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -