I'd argue that even a well written system that allows arbitrary date ranges and filtering of data can easily run past that limit. You just can always know ahead of time what some client might request and some strategies for making normal queries fast can make some queries slower. Its tradeoffs all the way down.
Complex queries should be optimized. The only time I have run into query issues is when: I was lazy, and didn’t want to optimize the query/schema/data layout and structures; the system was built by someone of questionable sanity and skillset; or the generated data is legitimately compute intensive, requiring lots of math i.e. more ops and cycles, but at that point it’s a report and the user can wait for it to gen (but in this case it is a lot of math that hasn’t taken advantage of parrallization).
In the wild, I’ve mostly seen people having zero clue what they’re doing (this includes management, who are as culpable for not caring about perf).
I’m not saying it should always or even most of the time be the case (quite the opposite - I’m with you and parent on that) but to say that there is no situation like that strikes me as pretty odd.
In ChatGPT's case, I'm assuming they're throttling responses to not hemorrhage money.
Sure there is--ad networks.
Remember when 100ms was considered fatal? Funny how that went right out the window when the big companies decided that shoveling more ads at users was more profitable than anything else.
The current state of web development is all to paper over the idiocies brought along by serving ads.
Those of us who do web development and don't have to serve ads can pretty much use anything and hit metrics under 100ms and can scale for a very, very long time.
Even a backend roughly cobbled together in PHP4 with Varnish running on top of it would considerably outperform some of the stuff that is accepted as 'good enough' today.
Like it's a trivial task. If it is... the whole system wasn't that complicated and likely similar results could be achieved without external caching.
2. Salesforce, JIRA, Microsoft Teams, Reddit, even Gmail recently takes up to a minute to get content and be responsive, just to name a few.
Sure, I can allow users to run reports that take multiple seconds, but I'm generally not delivering that to the browser to be rendered.
And if I was, I'd crash the browser tab. Which is surprisingly easy to do...
> A middling back end system with median complexity is doing 10-100K requests per second per server and is near-perfectly horizontally scalable.
You know perfectly your SLAs without knowing anything about the business, data, or the user access pattern? You don't even need a budget? Impressive!
What? Is this a typo or do you think that’s true?
Where did you get that calculation? Looks way way off
I can measure the difference between US, Singapore and Sydney based DCs, but it's milliseconds.
10 seconds is abnormal and would indicate to me that something isn't functioning as expected!