4 ms·
It's real. Single core performance improves all the time. People overestimate how much power it takes to handle lots of queries per second on a well-tuned syste
by neocritter 3y ago
It's real. Single core performance improves all the time. People overestimate how much power it takes to handle lots of queries per second on a well-tuned system and well-written software in 2024.
https://hn.algolia.com/?dateRange=all&page=0&prefix=true&query=single-core%20by%3Adang&sort=byDate&type=comment https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
- deleted 3y ago[deleted]
- __s 3y agoNote that's the application server process being single threaded, but the server machine is 4 core, so nginx cache etc use other cores
- neocritter 3y agoA worthwhile distinction! I looked up the CPU mentioned in the link from your other comment. It looks like HN handles enormous traffic on about 2x the power of the last Celeron chip ever made. https://www.cpubenchmark.net/compare/2383vs5793/Intel-Xeon-E5-2637-v3-vs-Intel-Celeron-7305E https://www.cpubenchmark.net/compare/2383vs5793/Intel-Xeon-E...
- rightbyte 3y agoDoesn't he mean single socket by single core?
- ndiddy 3y agoI see the "sorry, we are receiving too many requests, try again in a few minutes" error several times a day on here. I don't think that HN is reliably able to handle the amount of users it currently has.
- 6510 3y agoIt's a feature
- busymom0 3y agoI believe that's by design if you send an action request very quickly after a previous one. It's very easy to replicate. Open a post. Then click the upvote button and very quickly click the favorite button too. That will trigger it. I think it's used to rate limit.
- yreg 3y ago>"Sorry, we're not able to serve your requests this quickly" is our little server process saying "help, I only have a single core and I'm out of breath here". If your account were rate limited it would say something like "You're posting too fast, please slow down." dang, linked in one of the ancestor comments. But I still suspect you are correct.
- busymom0 3y agoI just tested it by quickly upvoting your comment and then favoriting it and the error was: > Sorry, we're not able to serve your requests this quickly. reload Note that this only seems to happen for actions. Doesn't seem to be the case if I am just loading a page quickly.
- newswasboring 3y agoI have been using HN daily since I was a teenager. I've seen that message maybe 10 times outside of serious issues in last 15 years. It's strange to me that it happens so frequently for you.
- yreg 3y agoThat's difficult to believe to be honest. I get it several times a week.
- tomrod 3y agoI get something like that when I try to comment and then upvote too quickly.
- disqard 3y agoI can confirm -- I've only seen this as a form of throttling (i.e. preventing users from sending too frequent HTTP requests).
- joecool1029 3y agoThere's a manual rate limit that can be assigned to your account if you post frequently on controversial topics. Afaik once it's there it stays until removed by a moderator.
- tomrod 3y agoI think that's a little different from what I described, but may be what the grandparent comment described.
- kaashif 3y agoI've been using hacker news for years and I think I've seen it <10 times too. Maybe our usage patterns differ and I only use HN off peak.
- jermaustin1 3y ago
- AnimalMuppet 3y agoHmm. I get a different message. Something like "We are having trouble handling your request. Sorry!" I saw it just a few minutes ago, but I don't remember the exact wording...
- ndiddy 3y agoYeah that's the one I meant, I don't remember the exact wording either.
- callalex 3y agoThat is a generic rate limiter that is independent of system load. As far as I can tell if you make more than one request per every 5 seconds, you will always be served the rate limit page.
- marcosdumay 3y agoThe message for this is something like "we can't serve your requests that fast". The GP is quoting the site overloaded message.
- HumblyTossed 3y ago> People overestimate how much power it takes to handle lots of queries per second on a well-tuned system and well-written software in 2024. I wasn't overestimating anything, but with how easy it is to write concurrently software today, why limit your site to a single core.
- neocritter 3y agoMaybe it's a lisp thing. Who knows what mysteries lurk here
- Zak 3y agoIt's not a lisp thing. Many lisps are capable of multithreading, including implementations of Common Lisp that have had it far longer than HN has been around, and Clojure, which is extremely good at it. It even looks like Arc, the lisp HN is written in has threads now, but Arc is built on top of Racket and uses Racket's green threads, so it only takes advantage of one CPU core. Racket does have OS threads, but Arc does not use them.
- hoosieree 3y ago> well-tuned ... well-written These are good for actual business needs, but bad for resume-driven development.