CMPSC 311, Introduction to Systems Programming

Reliable Systems



Some Engineering Education Philosophy
Some Engineering Design Philosophy
Fundamentals of Engineering Design decisions are based on
All these must be considered together.

When do we consider issues beyond the product and customer, such as ethics and public safety?



What does it mean for a system to be reliable?

Important metrics for components of a computer system, and for the whole system
Dependability, Reliability, Availability
Dependability, Reliability, Availability
Levels of Dependability



Example, from CS:APP, Sec. 11.3.3, Internet Connections, p. 899

"Internet clients and servers communicate by sending and receiving streams of bytes over connections.  A connection is point-to-point in the sense that it connects a pair of processes.  It is full-duplex in the sense that data can flow in both directions at the same time.  And it is reliable in the sense that – barring some catastrophic failure such as a cable cut by the proverbial careless backhoe operator – the stream of bytes sent by the source process is eventually received by the destination process in the same order it was sent."



Example - open for discussion

GM and Segway unveil new two-wheeled urban vehicle (Associated Press news report, 7 Apr. 2009)
NEW YORK – A solution to the world's urban transportation problems could lie in two wheels not four, according to executives for General Motors Corp. and Segway Inc.

The companies announced Tuesday that they are working together to develop a two-wheeled, two-seat electric vehicle designed to be a fast, safe, inexpensive and clean alternative to traditional cars and trucks for cities across the world.

The Personal Urban Mobility and Accessibility, or PUMA, project also would involve a vast communications network that would allow vehicles to interact with each other, regulate the flow of traffic and prevent crashes from happening.

The 300-pound prototype runs on a lithium-ion battery and uses Segway's characteristic two-wheel balancing technology, along with dual electric motors.  It's designed to reach speeds of up to 35 miles-per-hour and can run 35 miles on a single charge.

Ideally, the vehicles would also be part of a communications network that through the use of transponder and GPS technology would allow them to drive themselves.  The vehicles would automatically avoid obstacles such as pedestrians and other cars and therefore never crash, Burns said.  [Larry Burns was GM's vice president of research and development, and strategic planning; he retired in Oct. 2009 after 40 years with GM.] As a result, the PUMA vehicles would not need air bags or other traditional safety devices and include safety belts for "comfort purposes" only, he said.

Though the technology and its goals may seem like something out of science fiction, Burns said nothing new needs to be invented for it to become a reality.

"At this point, it's merely a business decision," he said.

Burns said that while putting that kind of communications infrastructure in place may still be a ways off for many American cities, the automaker is looking for a place, such as a college campus, where the vehicles could be put to use and grab a foothold in the market.



Software Engineering Code of Ethics and Professional Practice

Software Engineering Code of Ethics and Professional Practice (Short Version)


PREAMBLE

The short version of the code summarizes aspirations at a high level of the abstraction; the clauses that are included in the full version give examples and details of how these aspirations change the way we act as software engineering professionals.  Without the aspirations, the details can become legalistic and tedious; without the details, the aspirations can become high sounding but empty; together, the aspirations and the details form a cohesive code.

Software engineers shall commit themselves to making the analysis, specification, design, development, testing and maintenance of software a beneficial and respected profession.  In accordance with their commitment to the health, safety and welfare of the public, software engineers shall adhere to the following Eight Principles:

1. PUBLIC - Software engineers shall act consistently with the public interest.

2. CLIENT AND EMPLOYER - Software engineers shall act in a manner that is in the best interests of their client and employer consistent with the public interest.

3. PRODUCT - Software engineers shall ensure that their products and related modifications meet the highest professional standards possible.

4. JUDGMENT - Software engineers shall maintain integrity and independence in their professional judgment.

5. MANAGEMENT - Software engineering managers and leaders shall subscribe to and promote an ethical approach to the management of software development and maintenance.

6. PROFESSION - Software engineers shall advance the integrity and reputation of the profession consistent with the public interest.

7. COLLEAGUES - Software engineers shall be fair to and supportive of their colleagues.

8. SELF - Software engineers shall participate in lifelong learning regarding the practice of their profession and shall promote an ethical approach to the practice of the profession.



Last revised, 4 Jan. 2013