Question: Where is a good starting point for learning to write server applications?
Info:
I’m looking in to writing a distributed computing system to harvest the idle cycles of the couple hundred computers sitting idle around my college’s campus. There are systems that come close, but don’t quite meet all the requirements I need. (most notable all transactions have to be made through SSH because the network blocks everything else) So I’ve decided to write my own application. partly to get exactly what I want, but also for experience.
Important features:
- Written in python
- All transaction made through ssh(this is solved through the simple use of pexpect)
- Server needs to be able to take potentially hundreds of hits. I’ll optimize later, the point being simulation sessions.
I feel like those aren’t to ridiculous of things to try and accomplish. But with the last one I’m not certain where to even start. I’ve actually already accomplished the first 2 and written a program that will log into my server, and then print ls -l to a file locally. so that isn’t hard. but how do i attach several clients asking the server for simulation data to crunch all at the same time? obviously it feels like threading comes in to play here, but more than that I’m sure.
This is where my problem is. Where does one even start researching how to write server applications? Am I even using the right wording? What information is there freely available on the internet and/or what books are there on such? again, specifically python, but a step in the right direction is one more than where i am now.
p.s. this seeemed more fitting for stackoverflow than serverfault. Correct me if I am wrong.
Check out the following discussion on SO
Also check out the fantastic introductions at