Skip to content

PHP performance #782

Open
Open
@xxyyboy

Description

@xxyyboy

Poor performance in a complex PHP file.
PHP-fpm: 80qps
Nginx +unit or Unit:60

A simple PHP file, unit is more quickly than php-fpm, but a complex PHP file is more worse than php-fpm.
A complex PHP: include socket, write file many requried php file,json transfer, db,redis,report ...

Maybe we need to replace more native I/O functions of PHP, using coroutine.

here is a project php-coroutine-engine, but this project is not longer updated.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions