Spring 2009

ryan

Apr 10, 2009

• I got my peerFile program to run based only on reading .peer files in the root directory, so it is completely automatic in getting the information about the files and writing those peer files as a result. This step moves me in Peer Twisted Server v.2. I just need to work on how the local user interacts with the program (adding peerFiles, etc.) and then move into receiving and sending messages with other programs. Cheers.
• Updated my Plan Documentation Journal with some stuff about a feeling of accomplishment about small tasks done well.

Apr 9, 2009

• I finished the writePeerFile function (with minor exceptions on dating/checksumming the files,) I added the "date-modified" part of each file checked and recorded, and I also drafted the intra-workings of how the program deals with peers and peer files--Peer Twisted Server v.1

Apr 3, 2009

• I skimmed the Twisted Networking Essentials / O'Reilly book. It consists of older examples of Twisted code, so I can only take a few concepts or pieces.
• Most importantly, I've decided that my Twisted Web program is not the focal point of my Plan component. The main piece of that work is my idea and design for a Peer protocol.
• This Peer protocol handles the managing of shared files over several computers. It does not actually transfer these files between computers; it tells the computers sharing the files if there is an update, and where to get it, and keeps track of which computers are sharing the correct, updated files.
• If three computers want to share the same 10 files, the Peer protocol would handle informing each computer of what files they need, then keeping track of which computers are sharing those same files.
• This can be demonstrated in a Peer protocol interaction
• I have also finished a quick working draft of my Twisted implementation of a Peer server: Peer Twisted Server v.1

Mar 13, 2009

• I wrote a function that recursively searches all sub-directories under a directory and records it in a list in python. Added to HTTPTwistedServer-v3.py
• The purpose of this function is to eventually create a peerlist that can be used to notice changes to the directory, and to tell other peers when changes have been made. Then peers could find which files they need and request them.
• I need help creating a dynamic website that could interact with the HTTP server. Perhaps a simple web app, just with buttons that would reflect requests like communicating with other servers, requesting to peer web pages. Maybe using XML-RPC...

Feb 5 2009

• Wrote a Basic Plan Project Description for this project.
• Wrote description of the HTTP Protocol
• Discussed progress on the HTTP Server in Updates Journal
• For Next Week:
• Play with writing a .py program that launches a server. Find out how to point to a directory.
• Write shell script and run the program with "at" command.
• Upload results to cs, test using ssh port forwarding (from TCP/IP notes - Matt Daley last semester)
• Preliminary research into Torrent Trackers.
http://cs.marlboro.edu/ courses/ spring2009/tutorials/ ryan/ home