2 ms·
> Async processing is not a virtue, it's a necessity for high load/high throughput systems. > 1. Anything that is connected to user interface should be synchro
by toast0 4y ago
> Async processing is not a virtue, it's a necessity for high load/high throughput systems.
> 1. Anything that is connected to user interface should be synchronous by default.
If everything UI is synchronous, you prevent users from acheiving high throughput. Sometimes that's fine, but sometimes it's not.
It's simple to wait for a response to a request sent via asynchronous messaging. It's not simple to split a synchronous API into send and receive parts. However, REST is HTTP and there's lots of async HTTP libraries out there.