Marc Brooker’s Post

View profile for Marc Brooker, graphic

VP/Distinguished Engineer at Amazon Web Services

Here's a practical example of how Formal Methods can make code faster: AWS's new proven-correct authorization engine is 65% faster (even at p99.9) than the previous version. https://lnkd.in/gVCdurKh Sean says in the talk "we wouldn't have attempted a lot of optimizations we did without this backing of proof". Formal methods allow us to optimize systems more boldly, by removing the risk that optimizations will affect correctness. They also allow our teams to move faster, with lower risk, by building confidence in correctness early on in the software development process.

AWS re:Inforce 2024 - Proving the correctness of AWS authorization (IAM401)

https://www.youtube.com/

(somewhat) formal methods helped make MySQL faster, the tools made it easier to contribute a patch that improved performance Long ago when we (at Google) rewrote the InnoDB rw-lock to make it scale on NUMA we shared a SPIN model with the InnoDB team while contributing the code to help them understand the algorithm and reduce concern about bugs. I have used SPIN twice when I was hacking on MySQL. I wish I were able to use it more often. The book is great: https://www.amazon.com/SPIN-Model-Checker-Primer-Reference/dp/0321228626

Matt Fleming

Founder, Performance Engineer

5mo

Which formal methods were used for AWS authorization?

Like
Reply
Karol Piątek

Software Architect at Sidero Ltd

5mo
Like
Reply
See more comments

To view or add a comment, sign in

Explore topics