Implementing a non-blocking I/O server
Blu shared his experience when developing a non-blocking server from scratch - which using in our OSS KeyValue Database Keva.
Viet Nguyen (Blu) @ Keva wroteBlu shared his experience when developing a non-blocking server from scratch - which using in our OSS KeyValue Database Keva.
Viet Nguyen (Blu) @ Keva wroteThis article walks you through a experiment that uses a Jiny Blocking IO application with Virtual Threads.
Tú wroteCơ chế hoạt động của non-blocking I/O trong Linux kernel, tìm hiểu về sự tiến hóa từ blocking I/O truyền thống đến các syscall hiện đại như select, poll và epoll/kqueue.
Tú wroteYou should make sure you never block the Event Loop. Alternatively, you may also go with a worker thread pool for blocking operations, keeping the main event loop non-blocking that way.
Tú wroteNode.js, về cơ bản, là một môi trường đơn luồng để thực thi các mã code JavaScript ở phía server. Code JavaScript mà bạn chạy trên Node.js được thực thi trên một luồng duy nhất. Làm sao để Node.js xử lí song song?
Tú wrote