

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Project # For this project, you will design an experiment (or multiple experiments) to empirically test the equivalence of the protocol proposed by “Granularity of Locks …” and the vanilla 2PL (X, S) protocol. Gray, et al., prove the equivalence mathematically; this project will demonstrate empirically that equivalence. The default paradigm for your experiments is simulation of transaction processing. I will expect to see the scheduling implemented as described starting page 254. For alternative paradigms, check with me first. The onus of convincing your reader that you have empirically demonstrated the equivalence is on you. There are several things you must consider before designing experiments: How can you characterize the transactions so that you have representative sets of transactions?
(2) Gain experience in the abstractions and simplifications needed for modeling for an experiment. (3) Practice coding. (4) Gain experience in producing a technical paper on an empirical study. Recommendation: (1) Think hard before you start designing the experiments. (2) Think very hard before you begin coding. The difficult part of this project is the design – if the design is good (or even just reasonable), the coding will be easy. (3) I think this is a good opportunity for some RAD (rapid application development) – code a prototype of an experiment and see what the numbers tell you. Personally, I would plan on modifying my design after running the first experiment. (4) I’m expecting much use of the random number generator! Turn in: (1) Well documented, well designed code, uploaded to your website. (50%) Please note: any GUI needs to be separated (as much as possible) from the back-end. (2) Technical paper of no more than 7 pages, including graphs and tables and at least one reference (Gray, et al .), on paper. (50%) Note, the URL for the code needs to be in your paper. You will be demoing your experiments, including possible code walk-through and (in real-time) modifications. Hardware/software I don’t care, except that you must be able to demo and modify in my presence. I expect the code to be somewhere between 400 and 1000 lines (probably toward the smaller end), not including GUI. Due Date: 29 November 2005 (extra time given for your personal time management; I expect this project is worth four weeks of your time if this were a normal class). Post Script: You may collaborate during the design process (this is the hardest part). You MUST include the names of your design collaborators in the acknowledgement section of your paper. You may not collaborate with ANYONE at all during the coding phase, except for debugging very restricted sections of code. The best works are candidates for me to sponsor for submission to this year’s Graduate Research Fair – looks good on a resume.