How does event-driven programming help a webserver that only does IO?

后端 未结 2 904
闹比i
闹比i 2021-01-14 20:17

I\'m considering a few frameworks/programming methods for our new backend project. It regards a BackendForFrontend implementation, which aggregates downstream services. For

2条回答
  •  感动是毒
    2021-01-14 20:56

    The whole idea of non-blocking paradigm is achieved by this idea called "Event Loop"

    Interesting references:

    1. http://www.masterraghu.com/subjects/np/introduction/unix_network_programming_v1.3/ch06lev1sec2.html
    2. Understanding the Event Loop
    3. https://www.youtube.com/watch?v=8aGhZQkoFbQ

提交回复
热议问题