News for hackers. Stuff that matters.
Re:Show HN: I made Google Trends for Hacker News by indexing... by simonpure on Thursday June 25, 2026 @11:09AM (#48674588)
Hug of death

` /api/hn -> 504 An error occurred with your deployment FUNCTION_INVOCATION_TIMEOUT cle1::c8vgv-1782399959042-aeba3cae05ff `

Re:Show HN: I made Google Trends for Hacker News by indexing... by docheinestages on Thursday June 25, 2026 @11:22AM (#48674778)
If this project is an ad for their product (Upstash, promising "Highly Available, Infinitely Scalable"), then the last thing they'd want is a hug of death :/
Re:Show HN: I made Google Trends for Hacker News by indexing... by ryan_n on Thursday June 25, 2026 @11:25AM (#48674833)
Oof that would be hilarious/tragic
Re:Show HN: I made Google Trends for Hacker News by indexing... by steve1977 on Thursday June 25, 2026 @11:35AM (#48675007)
Downstash
Re:Show HN: I made Google Trends for Hacker News by indexing... by y1n0 on Thursday June 25, 2026 @11:51AM (#48675244)
Must stash
Re:Show HN: I made Google Trends for Hacker News by indexing... by superxpro12 on Thursday June 25, 2026 @11:35AM (#48674996)
/api/hn -> 502 {"error":"Your database has been temporarily rate-limited, please contact [email protected] for further details."}
Re:Show HN: I made Google Trends for Hacker News by indexing... by esafak on Thursday June 25, 2026 @11:41AM (#48675109)
A cache would help.
Re:Show HN: I made Google Trends for Hacker News by indexing... by Roonerelli on Thursday June 25, 2026 @11:34AM (#48674985)
I get

/api/hn -> 502 {"error":"Search entry should have an initialized schema, command was: [\"SEARCH.AGGREGATE\",\"hn\",\"{\\\"$or\\\":[{\\\"title\\\":{\\\"$eq\\\":\\\"anthropic\\\",\\\"$boost\\\":5}},{\\\"text\\\":{\\\"$eq\\\":\\\"anthropic\\\"}}]}\",\"{\\\"by_month\\\":{\\\"$dateHistogram\\\":{\\\"field\\\":\\\"time\\\",\\\"fixedInterval\\\":\\\"30d\\\"}},\\\"top_authors\\\":{\\\"$terms\\\":{\\\"field\\\":\\\"by\\\",\\\"size\\\":6}},\\\"by_type\\\":{\\\"$terms\\\":{\\\"field\\\":\\\"type\\\",\\\"size\\\":4}}}\"]"}

Re:Show HN: I made Google Trends for Hacker News by indexing... by jjordan on Thursday June 25, 2026 @11:19AM (#48674728)
back in my day we called this a good ole' fashioned slashdotting.
Re:Show HN: I made Google Trends for Hacker News by indexing... by lysace on Thursday June 25, 2026 @11:31AM (#48674940)
Our little startup got slashdotted in 1998 or so. I was the only one randomly awake at the time. Remember watching all the logs from our poor little server in realtime, ready to immediately kill anything or anyone threatening the overall availability.

512 kbps uplink, I think. Even accidental DoS was trivial. We had a self-hosted little data center at our office with the only available stupidly expensive commercial connection.

Felt some dread having to restart the main (async, single-process) web server a few times to keep things going due to bugs in our code. So many people on dial-up patiently waiting for the page to load.

It was exhilarating though :).

Re:Show HN: I made Google Trends for Hacker News by indexing... by mysterydip on Thursday June 25, 2026 @12:17PM (#48675617)
One of the things I love about HN is having stories like this in the comments from otherwise random unassuming usernames
Re:Show HN: I made Google Trends for Hacker News by indexing... by Onavo on Thursday June 25, 2026 @11:36AM (#48675032)
Its funny that these days the bottleneck is usually the data layer. Servers are so powerful now that even your average $5 server can handle HN levels of load if configured correctly.
Re:Show HN: I made Google Trends for Hacker News by indexing... by ytkimirti on Thursday June 25, 2026 @11:23AM (#48674796)
We will be with you shortly :)
Re:Show HN: I made Google Trends for Hacker News by indexing... by aNapierkowski on Thursday June 25, 2026 @11:10AM (#48674601)
yeah we killed it :(
Re:Show HN: I made Google Trends for Hacker News by indexing... by arikrahman on Thursday June 25, 2026 @02:39PM (#48677538)
I'm also getting /api/hn -> 504 An error occurred with your deployment FUNCTION_INVOCATION_TIMEOUT cle1::48fnt-1782412720840-4855b2b75b5a after a few lookups