Milestone 1 and SVN Hans-Arno Jacobsen e note of TA Schedule et al. (Tech Talks in Lab.) p://ece297.msrg.utoronto.ca/T2011s/TeachingAssistan Note the team registration deadline, Friday, January 15 th . If we don’t hear from you, we’ll assign you a team. I shall follow the submission instructions. Labs Tue & Wed 3-6 PM: GB243, GB251, SF2102 Tech talks 3-4 PM: GB404 (Tue) & GB405 (Wed)
46
Embed
Milestone 1 and SVN Hans-Arno Jacobsen Take note of TA Schedule et al. (Tech Talks in Lab.) Note.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Milestone 1 and SVNHans-Arno Jacobsen
Take note of TA Schedule et al. (Tech Talks in Lab.)http://ece297.msrg.utoronto.ca/T2011s/TeachingAssistants
Note the team registration deadline, Friday, January 15th.
If we don’t hear from you, we’ll assign you a team.
• Optional quiz to bank a few points that can be traded in for failing tests later on (redemption would happen automatically)
• Close to the code submission deadline for Milestone 1, we’ll quiz you in the lab on – the effective use of svn and – the proper understanding of the submit script
• Detailed modus operandi see our web site
ECE 297 44
Recommended Development Cycle
• Update sources from repository• Develop the feature, fix the bug, …• Add new test cases to test new functionality• Test system with existing and new test cases
– Fix any problems and regressions
• Test again until all tests pass• Commit sources including the new test cases to
the repository
ECE 297 45
Questions
ECE 297 46
The storage server vis-à-vis a fully fledged DBMS
• In addition to the functionality provided by our storage server, a database management system (DBMS) offers among others:– A declarative query language, an expressive data
definition language (e.g., SQL)– Transaction support– Recovery from failure– Security and access control– …
• Examples of DBMSs are IBM DB2, Microsoft SQL Server, Oracle …
46
Why then a storage server at all?
• DBMSs are developed to be most flexible and general
– Broadest possible applicability
• Flexibility and generality comes at a price
– $$$$, maintenance, administration, performance
• Many applications do not require bells & whistles of a DBMS
• Each DBMS contains a storage server
• Storage server as basic building block
• Management of configuration data …
ECE 297 47
ECE 297 48
errno
• Functions return values to indicate failure– typically -1, null pointer, or constants, e.g.,EOF
• But, what exactly is the error?– Need to consult error code stored in the
variable errno declared in errno.h
• You can’t use errno to determine failure
• If a call failed, then examine errno
ECE 297 50
Design considerations
• How should the data managed by the storage server be stored on disk?
• What is the communication protocol between the client library and storage server?
Design considerations
• How is the connection state between client and server represented? – Is the connection reused for multiple get and set
requests from the client? – What are the implications of your design when
multiple clients interact with the server at the same time?
• How do the server and client library handle failures? – For example, what happens if there's an error in the
configuration file? – What if the server is not running? – What if an invalid table name is given?