How does event-driven programming help a webserver that only does IO?
问题 I'm considering a few frameworks/programming methods for our new backend project. It regards a BackendForFrontend implementation, which aggregates downstream services. For simplicity, these are the steps it goes trough: Request comes into the webserver Webserver makes downstream request Downstream request returns result Webserver returns request How is event-driven programming better than "regular" thread-per-request handling? Some websites try to explain, and it often comes down to something