A
A
Anton V.2020-05-23 19:26:46
Nginx
Anton V., 2020-05-23 19:26:46

Which server to use for a multi-user websocket site?

Good afternoon!

The understanding of the issue has been updated ....

For a multi-user SPA project in which there will be real-time, web sockets, data exchange between users. With which server will the data transfer process work faster? Node.js or Nginx-php7.x-fpm

Thanks for the comments!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Sokolov, 2020-05-23
@sergiks

Swoole is an asynchronous C engine with a PHP API. Non-blocking clients MySQL, Redis; shared memory, process manager.
I first encountered it recently, and I am very impressed with its capabilities. I recommend every one.
To criticize: the documentation is minimal, on the Internet part of the discussion is in Chinese.
Nevertheless, the engine is functional, efficient and powerful, it is mentioned in the office. PHP dock and several posts on Habré.

K
ky0, 2020-05-23
@ky0

With which server will the data transfer process work faster?

Giblets will still slow down - so the choice of a normally configured web server is purely nominal.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question