php framework for apache dubbo
php-for-apache-dubbo is a RPC communication framework for PHP language. It is fully compatible with Dubbo protocol, and can be used as provider terminal and consumer terminal simultaneously. Using zookeeper for service registration discovery, and using fastjson for Serialization.
- php provider runs in multiple processes. The worker process is used to process specific business, the manager process controls the lifecycle of the worker process, and the master process processes the network IO.
- Agent monitors the change of provider address information in registry and synchronizes them to local redis for all php consumers on the machine to share.
- php consumer、redis and agent are deployed on all consumer machines and communicate with each other on unix socket.
- provider_admin is deployed on all provider machines to control the lifecycle of all php providers on that machine.
Quick start (Chinese) Installation guide (Chinese) Configuration guide (Chinese)