Assertions are not the problem; your verification process is
penberg.org·4w
Preview
Report Post

There’s been a lot of discussion about error handling since the Cloudflare incident this week, which took down significant parts of the internet. The incident was a cascading failure: an upgrade to a database system changed the format of a "feature file", which caused a proxy engine using that file to crash because it did not expect the change. However, much of the focus was on the Option::unwrap() call in their proxy engine written in Rust, which many saw as the culprit.

For those not familiar with Rust, the Option type represents a value that is either set or not. The unwrap() method either returns the value or panics the program. In the Cloudflare case, the larger data format caused memory preallocation to fail in the p…

Similar Posts

Loading similar posts...