Software failure The knight's story
-
Upload
muhammad-saim -
Category
Software
-
view
116 -
download
0
Transcript of Software failure The knight's story
![Page 1: Software failure The knight's story](https://reader035.fdocuments.net/reader035/viewer/2022062523/58ed06a11a28ab9c138b46a1/html5/thumbnails/1.jpg)
MUHAMMAD SAIMBSCS/S13/0104PROFESSIONAL PRACTICES
Software failure
![Page 2: Software failure The knight's story](https://reader035.fdocuments.net/reader035/viewer/2022062523/58ed06a11a28ab9c138b46a1/html5/thumbnails/2.jpg)
Failure
Definition:
Failure is the state or condition of not meeting a desirable or intended objective, and may be viewed as the opposite of success.
In software jargon:
Faults or bugs in a software component cause errors. An error is defined as that part of the system which is liable to lead to subsequent failure, and an error affecting the service is an indication that a failure occurs or has occurred.
![Page 3: Software failure The knight's story](https://reader035.fdocuments.net/reader035/viewer/2022062523/58ed06a11a28ab9c138b46a1/html5/thumbnails/3.jpg)
The Truth
Hundreds of thousands of software projects fail everyday
Software companies, not eager to share disaster stories
Reducing the number of software failures is one of the most challenging problems of software production.
![Page 4: Software failure The knight's story](https://reader035.fdocuments.net/reader035/viewer/2022062523/58ed06a11a28ab9c138b46a1/html5/thumbnails/4.jpg)
THE KNIGHT FALL
![Page 5: Software failure The knight's story](https://reader035.fdocuments.net/reader035/viewer/2022062523/58ed06a11a28ab9c138b46a1/html5/thumbnails/5.jpg)
HOW BAD CAN AN ALGORITHM BE???• A look at the worst software testing day ever
• Knight Capital’s worst day in IT started Wednesday morning with a test run of its new trading software.
• the company set up the software to work with only a few stocks
![Page 6: Software failure The knight's story](https://reader035.fdocuments.net/reader035/viewer/2022062523/58ed06a11a28ab9c138b46a1/html5/thumbnails/6.jpg)
The MATHS
• On every stock exchange, there is a "bid" and an "ask" price.
• bid is buy• ask is sell
• Knight Capital’s software went out and bought at the "market"
![Page 7: Software failure The knight's story](https://reader035.fdocuments.net/reader035/viewer/2022062523/58ed06a11a28ab9c138b46a1/html5/thumbnails/7.jpg)
Example
• electric utility Exelon, had a bid/ask spread of 15 cents
• Knight Capital was trading blocks of Exelon common stock at a rate as high as 40 trades per second
• each trade costs 15 cents
![Page 8: Software failure The knight's story](https://reader035.fdocuments.net/reader035/viewer/2022062523/58ed06a11a28ab9c138b46a1/html5/thumbnails/8.jpg)
Example
40 Times a second
2,400 times a minute
You now have a system that’s very efficient at burning money
![Page 9: Software failure The knight's story](https://reader035.fdocuments.net/reader035/viewer/2022062523/58ed06a11a28ab9c138b46a1/html5/thumbnails/9.jpg)
HOW BAD CAN AN ALGORITHM BE???• As the program continued its ill-fated test run
• Knight’s fast buys and sells moved prices up and attracted more action from other trading programs.
• ONLY 45 mins
• LOSS of $440m
$440,000,000
9777777.78 $/min
![Page 10: Software failure The knight's story](https://reader035.fdocuments.net/reader035/viewer/2022062523/58ed06a11a28ab9c138b46a1/html5/thumbnails/10.jpg)
Blame Game
The culprit was a combination of:
ISV software bugs
bad documentation
human error from Knight Capital
![Page 11: Software failure The knight's story](https://reader035.fdocuments.net/reader035/viewer/2022062523/58ed06a11a28ab9c138b46a1/html5/thumbnails/11.jpg)