10 ms·
In web-based client-server systems one major factor for performance is the number of client-server round trips required to do a task. There is the extreme case
by PaulHoule 4y ago
In web-based client-server systems one major factor for performance is the number of client-server round trips required to do a task.
There is the extreme case of the app that does 3000 requests to boot up that boots up in 40 seconds over a LAN and takes 40 minutes over the WAN. From one viewpoint the code that does all the round trips might be straightforward and the process of packing up your data so the app can get it all done in one request involves more hard thinking. Something that might be just "1 more request" for the first system may involve more rethinking of the one big request in the second system.
On the other hand, the second system is automatically much less error prone and you never need to think about it doing http requests when it is in a partially initialized state.