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ú wroteThe mechanics of non-blocking I/O in the Linux kernel, exploring the evolution from traditional blocking I/O to modern syscalls like select, poll, and 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