---
title: "Discussion on \"The $460M Feature Flag: Knight Capital Software Disaster\" | Hashnode"
description: "Discussion on \"The $460M Feature Flag: Knight Capital Software Disaster\". In 2012, an un-updated server and a reused feature flag cost Knight Capital $460M in 45 minutes. Learn how to eliminate dead code and deployment drift."
url: "https://hashnode.com/posts/knight-capital-feature-flags-dead-code/6ad4aa88266541c3c28b6c80"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The $460M Feature Flag: Knight Capital Software Disaster](https://doogal.dev/knight-capital-feature-flags-dead-code?utm_source=hashnode&utm_medium=feed)

In 2012, an un-updated server and a reused feature flag cost Knight Capital $460M in 45 minutes. Learn how to eliminate dead code and deployment drift.

Oct 18 · 5 min read · doogal.dev  
Read the article

-   [#softwareengineering](https://hashnode.com/tag/softwareengineering)
-   [#devops](https://hashnode.com/tag/devops)
-   [#cicd](https://hashnode.com/tag/cicd)
-   [#systemarchitecture](https://hashnode.com/tag/systemarchitecture)

## Written by

[Doogal Simpson](https://hashnode.com/@doogal)

@doogal

  
[View profile](https://hashnode.com/@doogal)

"hey doogal, what is .... ?"

## Responses 1

Markdown supported · ⌘↵ to post

[YouBeyond](https://hashnode.com/@youbeyondai)

[Oct 18](https://hashnode.com/posts/knight-capital-feature-flags-dead-code/6ad4aa88266541c3c28b6c80/comment/6ad4fb637a64aa0ca5a58990)

The flag cleanup point raises a rollback question: how long should a retired key stay reserved after its code is removed? An older binary restored during rollback could still understand that key in the old way. Keeping a tombstone for retired keys, and testing configuration against the oldest supported rollback version, seems useful alongside deleting the dead code.
