If a server needs to read a huge CSV before serving requests, it may as well do so synchronously (and quickly).
This is exactly right!
Dan Vanderkam
11

This time you’re conflating single request performance and general server performance. Sure, if you do the sync version, the request will go faster (maybe by a order of magnitude or two even). But, all other requests will have to wait until the entire thing is parsed.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.