「熟肉」非常慢代码来自 Cloudflare, 使整个公司瘫痪

4.3万
133
2024-02-22 17:55:33
1368
152
1232
211
https://www.youtube.com/watch?v=DDe-S3uef2w Cloudflare is back at it again with more regex and state machines. Previously on Cloudflare:     • How One Line of Code Almost Blew Up t...   Sources: https://blog.cloudflare.com/details-o... https://blog.cloudflare.com/introduci... https://swtch.com/~rsc/regexp/regexp1... https://www.regular-expressions.info/... https://cyberzhg.github.io/toolbox/nf... https://www.businessinsider.com/cloud... Chapters: 0:00 Part 1: Intro 0:51 Part 2: Regex 2:29 Part 3: Deployment Process 4:20 Part 4: Disaster Strikes 6:25 Part 5: Root Cause 12:22 Part 6: Aftermath Corrections: - Missed opening bracket [ in the domain name part of the expression 6:36 - This particular regex is worst case quadratic, not exponential 8:30. The example right after w/ 1 million steps is exponential. - The DFAs at 10:40 and 11:50 should have the starting states marked as end states as well to properly match empty strings Music: - Nocturnal by LEMMiNO (    • LEMMiNO - Nocturnal (BGM)  ) - Smooth by Silent Partner - Encounters by LEMMiNO (    • LEMMiNO - Encounters (BGM)  ) - Cipher by LEMMiNO (    • LEMMiNO - Cipher (BGM)  ) - Fine Dining by TrackTribe
Kevin Fang
(3/4)
自动连播
8.0万播放
简介
[熟肉自制] 谷歌一键删除 1350 亿美金养老金,引发全球考拉恐慌
09:17
Allegro 的荣耀手机特卖摧毁了它们的服务
08:05
「熟肉」非常慢代码来自 Cloudflare, 使整个公司瘫痪
13:25
「熟肉」一个 Steam bug 是如何删除倒霉蛋儿整台电脑的?
11:50
客服
顶部
赛事库 课堂 2021拜年纪