Re:The Case of the 50ms request
by barrkel on Thursday May 06, 2021 @04:59AM
(#27060696)
That's the first thing I wanted to do after seeing the JS; since it was a simple request / response, check to see if it's a problem with the client vs the server by replacing the client with a known good piece of code. This effectively bisects the search space without first diving into low-level details.
[ Parent
| on HN ]
Re:The Case of the 50ms request
by joshspankit on Thursday May 06, 2021 @07:28AM
(#27061648)
Exactly. If anyone has ever seen The Price Is Right, this is the optimal strategy for the “higher / lower” game: cut the options in half each time.
Re:The Case of the 50ms request
by nevada_scout on Thursday May 06, 2021 @07:35AM
(#27061716)
Also known as: Binary Search
Re:The Case of the 50ms request
by joshspankit on Friday May 07, 2021 @07:45AM
(#27074828)
True, but not as catchy