Python2 TCP/UDP Threaded Server - Code Rewrite

We currently run a python2 software that works as a threaded TCP/UDP game server. This server has two purposes: display the game servers list and unlock the game.

The current application works, but we experience issues from time to time regarding, for example, "many open files" and some ocasional crashes that result in necessity of a complete restart of the application. This application also communicates with a database from our website to check username, password and some other stuffs that are handled by the python.

Also, our current application is the result of years of many changes, knownledge added, tests, different programmers and that kind of stuffs, resulting in a "messed not-optimal code".

So, today we want to completelly rewrite our application to fix all problems we are facing. There are some mandatory points we would like to have included:

- Code rewrite must keep compatibility to version 2.7.14 or be updated to python3;

- Code must be commented on key points. Today we have some steps commented in the app code that we want to keep;

- Only core functions must be kept. All code for "user interaction" such as console commands should be removed;

- Easy DB config. Our current code has a lot of points to be configured in case of DB changes, and we would like to have something more 'simple';

- Optimized code. Currently our code has a lot of lines doing the same thing. So the code should be optimized to call functions, for example;

- Be functional. It's obvious, but the rewritten code must work in the same way for our purpose.

About the application, one of the critical things where we experience some problems is regarding the connected servers. Basically our application returns specific packets according to the user's packet. But for the game servers, our application keeps the connection opened sending alive packets from time to time. Also, the servers data are appended to a list (that will be displayed to the users). This list must be update as soon a new game server connects or if an alive packet is not detected.

Our problem today is how the 'broken connections' are detected. It works, but in a poor way. So, the person responsible for the project must know something about TCP/UDP connections to fix this thing.

Finally, we can provide any information necessary.

Skills: Python, Linux, Software Architecture, MySQL

See more: socketserver python 3, python threading tcpserver, async tcp server python, python tcp server multiple clients, python3 tcp server, pip install socketserver, python tcp server library, python socketserver, visual windows forms project tcp udp server, tcp udp listener code, simple tcp udp server client windows, vbnet tcp udp code, tcp client server code, udp multi threaded server, tcp udp source code, tcp udp client server, tcp udp hole server, client server code udp, project implementation tcp udp client server system, tcp server code

About the Employer:
( 0 reviews ) Macaé, Brazil

Project ID: #26538081

13 freelancers are bidding on average $939 for this job


Thank you for looking at our bid. Sorry for quoting way above max budget, please disregard this for now. Would request you to share any additional information that can help me to go through the server code - is it a More

$3360 USD in 60 days
(78 Reviews)
(10 Reviews)

Hi there, This is Ricky, an expert python developer. I have extensive experience in building applications in Python. Reading your description, I thought it would be not so easy to get this done. I am familiar to TCP/UD More

$500 USD in 10 days
(11 Reviews)

Hi, I have several years of experience in python, tcp/udp, socket programming,mysql, linux, etc. I understood what you want to do. I will re write your existing python code so will remove issues. I can start work soon More

$750 USD in 8 days
(6 Reviews)

I have 4 years experience developing in Python. I can port the server to use python 3 as well as clean up the code and put in comments

$500 USD in 7 days
(28 Reviews)
(1 Review)

Dear Sir or Madam, I'm a senior Python developer with 7+ years of experience in optimizing code performances, fixing bugs, and migrating python2 code to Python 3. I’m confident I can deliver high-quality results wit More

$550 USD in 7 days
(1 Review)

Well, here I see a lot of work, so I propose first to give me a closer look on your application so that I will be able to say "Yeah, I can complete this, no problem". Especially I will need to see that part about conne More

$250 USD in 14 days
(4 Reviews)

hi, I have many years of experience working with TCP client/server in python from my experience I can tell you that: 1: problems happen of course but in order to resolve that we must implement a solid exceptions manage More

$500 USD in 7 days
(2 Reviews)

Hi, I am a Python Programmer with 4 years of experience and I can do the whole job for $400 in 14 days (+/- few days). I did projects like: - updating code from python 2.x to python 3.x - optimizing big data code to s More

$400 USD in 14 days
(3 Reviews)

Hi Nice to meet you. I checked your job description, Python2 TCP/UDP Threaded Server - Code Rewrite, carefully and I can do your job perfectly. I have scraped many websites using python. I used to use BeautifulSoup o More

$300 USD in 1 day
(0 Reviews)

I have more than 20 years experience in various platforms including Windows, Linux, Mac, Android, iOS and I have also worked with MNCs developing corporate systems. I have worked with multiple languages like C, C++ C#, More

$3000 USD in 90 days
(0 Reviews)
(0 Reviews)