The purpose of this application is to provide a website server event processing technology, by running the main thread, after the main thread creates a coroutine based on the processing request of the event, then suspend the main thread and switch to the coroutine process; run the coroutine, create a communication channel by the coroutine, and hand over the main business logic of the event to the worker thread pool for processing, then suspend the coroutine and switch to the main thread; again Run the main thread, continue to process the event loop by the main thread, until the message that the worker thread pool sent by the communication channel is obtained, suspend the main thread and switch to the coroutine; run again In the coroutine, the secondary business logic of the event is processed by the coroutine, and after the processing is completed, the coroutine is terminated and switched back to the main thread. As a result, other requests that are being processed in parallel by the main thread are processed in a timely manner, reducing the average response time of the system.