Event-driven I/O model 首先,聽到 Event-driven 是從 Node.js 得知, Node.js® is a platform built on Chrome’s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. 其實剛聽到這詞會有點陌生,我們可以先從 Victor 所寫的文章開始讀起: 淺談coroutine與gevent 裡面提到了幾種網路模型: > 1. 阻塞式單一行程 2. 阻塞式多行程 3. 阻塞式多行程多執行序 4. 非阻塞式事件驅動 5. 非阻塞式 coroutine 以下是各語言 event-driven 的 model

Continue reading

Author's picture

kerkerj

Cat lover <3

Backend Engineer

Taiwan