TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

NamePros: Obscure Nginx FastCGI bug uncovered in the aftermath of Duck.com move

3 pointsby nimbosaover 6 years ago

2 comments

nimbosaover 6 years ago
Duck.com domain name transfer hammered NamePros servers so hard that it singlehandedly uncovered a fairly obscure bug in Nginx&#x27;s FastCGI caching. It&#x27;s gone unnoticed for years, including during rigorous load testing.<p>Preliminary evidence suggests that fastcgi_cache_key doesn&#x27;t handle $cookie_* variables correctly. If the cookie doesn&#x27;t exist, it seems to result in a unique key every time. (The workaround was to assign the $cookie_* variable to another variable and then use that in fastcgi_cache_key.)<p>If anyone is curious what sort of increase in traffic you should expect from a link to your site appearing on HN, NamePros is getting about 230 additional backend requests per second--that doesn&#x27;t include anything cached by Cloudflare.<p>Live Monitor: <a href="https:&#x2F;&#x2F;www.nameprosstatus.com" rel="nofollow">https:&#x2F;&#x2F;www.nameprosstatus.com</a><p>source: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18665292" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18665292</a>
zenexerover 6 years ago
I appreciate the interest, but this is definitely premature. I still haven&#x27;t been able to reproduce it in controlled tests. As I said in the thread to which you linked, I&#x27;ll follow up once I&#x27;ve fully investigated.