Home > Backend Development > PHP Tutorial > PHP的并发模型是什么?

PHP的并发模型是什么?

WBOY
Release: 2016-06-06 20:13:30
Original
1520 people have browsed it

《七周七并发模型》提到
java , golang , 等语言并发模型。

PHP的并发模型是什么?

回复内容:

《七周七并发模型》提到
java , golang , 等语言并发模型。

PHP的并发模型是什么?

并发模型 一般指的是类似多线程、多进程或IO复用这些,效率比较高的是I/O复用了,底层都是调的epoll那个接口,像golang是自己做了一个轻量级的协程调度。
PHP支持epoll的I/O复用,网上也有相应的封装,可以看下。一般认为这个太底层了不好用,所以PHP也有这个的封装libevent,见http://php.net/manual/en/book.libevent.p...

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template